diff --git a/README.md b/README.md index f74773abf1e..e4a1bb2a508 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ You can install the PHP SDK with Composer by editing your `composer.json` file: { "minimum-stability": "RC", "require": { - "microsoft/microsoft-graph": "^2.0.0-RC27", + "microsoft/microsoft-graph": "^2.0.0-RC28", } } ``` @@ -17,7 +17,7 @@ OR ``` { "require": { - "microsoft/microsoft-graph": "^2.0.0-RC27", + "microsoft/microsoft-graph": "^2.0.0-RC28", "microsoft/microsoft-graph-core": "@RC" } } 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..05607691c28 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.php @@ -117,7 +117,7 @@ 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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?BrowserSiteListItemRequestBuilderGetReq } $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(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/Publish/PublishRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.php index 9876c0418d5..c84c9053503 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.php @@ -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..c8f83913498 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 @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?BrowserSharedCookieItemRequestBuilderGe } $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(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/SharedCookiesRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.php index a7cec456501..974ed9b6d69 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SharedCookiesRequestBuilderGetRequestCo } $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(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/Sites/Item/BrowserSiteItemRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.php index 6ca10e8a3a2..7de03d96920 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 @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?BrowserSiteItemRequestBuilderGetRequest } $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(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/SitesRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.php index 1e552fe9205..3b76e7045cd 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SitesRequestBuilderGetRequestConfigurat } $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(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/SiteListsRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.php index dba1778994e..64fd01a3ed2 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SiteListsRequestBuilderGetRequestConfig } $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(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/People/PeopleRequestBuilder.php b/src/Generated/Admin/People/PeopleRequestBuilder.php index c176005922e..1c479a99547 100644 --- a/src/Generated/Admin/People/PeopleRequestBuilder.php +++ b/src/Generated/Admin/People/PeopleRequestBuilder.php @@ -39,10 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get people from admin + * Retrieve the properties and relationships of a peopleAdminSettings object. * @param PeopleRequestBuilderGetRequestConfiguration|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/peopleadminsettings-get?view=graph-rest-1.0 Find more info here */ public function get(?PeopleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -70,7 +71,7 @@ public function patch(PeopleAdminSettings $body, ?PeopleRequestBuilderPatchReque } /** - * Get people from admin + * Retrieve the properties and relationships of a peopleAdminSettings object. * @param PeopleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -86,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; } @@ -105,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/PeopleRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/PeopleRequestBuilderGetQueryParameters.php index c545ab82890..fac5f12fd07 100644 --- a/src/Generated/Admin/People/PeopleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/People/PeopleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get people from admin + * Retrieve the properties and relationships of a peopleAdminSettings object. */ class PeopleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.php b/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.php index 782aed3f52f..6178f06c2ee 100644 --- a/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.php +++ b/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property profileCardProperties for admin + * Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. * @param ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration|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/profilecardproperty-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,10 +47,11 @@ public function delete(?ProfileCardPropertyItemRequestBuilderDeleteRequestConfig } /** - * Get profileCardProperties from admin + * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. * @param ProfileCardPropertyItemRequestBuilderGetRequestConfiguration|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/profilecardproperty-get?view=graph-rest-1.0 Find more info here */ public function get(?ProfileCardPropertyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,11 +63,12 @@ public function get(?ProfileCardPropertyItemRequestBuilderGetRequestConfiguratio } /** - * Update the navigation property profileCardProperties in admin + * Update the properties of a profileCardProperty object, identified by its directoryPropertyName property. * @param ProfileCardProperty $body The request body * @param ProfileCardPropertyItemRequestBuilderPatchRequestConfiguration|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/profilecardproperty-update?view=graph-rest-1.0 Find more info here */ public function patch(ProfileCardProperty $body, ?ProfileCardPropertyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -77,7 +80,7 @@ public function patch(ProfileCardProperty $body, ?ProfileCardPropertyItemRequest } /** - * Delete navigation property profileCardProperties for admin + * Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. * @param ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -90,12 +93,12 @@ 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; } /** - * Get profileCardProperties from admin + * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. * @param ProfileCardPropertyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +114,12 @@ public function toGetRequestInformation(?ProfileCardPropertyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the navigation property profileCardProperties in admin + * Update the properties of a profileCardProperty object, identified by its directoryPropertyName property. * @param ProfileCardProperty $body The request body * @param ProfileCardPropertyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,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/Item/ProfileCardPropertyItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilderGetQueryParameters.php index 3e4f28ad5ef..578743b80ad 100644 --- a/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get profileCardProperties from admin + * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. */ class ProfileCardPropertyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.php b/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.php index b1da2e09722..c2bba5e9e2f 100644 --- a/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.php +++ b/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get profileCardProperties from admin + * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. * @param ProfileCardPropertiesRequestBuilderGetRequestConfiguration|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/peopleadminsettings-list-profilecardproperties?view=graph-rest-1.0 Find more info here */ public function get(?ProfileCardPropertiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,11 +68,12 @@ public function get(?ProfileCardPropertiesRequestBuilderGetRequestConfiguration } /** - * Create new navigation property to profileCardProperties for admin + * Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API. * @param ProfileCardProperty $body The request body * @param ProfileCardPropertiesRequestBuilderPostRequestConfiguration|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/peopleadminsettings-post-profilecardproperties?view=graph-rest-1.0 Find more info here */ public function post(ProfileCardProperty $body, ?ProfileCardPropertiesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +85,7 @@ public function post(ProfileCardProperty $body, ?ProfileCardPropertiesRequestBui } /** - * Get profileCardProperties from admin + * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. * @param ProfileCardPropertiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,12 +101,12 @@ public function toGetRequestInformation(?ProfileCardPropertiesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create new navigation property to profileCardProperties for admin + * Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API. * @param ProfileCardProperty $body The request body * @param ProfileCardPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -118,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/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilderGetQueryParameters.php index 15567c882f5..2fe610daf89 100644 --- a/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get profileCardProperties from admin + * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. */ class ProfileCardPropertiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.php index b3d81a4e9d9..e88897272a2 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.php @@ -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/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..eada20831c6 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/Issues/IssuesRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.php index faf2123b2a2..3be61c59a61 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.php @@ -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/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..56cc30f2e27 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.php @@ -99,7 +99,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; } @@ -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/Messages/Archive/ArchiveRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.php index 209e04bb032..e20df2008bc 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.php @@ -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..4737150ad93 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.php @@ -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..69298b7e0a6 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -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/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..00f86eeee2a 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..8fcb99c3f63 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/MarkRead/MarkReadRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.php index 256e862cc07..499f3c51f76 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.php @@ -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..324f9846c78 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.php @@ -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..a02b2973698 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.php @@ -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/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.php index 1ebd0ad3871..7bd948e85f2 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.php @@ -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..68e72d3b2ab 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.php @@ -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..22a9ca40c40 100644 --- a/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $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(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/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..fae31e22da4 100644 --- a/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php +++ b/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php @@ -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/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..c1f35554f39 100644 --- a/src/Generated/Agreements/Item/File/FileRequestBuilder.php +++ b/src/Generated/Agreements/Item/File/FileRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..f1fbe007ecc 100644 --- a/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php +++ b/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php @@ -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/Files/FilesRequestBuilder.php b/src/Generated/Agreements/Item/Files/FilesRequestBuilder.php index 82bdd7b6734..972bb3dec92 100644 --- a/src/Generated/Agreements/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/Agreements/Item/Files/FilesRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $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, ?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..fb1aca28983 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AppDefinitionsRequestBuilderGetRequestC } $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(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..4bfa72bd4cf 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/TeamsAppDefinitionItemRequestBuilder.php b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.php index ebf13bbce20..b1e512b0d04 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.php @@ -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,7 +120,7 @@ public function toGetRequestInformation(?TeamsAppDefinitionItemRequestBuilderGet } $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(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..3448f4d70a2 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.php @@ -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..c6aec08a886 100644 --- a/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TeamsAppsRequestBuilderGetRequestConfig } $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(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/ApplicationTemplates/ApplicationTemplatesRequestBuilder.php b/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.php index 85054e4515d..da17c441fc5 100644 --- a/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.php +++ b/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.php @@ -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/Item/ApplicationTemplateItemRequestBuilder.php b/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.php index 3884526a8fe..4c3001e1485 100644 --- a/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.php +++ b/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.php @@ -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/Instantiate/InstantiateRequestBuilder.php b/src/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.php index 6e7aded8fb6..f480a59ee9a 100644 --- a/src/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.php +++ b/src/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.php @@ -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..4fbe74fd5cc 100644 --- a/src/Generated/Applications/ApplicationsRequestBuilder.php +++ b/src/Generated/Applications/ApplicationsRequestBuilder.php @@ -133,7 +133,7 @@ public function toGetRequestInformation(?ApplicationsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..14a0f9f130c 100644 --- a/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..4120690c6ed 100644 --- a/src/Generated/Applications/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Applications/GetByIds/GetByIdsRequestBuilder.php @@ -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..0f638ef3311 100644 --- a/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php +++ b/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php @@ -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..6111381754b 100644 --- a/src/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.php +++ b/src/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.php @@ -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..873cd8c2b34 100644 --- a/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/AppManagementPolicies/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/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.php index b24292b2708..d1c4155f7aa 100644 --- a/src/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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..f20ec2eb48d 100644 --- a/src/Generated/Applications/Item/ApplicationItemRequestBuilder.php +++ b/src/Generated/Applications/Item/ApplicationItemRequestBuilder.php @@ -261,7 +261,7 @@ 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; } @@ -282,7 +282,7 @@ public function toGetRequestInformation(?ApplicationItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index b54e26992ca..4796122533e 100644 --- a/src/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..3c760b2e233 100644 --- a/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ExtensionPropertiesRequestBuilderGetReq } $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(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/Item/ExtensionPropertyItemRequestBuilder.php b/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.php index 8a31ce1ecaf..8d2b2c1a61a 100644 --- a/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.php +++ b/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php b/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php index 195c6cbf6d2..9a0b4cb8c91 100644 --- a/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php +++ b/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?FederatedIdentityCredentialsRequestBuil } $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(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/Item/FederatedIdentityCredentialItemRequestBuilder.php b/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php index 55d7ea06e78..66825d1f314 100644 --- a/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php +++ b/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php @@ -93,7 +93,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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?FederatedIdentityCredentialItemRequestB } $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(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/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index f4e0c546dbb..4563a7d7509 100644 --- a/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..223a3fb5572 100644 --- a/src/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..e717337546f 100644 --- a/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/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/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..0b8d1b9ab68 100644 --- a/src/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/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/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.php b/src/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.php index 32be12480a3..7e62845ba46 100644 --- a/src/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.php +++ b/src/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.php @@ -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..689ea3d4234 100644 --- a/src/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.php +++ b/src/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.php @@ -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..c3a34bc308f 100644 --- a/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php @@ -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..0c6cb4700c3 100644 --- a/src/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.php +++ b/src/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.php @@ -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..db19cefd2e4 100644 --- a/src/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php @@ -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..74daa170aed 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php @@ -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..de671157448 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php @@ -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..ee3a54c3544 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php @@ -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..1ae5c6caf9d 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 @@ -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..dff4b86ddc8 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 @@ -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..44460e35447 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php @@ -124,7 +124,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; } @@ -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/Start/StartRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php index c45168dfec2..ed6e0f8de75 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php @@ -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..292f5e09a51 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php @@ -140,7 +140,7 @@ 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; } @@ -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/ValidateCredentials/ValidateCredentialsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php index 6451299d8d8..01ec315940c 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php @@ -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..cabd13a081b 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?JobsRequestBuilderGetRequestConfigurati } $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(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/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..7db589cc78d 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 @@ -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..15b63b017fb 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 @@ -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..84320067fc1 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php @@ -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,7 +120,7 @@ public function toGetRequestInformation(?SynchronizationTemplateItemRequestBuild } $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(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..ddf05b2a193 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.php @@ -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/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.php index ce6d9ba8bb8..63c52e43a2f 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/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/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.php index a2ab93f3a93..345ded66b03 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/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/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php b/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php index 125fd95aca9..244600ed165 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php @@ -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/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.php index 899f28dd4c4..c5e5fb2831f 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/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/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.php index 1e260909328..df5115f1aa4 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/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/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php b/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php index 4086260c097..df1467eadb9 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php @@ -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/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.php b/src/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.php index dc5bf35a0a8..aff71d63aea 100644 --- a/src/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.php +++ b/src/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.php @@ -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..ffa5417a120 100644 --- a/src/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..5a84e898569 100644 --- a/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.php +++ b/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.php @@ -96,7 +96,7 @@ 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; } @@ -117,7 +117,7 @@ public function toGetRequestInformation(?ApplicationsWithAppIdRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..d415edce893 100644 --- a/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.php +++ b/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.php @@ -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/Item/DirectoryAuditItemRequestBuilder.php b/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.php index 4bafe13e826..511e87680da 100644 --- a/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.php +++ b/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/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..a881c326c69 100644 --- a/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.php +++ b/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.php @@ -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/SignIns/Item/SignInItemRequestBuilder.php b/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.php index ba6c3f20c2e..8cd2ee44b75 100644 --- a/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.php +++ b/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/SignInsRequestBuilder.php b/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php index 7847557dcf6..6fd1dd4f9a4 100644 --- a/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php +++ b/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php @@ -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/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..fecee3e3b44 100644 --- a/src/Generated/Chats/ChatsRequestBuilder.php +++ b/src/Generated/Chats/ChatsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ChatsRequestBuilderGetRequestConfigurat } $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(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/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..f7a7052b188 100644 --- a/src/Generated/Chats/Item/ChatItemRequestBuilder.php +++ b/src/Generated/Chats/Item/ChatItemRequestBuilder.php @@ -188,7 +188,7 @@ 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; } @@ -209,7 +209,7 @@ public function toGetRequestInformation(?ChatItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/HideForUser/HideForUserRequestBuilder.php b/src/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.php index 69618e18b61..d0259d89f16 100644 --- a/src/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.php +++ b/src/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.php @@ -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..12a3e69c438 100644 --- a/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $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(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/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..8f9de31804a 100644 --- a/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -116,7 +116,7 @@ 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; } @@ -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/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index cd1845d5b69..011b3bc3aea 100644 --- a/src/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php +++ b/src/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php @@ -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..cbda7c53d8d 100644 --- a/src/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php +++ b/src/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php @@ -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..7b2e6d6b882 100644 --- a/src/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php +++ b/src/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php @@ -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..29180d5c0c6 100644 --- a/src/Generated/Chats/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/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/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index ae2cffa5d19..751b7601ff9 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/MembersRequestBuilder.php b/src/Generated/Chats/Item/Members/MembersRequestBuilder.php index e6ac85f60f9..3b5283868fe 100644 --- a/src/Generated/Chats/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/MembersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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/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..15eb70b6bd1 100644 --- a/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -139,7 +139,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 96d1d968e61..e8ccd90db22 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..9bc7bfc1494 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 This API is available in the following national cloud deployments. */ 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..a8f21fc680b 100644 --- a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..41590328d16 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 084f717555f..f715e2bfcc6 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..cd1787c7cd2 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 This API is available in the following national cloud deployments. */ 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..936ff1f640f 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..21599513dff 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 @@ -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..e2491a324a7 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 @@ -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 2a0d184b4e8..69d42df38db 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..38ffb00a11f 100644 --- a/src/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -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..94e5dbe49ae 100644 --- a/src/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -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..c6d908fb8f8 100644 --- a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..b505aaa032c 100644 --- a/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -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/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..defc1cc6d8e 100644 --- a/src/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php +++ b/src/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php @@ -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..590bbe80e64 100644 --- a/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php +++ b/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PinnedMessagesRequestBuilderGetRequestC } $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(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/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php index b8dbee58be5..10dd816592f 100644 --- a/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -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..8a84c599df6 100644 --- a/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Chats/Item/Tabs/TabsRequestBuilder.php index fbd62491ae3..25c10fa6aae 100644 --- a/src/Generated/Chats/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Chats/Item/Tabs/TabsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/UnhideForUser/UnhideForUserRequestBuilder.php b/src/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php index be78491df12..ea46ffc1324 100644 --- a/src/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php +++ b/src/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php @@ -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..8374448fa33 100644 --- a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php @@ -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/Item/CallRecordItemRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php index 712d1c6a83f..2091be3bfe6 100644 --- a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..313cb697c87 100644 --- a/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.php @@ -56,7 +56,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @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); @@ -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/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..6d3d1acfe88 100644 --- a/src/Generated/Communications/Calls/CallsRequestBuilder.php +++ b/src/Generated/Communications/Calls/CallsRequestBuilder.php @@ -108,7 +108,7 @@ public function toGetRequestInformation(?CallsRequestBuilderGetRequestConfigurat } $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(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/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.php b/src/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.php index 22c9d63bf05..ec1705f441c 100644 --- a/src/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.php @@ -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..490bfcd743c 100644 --- a/src/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.php @@ -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..6301eca14fb 100644 --- a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AudioRoutingGroupsRequestBuilderGetRequ } $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(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/Item/AudioRoutingGroupItemRequestBuilder.php b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.php index 2b405071e73..2aabf740b11 100644 --- a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AudioRoutingGroupItemRequestBuilderGetR } $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(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/CallItemRequestBuilder.php b/src/Generated/Communications/Calls/Item/CallItemRequestBuilder.php index 2687622fff1..1e0f6a9568f 100644 --- a/src/Generated/Communications/Calls/Item/CallItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/CallItemRequestBuilder.php @@ -236,7 +236,7 @@ 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; } @@ -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/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.php b/src/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.php index 9c600d54328..e3973434280 100644 --- a/src/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.php @@ -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..a7c4dc17dd6 100644 --- a/src/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.php @@ -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..a70502baa66 100644 --- a/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.php @@ -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/Item/ContentSharingSessionItemRequestBuilder.php b/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.php index 83623480a18..a9cb2b8eb6b 100644 --- a/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/KeepAlive/KeepAliveRequestBuilder.php b/src/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.php index 60b4da4cd2e..106d6107269 100644 --- a/src/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.php @@ -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..31814a11ec7 100644 --- a/src/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.php @@ -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..02ffbee7ee9 100644 --- a/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.php index d15be1923c1..80f8a9a390e 100644 --- a/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Communications/Calls/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(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/Participants/Invite/InviteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php index 112141bca82..26499f363d4 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 } /** - * 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. + * 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. * @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-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/participant-invite?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 } /** - * 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. + * 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. * @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..4ee8435d80c 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.php @@ -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..ff19b5a78b7 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.php @@ -116,7 +116,7 @@ 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; } @@ -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/StartHoldMusic/StartHoldMusicRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.php index 28b81592197..b153a161c89 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.php @@ -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..0ef972563f7 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.php @@ -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..e2c733e4839 100644 --- a/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.php @@ -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/PlayPrompt/PlayPromptRequestBuilder.php b/src/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.php index 03b6d37cd30..78b97358e67 100644 --- a/src/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.php @@ -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..8141f059d29 100644 --- a/src/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.php @@ -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..3ae0b5e8861 100644 --- a/src/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.php @@ -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..c6e001e52f1 100644 --- a/src/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.php @@ -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..4dafcbd5845 100644 --- a/src/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.php @@ -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..ec2fb8fb7f0 100644 --- a/src/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.php @@ -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..532be0525bf 100644 --- a/src/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.php @@ -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..a5fa2e55416 100644 --- a/src/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.php @@ -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..d55d0596f00 100644 --- a/src/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.php +++ b/src/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.php @@ -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..191c2d24f59 100644 --- a/src/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.php +++ b/src/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.php @@ -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..3a698c5e169 100644 --- a/src/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php @@ -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..dd8b7719dfb 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php @@ -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/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 45a48c02c2b..08640fbfd06 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Communications\OnlineMeetings\Item\AttendanceReports\AttendanceReportsRequestBuilder; use Microsoft\Graph\Generated\Communications\OnlineMeetings\Item\AttendeeReport\AttendeeReportRequestBuilder; use Microsoft\Graph\Generated\Communications\OnlineMeetings\Item\GetVirtualAppointmentJoinWebUrl\GetVirtualAppointmentJoinWebUrlRequestBuilder; +use Microsoft\Graph\Generated\Communications\OnlineMeetings\Item\Recordings\RecordingsRequestBuilder; use Microsoft\Graph\Generated\Communications\OnlineMeetings\Item\Transcripts\TranscriptsRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\OnlineMeeting; @@ -21,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); @@ -41,6 +42,13 @@ public function getVirtualAppointmentJoinWebUrl(): GetVirtualAppointmentJoinWebU return new GetVirtualAppointmentJoinWebUrlRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + */ + public function recordings(): RecordingsRequestBuilder { + return new RecordingsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. */ @@ -122,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; } @@ -143,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; } @@ -162,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/Count/CountRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..8f908beb018 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/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}/communications/onlineMeetings/{onlineMeeting%2Did}/recordings/$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/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5a95c6d3ce6 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fed3630cff2 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/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/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php new file mode 100644 index 00000000000..a705911eedb --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php @@ -0,0 +1,156 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CallRecordingItemRequestBuilder 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}/communications/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property recordings for communications + * @param CallRecordingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CallRecordingItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * 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); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property recordings in communications + * @param CallRecording $body The request body + * @param CallRecordingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(CallRecording $body, ?CallRecordingItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property recordings for communications + * @param CallRecordingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CallRecordingItemRequestBuilderDeleteRequestConfiguration $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 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 + */ + public function toGetRequestInformation(?CallRecordingItemRequestBuilderGetRequestConfiguration $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 recordings in communications + * @param CallRecording $body The request body + * @param CallRecordingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(CallRecording $body, ?CallRecordingItemRequestBuilderPatchRequestConfiguration $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 CallRecordingItemRequestBuilder + */ + public function withUrl(string $rawUrl): CallRecordingItemRequestBuilder { + return new CallRecordingItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..15346851c3c --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.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/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4c14d3faccc --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.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 CallRecordingItemRequestBuilderGetQueryParameters 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/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b62ec467946 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CallRecordingItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CallRecordingItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CallRecordingItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CallRecordingItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CallRecordingItemRequestBuilderGetQueryParameters { + return new CallRecordingItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..3734096c3ae --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.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/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php new file mode 100644 index 00000000000..d949dd69a47 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php @@ -0,0 +1,114 @@ +|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}/communications/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}/content'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * 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 + */ + public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * 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 + * @throws Exception + */ + public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * 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 + */ + public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + return $requestInfo; + } + + /** + * 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 + */ + public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setStreamContent($body, "application/octet-stream"); + 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 ContentRequestBuilder + */ + public function withUrl(string $rawUrl): ContentRequestBuilder { + return new ContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7cee7eccdd1 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.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/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..6bca4bad433 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.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/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php new file mode 100644 index 00000000000..ab777b3c1d3 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + * @param string $callRecordingId The unique identifier of callRecording + * @return CallRecordingItemRequestBuilder + */ + public function byCallRecordingId(string $callRecordingId): CallRecordingItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['callRecording%2Did'] = $callRecordingId; + return new CallRecordingItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RecordingsRequestBuilder 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}/communications/onlineMeetings/{onlineMeeting%2Did}/recordings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * 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 + */ + public function get(?RecordingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecordingCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to recordings for communications + * @param CallRecording $body The request body + * @param RecordingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CallRecording $body, ?RecordingsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * 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 + */ + public function toGetRequestInformation(?RecordingsRequestBuilderGetRequestConfiguration $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 recordings for communications + * @param CallRecording $body The request body + * @param RecordingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CallRecording $body, ?RecordingsRequestBuilderPostRequestConfiguration $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 RecordingsRequestBuilder + */ + public function withUrl(string $rawUrl): RecordingsRequestBuilder { + return new RecordingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c2d1cf603c5 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.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 recordingsRequestBuilderGetQueryParameters 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/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b2ea279abca --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RecordingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RecordingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new recordingsRequestBuilderGetQueryParameters. + * @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 RecordingsRequestBuilderGetQueryParameters + */ + 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): RecordingsRequestBuilderGetQueryParameters { + return new RecordingsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..08280d67359 --- /dev/null +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.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/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php index 4f598907bfe..ce6d5e287cb 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/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..bd7cc13099d 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php @@ -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/OnlineMeetingsRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php index 91f4b9ad787..816acbf1b3d 100644 --- a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php @@ -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/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.php b/src/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.php index 73df72793d6..b417cba24f5 100644 --- a/src/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.php @@ -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..161525d9890 100644 --- a/src/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php @@ -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..931700a6b6b 100644 --- a/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/SetPresence/SetPresenceRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.php index 39cb8e1f0ab..0a94701605c 100644 --- a/src/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.php @@ -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..06304d45f6e 100644 --- a/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php @@ -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..0b75649c911 100644 --- a/src/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php @@ -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..c32b46f9df3 100644 --- a/src/Generated/Communications/Presences/PresencesRequestBuilder.php +++ b/src/Generated/Communications/Presences/PresencesRequestBuilder.php @@ -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/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..079055ef41c 100644 --- a/src/Generated/Connections/Item/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Connections/Item/Groups/GroupsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $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(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/Item/ExternalGroupItemRequestBuilder.php b/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php index b4b10864a0c..b70a9d6e55c 100644 --- a/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ExternalGroupItemRequestBuilderGetReque } $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(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/Members/Item/IdentityItemRequestBuilder.php b/src/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php index 4e8e7d06046..4380baedc3c 100644 --- a/src/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php @@ -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..ac5e71d2d05 100644 --- a/src/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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..3483dce23de 100644 --- a/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -108,7 +108,7 @@ 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; } @@ -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/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..27f09035464 100644 --- a/src/Generated/Connections/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Connections/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(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/Operations/Item/ConnectionOperationItemRequestBuilder.php b/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php index fb82a50cf27..8472acc3913 100644 --- a/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Connections/Item/Operations/OperationsRequestBuilder.php index 561ebc02881..b2e797d8acd 100644 --- a/src/Generated/Connections/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Connections/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(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/Schema/SchemaRequestBuilder.php b/src/Generated/Connections/Item/Schema/SchemaRequestBuilder.php index 4b3c87562ec..9d1665a0609 100644 --- a/src/Generated/Connections/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/Connections/Item/Schema/SchemaRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/Contacts/ContactsRequestBuilder.php b/src/Generated/Contacts/ContactsRequestBuilder.php index 5cb6b309c56..f3d6c653f11 100644 --- a/src/Generated/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Contacts/ContactsRequestBuilder.php @@ -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/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..b77b0fc675c 100644 --- a/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..8c9c9cd2673 100644 --- a/src/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.php @@ -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..aa2b0f4ca7c 100644 --- a/src/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..16482716722 100644 --- a/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..6f24a210b38 100644 --- a/src/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..99e66eb7b84 100644 --- a/src/Generated/Contacts/Item/Manager/ManagerRequestBuilder.php +++ b/src/Generated/Contacts/Item/Manager/ManagerRequestBuilder.php @@ -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/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..2983d208d06 100644 --- a/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php +++ b/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php @@ -179,7 +179,7 @@ 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; } @@ -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/Restore/RestoreRequestBuilder.php b/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php index 72b9a1962d6..96ddcc15bdd 100644 --- a/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php @@ -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..22e0263f29c 100644 --- a/src/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..6b511bad54e 100644 --- a/src/Generated/Contracts/ContractsRequestBuilder.php +++ b/src/Generated/Contracts/ContractsRequestBuilder.php @@ -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/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..1e0c14eb9a0 100644 --- a/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..030cadf97a1 100644 --- a/src/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.php @@ -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..b261377a030 100644 --- a/src/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..dd4420ef9e4 100644 --- a/src/Generated/Contracts/Item/ContractItemRequestBuilder.php +++ b/src/Generated/Contracts/Item/ContractItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index fb9f6a540a8..f7dd5206c64 100644 --- a/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..a043a91d282 100644 --- a/src/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..3e0e78d5187 100644 --- a/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php @@ -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..24a0124f10f 100644 --- a/src/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..841128477e5 100644 --- a/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.php +++ b/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.php @@ -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/Item/DataPolicyOperationItemRequestBuilder.php b/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.php index 3adda6c549d..e755e9eb6a8 100644 --- a/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.php +++ b/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/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 157c3e57606..4fd0ab75561 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceAppManagementRequestBuilderGetRequestConfiguration|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-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -172,7 +172,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|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-policyset-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -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 12c9eb32a3b..d371066de65 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 managedAppProtection object. + * Read properties and relationships of the targetedManagedAppProtection 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-managedappprotection-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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 managedAppProtection object. + * Read properties and relationships of the targetedManagedAppProtection 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 93329ca5f7b..612793385c9 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 managedAppProtection object. + * Read properties and relationships of the targetedManagedAppProtection 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..9fce9397687 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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 71473a32359..90594518683 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 managedAppProtection objects. + * List properties and relationships of the windowsInformationProtection 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-managedappprotection-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-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 managedAppProtection objects. + * List properties and relationships of the windowsInformationProtection 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 0ec17e2a417..417359735f2 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 managedAppProtection objects. + * List properties and relationships of the windowsInformationProtection 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..f5034346932 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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..5990277e805 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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 bb3772bca02..a127b321845 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -115,7 +115,7 @@ 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; } @@ -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/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 68ef82cf49c..4a6a5114138 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -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/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 47a32bddced..cf46f33a39b 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/ManagedAppStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php index cd30a63e3be..7e47dcd709d 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php @@ -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/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 97ed2db218e..920d33847e3 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|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-iosvppebookassignment-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 Find more info here */ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -68,12 +68,12 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment 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-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 Find more info here */ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPos } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 iosVppEBookAssignment object. + * Create a new managedEBookAssignment 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/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index 286ad40a449..bc0ec42f416 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index f9d6a8013fb..34af36a1747 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -47,11 +47,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|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-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -63,12 +63,12 @@ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment 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-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-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,12 +93,12 @@ 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; } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment 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/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php index fa920db8c52..854e051c551 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { 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 01fe1bcaab3..1724c948e3f 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php @@ -133,7 +133,7 @@ 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; } @@ -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/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 9d94dbe1ec8..59032af8bd7 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 a9a87681f24..0bb64577e3f 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 windowsMobileMSI. + * Deletes a win32LobApp. * @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-windowsmobilemsi-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-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 iosLobApp object. + * Read properties and relationships of the macOSMicrosoftEdgeApp 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-ioslobapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macosmicrosoftedgeapp-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 managedIOSLobApp object. + * Update the properties of a iosiPadOSWebClip 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-managedioslobapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-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 windowsMobileMSI. + * Deletes a win32LobApp. * @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 iosLobApp object. + * Read properties and relationships of the macOSMicrosoftEdgeApp 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 managedIOSLobApp object. + * Update the properties of a iosiPadOSWebClip 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 db31f6b6341..24fc5b35549 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 iosLobApp object. + * Read properties and relationships of the macOSMicrosoftEdgeApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 9ddf234f5b4..93bec350cc1 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 mobileApp 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-mobileapp-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 webApp object. + * Create a new macOSMicrosoftEdgeApp 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-webapp-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macosmicrosoftedgeapp-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 mobileApp 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 webApp object. + * Create a new macOSMicrosoftEdgeApp 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..13a9113b913 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 mobileApp 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 ac5a501da7e..1691d19a82d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windows10CompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|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-windows10compliancepolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -68,12 +68,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new androidCompliancePolicy object. + * Create a new macOSCompliancePolicy 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-androidcompliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequ } /** - * List properties and relationships of the windows10CompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 androidCompliancePolicy object. + * Create a new macOSCompliancePolicy 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/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php index 0e02acedffe..70697b67873 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the windows10CompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { 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 b354200ba2e..d69e737e651 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -119,11 +119,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the windows10MobileCompliancePolicy object. + * Read properties and relationships of the androidCompliancePolicy 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-windows10mobilecompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-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 windows10MobileCompliancePolicy 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-windows10mobilecompliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -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 windows10MobileCompliancePolicy object. + * Read properties and relationships of the androidCompliancePolicy 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 windows10MobileCompliancePolicy 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 688a52078ab..b82c2607b8a 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 windows10MobileCompliancePolicy object. + * Read properties and relationships of the androidCompliancePolicy 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 a093e9ac9b0..a28a7e5a37f 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 sharedPCConfiguration objects. + * List properties and relationships of the iosUpdateConfiguration 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-sharedpcconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdateconfiguration-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 androidWorkProfileCustomConfiguration object. + * Create a new androidGeneralDeviceConfiguration 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-androidworkprofilecustomconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidgeneraldeviceconfiguration-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 sharedPCConfiguration objects. + * List properties and relationships of the iosUpdateConfiguration 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 androidWorkProfileCustomConfiguration object. + * Create a new androidGeneralDeviceConfiguration 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 7adf65021dc..09f52c2a6e5 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 sharedPCConfiguration objects. + * List properties and relationships of the iosUpdateConfiguration 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 da6362bfdb6..362aa7f8bc8 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 windows10TeamGeneralConfiguration. + * Deletes a windowsPhone81GeneralConfiguration. * @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-windows10teamgeneralconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-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 deviceConfiguration object. + * Read properties and relationships of the windowsPhone81CustomConfiguration 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-deviceconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-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 iosGeneralDeviceConfiguration object. + * Update the properties of a windowsUpdateForBusinessConfiguration 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-iosgeneraldeviceconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-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 windows10TeamGeneralConfiguration. + * Deletes a windowsPhone81GeneralConfiguration. * @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 deviceConfiguration object. + * Read properties and relationships of the windowsPhone81CustomConfiguration 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 iosGeneralDeviceConfiguration object. + * Update the properties of a windowsUpdateForBusinessConfiguration 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 814a4fa2de2..96a62350062 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 deviceConfiguration object. + * Read properties and relationships of the windowsPhone81CustomConfiguration 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 cadd46c3839..9a5257934a3 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 deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentLimitConfiguration 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-deviceenrollmentconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -85,7 +85,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentLimitConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } $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(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 648974d1478..06a2f624fdb 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 deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentLimitConfiguration 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 174cbea4fc8..fd963e6e0b7 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|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-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -71,11 +71,11 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentConfiguration 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-deviceenrollmentconfiguration-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); @@ -104,7 +104,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 deviceEnrollmentConfiguration 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 382c8125da1..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 deviceEnrollmentConfiguration 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 6a5a47abdba..2ea70b6ca95 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -501,7 +501,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceManagementRequestBuilderGetRequestConfiguration|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-androidforwork-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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-devices-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-tem-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 0f00483aefb..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); @@ -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,7 +122,7 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } $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(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 cc9c1ee0978..634b64e5c06 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|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-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -85,7 +85,7 @@ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostReq } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } $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(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/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index 6dc159750ec..679716e13ea 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. */ class RoleDefinitionsRequestBuilderGetQueryParameters { 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..35ebb66db8b 100644 --- a/src/Generated/Devices/DevicesRequestBuilder.php +++ b/src/Generated/Devices/DevicesRequestBuilder.php @@ -133,7 +133,7 @@ public function toGetRequestInformation(?DevicesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 87e02428eac..62ba899af29 100644 --- a/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..fc582f20da8 100644 --- a/src/Generated/Devices/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Devices/GetByIds/GetByIdsRequestBuilder.php @@ -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..d03177dcbfa 100644 --- a/src/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..2803b7f3437 100644 --- a/src/Generated/Devices/Item/DeviceItemRequestBuilder.php +++ b/src/Generated/Devices/Item/DeviceItemRequestBuilder.php @@ -173,7 +173,7 @@ 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; } @@ -194,7 +194,7 @@ public function toGetRequestInformation(?DeviceItemRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..4299a817d4b 100644 --- a/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..2b563821230 100644 --- a/src/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..deb62bfbaa9 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/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/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.php index 29754d40142..61a5002ac4b 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/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/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..9d7a200b1e7 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/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/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.php index 12bbb97e336..9d0942dc942 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/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/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..7cb31505a65 100644 --- a/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php @@ -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..20b2844ec0b 100644 --- a/src/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..835149422a5 100644 --- a/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.php +++ b/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.php @@ -96,7 +96,7 @@ 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; } @@ -117,7 +117,7 @@ public function toGetRequestInformation(?DevicesWithDeviceIdRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilder.php index 8eea22224cf..8701d4a58bb 100644 --- a/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?AdministrativeUnitsRequestBuilderGetReq } $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(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/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..052c01ddae5 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.php @@ -117,7 +117,7 @@ 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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?AdministrativeUnitItemRequestBuilderGet } $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(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/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..260966dce0a 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/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/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..1494a0a156c 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.php @@ -92,7 +92,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; } @@ -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/ScopedRoleMembersRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.php index 2eaed64b667..2bb749fbd0a 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ScopedRoleMembersRequestBuilderGetReque } $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(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/AttributeSets/AttributeSetsRequestBuilder.php b/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilder.php index 07420db30cd..8077aa72340 100644 --- a/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilder.php +++ b/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AttributeSetsRequestBuilderGetRequestCo } $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(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/Item/AttributeSetItemRequestBuilder.php b/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilder.php index 58feaf024e0..63d7f9cf7a9 100644 --- a/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilder.php +++ b/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AttributeSetItemRequestBuilderGetReques } $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(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/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.php index d0fb35fe7be..e903da220b0 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CustomSecurityAttributeDefinitionsReque } $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(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/Item/AllowedValues/AllowedValuesRequestBuilder.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.php index d64d451ba64..b5752bb201d 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AllowedValuesRequestBuilderGetRequestCo } $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(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/Item/AllowedValueItemRequestBuilder.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.php index fe91bf1fab6..516c018767f 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AllowedValueItemRequestBuilderGetReques } $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(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/CustomSecurityAttributeDefinitionItemRequestBuilder.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.php index 11957466b06..4ff3b9a171c 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?CustomSecurityAttributeDefinitionItemRe } $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(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/DeletedItems/DeletedItemsRequestBuilder.php b/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilder.php index 97e545197be..25bfc4ba722 100644 --- a/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilder.php @@ -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/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 2340f36cc73..a1c788abc06 100644 --- a/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..934d606eec1 100644 --- a/src/Generated/Directory/DeletedItems/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GetByIds/GetByIdsRequestBuilder.php @@ -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..5406dc01658 100644 --- a/src/Generated/Directory/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..c6549687b4b 100644 --- a/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilder.php @@ -164,7 +164,7 @@ 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; } @@ -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/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 4c81e2d0a39..b242340db3b 100644 --- a/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..dc566409ed9 100644 --- a/src/Generated/Directory/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..354b58d05ad 100644 --- a/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php @@ -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..73e082467aa 100644 --- a/src/Generated/Directory/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..47c2f66328d 100644 --- a/src/Generated/Directory/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.php +++ b/src/Generated/Directory/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.php @@ -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..b8cd89039cb 100644 --- a/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.php +++ b/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?OnPremisesDirectorySynchronizationItemR } $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(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/OnPremisesSynchronizationRequestBuilder.php b/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.php index a8ccbadad73..26f053560c1 100644 --- a/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.php +++ b/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.php @@ -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/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..4776b01edd5 100644 --- a/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..b927ff37ad5 100644 --- a/src/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.php @@ -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..c1f1b7c31fb 100644 --- a/src/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..2ec13d423ba 100644 --- a/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.php @@ -132,7 +132,7 @@ 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; } @@ -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/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 7efb08c7658..40b86ebce00 100644 --- a/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..9a33a7da864 100644 --- a/src/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..ca280c5c044 100644 --- a/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php @@ -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..916c16675af 100644 --- a/src/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..58f7db4901e 100644 --- a/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.php @@ -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/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index dcba892ce0c..2b5e1ebc0c8 100644 --- a/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..dc885147742 100644 --- a/src/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.php @@ -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..2614f360473 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..6888462ea26 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index fe9aa018286..a372a937ccc 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..d4a0ca665aa 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..c3e05b11357 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php @@ -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..8753d22a4d0 100644 --- a/src/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..3df6365baef 100644 --- a/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.php +++ b/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.php @@ -133,7 +133,7 @@ public function toGetRequestInformation(?DirectoryRolesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index d30db64184d..6244502b60d 100644 --- a/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..6bffeca3493 100644 --- a/src/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.php @@ -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..feff5405f46 100644 --- a/src/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..aa48f5df482 100644 --- a/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.php @@ -147,7 +147,7 @@ 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; } @@ -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/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 10b3b516bc3..7e938dc8785 100644 --- a/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..0b9a3e6543b 100644 --- a/src/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..68f27b3ced6 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/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/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..f3b9d850e5a 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.php +++ b/src/Generated/DirectoryRoles/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/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php index 703b89fe70b..cbc127e0a0d 100644 --- a/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php @@ -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..03ccbef9f18 100644 --- a/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.php @@ -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/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.php index f18c37f25e4..0d0d40adbe8 100644 --- a/src/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..3233dea0d1b 100644 --- a/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.php +++ b/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.php @@ -94,7 +94,7 @@ 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; } @@ -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/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..b5e502a463a 100644 --- a/src/Generated/Domains/DomainsRequestBuilder.php +++ b/src/Generated/Domains/DomainsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DomainsRequestBuilderGetRequestConfigur } $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(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/Item/DomainItemRequestBuilder.php b/src/Generated/Domains/Item/DomainItemRequestBuilder.php index 58e0799fd2e..65431e746ba 100644 --- a/src/Generated/Domains/Item/DomainItemRequestBuilder.php +++ b/src/Generated/Domains/Item/DomainItemRequestBuilder.php @@ -149,7 +149,7 @@ 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; } @@ -170,7 +170,7 @@ public function toGetRequestInformation(?DomainItemRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/DomainNameReferences/DomainNameReferencesRequestBuilder.php b/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.php index a8682d1d143..7cb3da4c588 100644 --- a/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.php +++ b/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.php @@ -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/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..011489b4996 100644 --- a/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.php +++ b/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?FederationConfigurationRequestBuilderGe } $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(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/Item/InternalDomainFederationItemRequestBuilder.php b/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.php index 6742cf6d73c..dc993b589a9 100644 --- a/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.php +++ b/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?InternalDomainFederationItemRequestBuil } $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(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/ForceDelete/ForceDeleteRequestBuilder.php b/src/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.php index 8fc1bf77048..7afe269b962 100644 --- a/src/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.php +++ b/src/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.php @@ -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..09952af7d1c 100644 --- a/src/Generated/Domains/Item/Promote/PromoteRequestBuilder.php +++ b/src/Generated/Domains/Item/Promote/PromoteRequestBuilder.php @@ -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..0bfbd998a1c 100644 --- a/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.php +++ b/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.php @@ -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/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..a1a71f877a4 100644 --- a/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.php +++ b/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.php @@ -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/Verify/VerifyRequestBuilder.php b/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php index f6792a960e9..7f6f2cd96e3 100644 --- a/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php +++ b/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php @@ -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..524f87e8ae2 100644 --- a/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/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..6c2b59a1fd2 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -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..222ed4e2c27 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -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..558b4d3c05b 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php @@ -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/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..2edb3cdf0a6 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -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..f37f8b37e18 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 57fc01d13d8..1eda70b5edb 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 @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $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(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/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..ee9fab9cff7 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -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..19d9cd84be9 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -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..e543f10f0e8 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -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..65638f1eb4c 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } $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(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/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index b6985955018..97bdd65363f 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 @@ -108,7 +108,7 @@ 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; } @@ -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/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..06c5617219a 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 @@ -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..35f9d5178de 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php @@ -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,7 +112,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $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(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..dfb463c4f6f 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php @@ -168,7 +168,7 @@ 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; } @@ -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/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..d53e56ed332 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 @@ -107,7 +107,7 @@ 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; } @@ -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/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index d4f71f0bfba..d16342f6fe8 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 @@ -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..8fc3e56ab41 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php @@ -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/ItemsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilder.php index 86c6906af2a..90fa3fc088d 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $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(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/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..cd5db384e67 100644 --- a/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -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..6ce61736352 100644 --- a/src/Generated/Drives/Item/Following/FollowingRequestBuilder.php +++ b/src/Generated/Drives/Item/Following/FollowingRequestBuilder.php @@ -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/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..9d1824812be 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php @@ -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/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..63166beeac0 100644 --- a/src/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.php @@ -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..1fc4f882c69 100644 --- a/src/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.php @@ -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..790f4ad6f9d 100644 --- a/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.php @@ -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/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..54cf022b10e 100644 --- a/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php @@ -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..a1384d71277 100644 --- a/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php @@ -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..7164059498b 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. */ @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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..8ccd08b99ae 100644 --- a/src/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.php @@ -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..89de7e94964 100644 --- a/src/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.php @@ -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..f18ee50f6f8 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 @@ -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..e238163ffae 100644 --- a/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?PermissionItemRequestBuilderGetRequestC } $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(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/PermissionsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.php index e46c7fc6f1b..aa1834a9082 100644 --- a/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.php @@ -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/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..3d486489bf0 100644 --- a/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php @@ -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..6f08d6563d2 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 @@ -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 e7d290e64a0..2b1d7d3f0fb 100644 --- a/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ThumbnailSetItemRequestBuilderDeleteRequestConfiguration } /** - * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. * @param ThumbnailSetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -90,12 +90,12 @@ 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; } /** - * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. * @param ThumbnailSetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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/Item/ThumbnailSetItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetQueryParameters.php index 2094b4fb007..4b4ef61836f 100644 --- a/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. */ class ThumbnailSetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php index 112223f654e..258fcb9802f 100644 --- a/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php @@ -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/Unfollow/UnfollowRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.php index 5a3bd889161..2324b409b1d 100644 --- a/src/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.php @@ -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..9067933cbee 100644 --- a/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index 258b0451ba2..2d7421d4574 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 @@ -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..04b8b538b82 100644 --- a/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.php @@ -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/Workbook/Application/ApplicationRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.php index 83337d1e759..8c38b32131d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/Calculate/CalculateRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php index 2e85f4910f8..aa26e82a8a3 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 @@ -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..672521fd0b2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php @@ -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..860dad03e22 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 @@ -91,7 +91,7 @@ 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; } @@ -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/RepliesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php index 71e750dbcdc..1e1a4cc5faf 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 @@ -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/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..ee60248476f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php @@ -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..21f4c1c195e 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 @@ -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..cd2ea86835b 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 @@ -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 540ff73ab9a..b85901c114f 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,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. 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. This API is available in the following national cloud deployments. * @param RangeRequestBuilderGetRequestConfiguration|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/range-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the properties and relationships of range object. 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. This API is available in the following national cloud deployments. * @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..2d4340f7a43 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 @@ -108,7 +108,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; } @@ -129,7 +129,7 @@ public function toGetRequestInformation(?WorkbookNamedItemItemRequestBuilderGetR } $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(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/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 a1d3ad1d9e8..ce01cef9268 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php @@ -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/Operations/Item/WorkbookOperationItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php index ab2b1da4faf..43400f9e4c4 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 @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php index e15a2a3e811..32817e21de3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/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(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/RefreshSession/RefreshSessionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php index 10d671787f7..de4f13566fe 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php @@ -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 1fab45598bb..6553276f25e 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,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. + * Use this API to create a new Table. This API is available in the following national cloud deployments. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|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/tablecollection-add?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. + * Use this API to create a new Table. This API is available in the following national cloud deployments. * @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..6bc6b4af303 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 @@ -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..4b87730bf9e 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 @@ -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 a0ea263b54f..9954df8b3a9 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 @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/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..84c1dc93391 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 @@ -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..0800706c732 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 @@ -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..9e656975bde 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 @@ -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..5c10184a18e 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 @@ -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..e39db7f5c4a 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 @@ -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..16950939947 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 @@ -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..c42a56c92cf 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 @@ -133,7 +133,7 @@ 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; } @@ -154,7 +154,7 @@ public function toGetRequestInformation(?WorkbookTableColumnItemRequestBuilderGe } $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(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/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..bc27e5bf49d 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 @@ -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..b1f1ad2ecc9 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 @@ -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..e6e5c86000b 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 @@ -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..1aebfb5f387 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 @@ -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..112c3c25355 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 @@ -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..1e6f461dcfe 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 @@ -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..0f5b980bf9d 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 @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?WorkbookTableRowItemRequestBuilderGetRe } $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(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/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 487f8073cf7..00ce18d7af8 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 @@ -119,7 +119,7 @@ public function toGetRequestInformation(?RowsRequestBuilderGetRequestConfigurati } $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(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/Sort/Apply/ApplyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php index 2564414cd8f..d21819cbee4 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 @@ -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..aa4df44de0a 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 @@ -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..b864fc6be4b 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 @@ -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..0836b13ceb8 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 @@ -115,7 +115,7 @@ 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; } @@ -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/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php index 61e45de3f4e..e77fea35633 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 @@ -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..d5c3bb88895 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 @@ -181,7 +181,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; } @@ -202,7 +202,7 @@ public function toGetRequestInformation(?WorkbookTableItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..e2058619b1a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.php @@ -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/WorkbookRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.php index 40d02595250..050de8eb664 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.php @@ -128,7 +128,7 @@ public function delete(?WorkbookRequestBuilderDeleteRequestConfiguration $reques } /** - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. * @param WorkbookRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -190,12 +190,12 @@ 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; } /** - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. * @param WorkbookRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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/WorkbookRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilderGetQueryParameters.php index feb2c338d2a..00f2ed77b63 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. */ class WorkbookRequestBuilderGetQueryParameters { 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..d941e263a8b 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 @@ -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..6feba621b18 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 @@ -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 67ac7ffb6f3..b6ccd57018c 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 @@ -129,7 +129,7 @@ public function toGetRequestInformation(?ChartsRequestBuilderGetRequestConfigura } $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(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/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..6511a7a3d7d 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 @@ -92,7 +92,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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $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(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/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..d508f53e8f6 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 @@ -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..74124d9bdeb 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 @@ -100,7 +100,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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $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(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/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..f3900deff08 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 @@ -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..afb362102d2 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 @@ -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..b37b389a7b1 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestC } $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(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/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..8198f4dc95e 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } $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(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/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php index 1644511cc6a..cf9d5cfd206 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 @@ -92,7 +92,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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $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(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/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..c745db0c1b4 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 @@ -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..9aee8d79420 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 @@ -100,7 +100,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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $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(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/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..21dbd290a60 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 @@ -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..f91bc657356 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 @@ -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..1f19b0dfd9c 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestC } $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(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/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..11af0cd9049 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } $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(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/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php index a29f208b695..2603a9047d9 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 @@ -92,7 +92,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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $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(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/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..62ace8a9994 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 @@ -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..d3c74f38e93 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 @@ -100,7 +100,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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $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(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/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..88f576030d1 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 @@ -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..5280d1eaea1 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 @@ -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..9a22c834cf0 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestC } $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(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/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..08b896ac015 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } $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(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/ValueAxisRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php index 9370570fc50..11f8adc50fb 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 @@ -124,7 +124,7 @@ 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; } @@ -145,7 +145,7 @@ public function toGetRequestInformation(?ValueAxisRequestBuilderGetRequestConfig } $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(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/DataLabels/DataLabelsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php index 6d99a254e2e..5529de0aecb 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?DataLabelsRequestBuilderGetRequestConfi } $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(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/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..968d7aff0fd 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 @@ -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..c23b8a5daff 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 @@ -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..0e980553858 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 @@ -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..4c1a1af4dfe 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 @@ -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..2dc2efc4c35 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 @@ -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..6f33d7fb757 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 @@ -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..541c319d65b 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?LegendRequestBuilderGetRequestConfigura } $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(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/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..58dbdbde3be 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 @@ -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..c3eb037b37d 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 @@ -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..d548c428070 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 @@ -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..88000370c57 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 @@ -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..2c22956b07e 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 @@ -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..0c989b0b119 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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 d57f5f3c023..f35961ce9e0 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 @@ -111,7 +111,7 @@ public function toGetRequestInformation(?PointsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/WorkbookChartSeriesItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php index 3777a63fe45..a407e290f2b 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 @@ -108,7 +108,7 @@ 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; } @@ -129,7 +129,7 @@ public function toGetRequestInformation(?WorkbookChartSeriesItemRequestBuilderGe } $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(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/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..bf0265cb99b 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 @@ -111,7 +111,7 @@ public function toGetRequestInformation(?SeriesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/SetData/SetDataRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php index adeafdbdf88..77a18f82e35 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 @@ -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..f359ba03bf7 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 @@ -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..01ddb16682c 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 @@ -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..476fcc4609e 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 @@ -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..ebc035d2051 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } $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(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/WorkbookChartItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php index cefbfdac9f2..671a50ade08 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 @@ -206,7 +206,7 @@ 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; } @@ -227,7 +227,7 @@ public function toGetRequestInformation(?WorkbookChartItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..8ebe642016f 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 @@ -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..ff99c6eba9d 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 @@ -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 2a98df815b5..ec7b2060845 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,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. 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. This API is available in the following national cloud deployments. * @param RangeRequestBuilderGetRequestConfiguration|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/range-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the properties and relationships of range object. 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. This API is available in the following national cloud deployments. * @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..1141e3a3187 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 @@ -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/PivotTables/Item/Refresh/RefreshRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php index 384eeed646a..fecd3cbbf02 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 @@ -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..7bd7209193e 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 @@ -107,7 +107,7 @@ 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; } @@ -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/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..83e1e60f968 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 @@ -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/RefreshAll/RefreshAllRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php index 39f96231ed5..89ed7fda4e9 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 @@ -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..c793315d158 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 @@ -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..1bf61f12615 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 @@ -107,7 +107,7 @@ 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; } @@ -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/Unprotect/UnprotectRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php index 77010f7056c..1143684d99b 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 @@ -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 3b29c29eebf..f4865776cb5 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,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. + * Use this API to create a new Table. This API is available in the following national cloud deployments. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|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/tablecollection-add?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. + * Use this API to create a new Table. This API is available in the following national cloud deployments. * @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..7ef7a621f69 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 @@ -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..2a3bc596092 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 @@ -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 c274ec4564d..629d9d9db89 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 @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/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..3a3cfffb2d5 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 @@ -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..2dfeef25304 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 @@ -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..d3efbfc49b2 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 @@ -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..17da6929cf8 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 @@ -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..a18a03361c5 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 @@ -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..108ef43daf7 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 @@ -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..9e3b1d47846 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 @@ -133,7 +133,7 @@ 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; } @@ -154,7 +154,7 @@ public function toGetRequestInformation(?WorkbookTableColumnItemRequestBuilderGe } $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(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/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..9ad5b4625cc 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 @@ -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..34aa6e5af31 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 @@ -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..18d577413c9 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 @@ -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..2bdc7028f37 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 @@ -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..11f8f5451a7 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 @@ -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..952e26dc5a3 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 @@ -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..f3e2eed4c7e 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 @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?WorkbookTableRowItemRequestBuilderGetRe } $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(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/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 49e2d2d29dc..5d0a43ea8ef 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 @@ -119,7 +119,7 @@ public function toGetRequestInformation(?RowsRequestBuilderGetRequestConfigurati } $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(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/Sort/Apply/ApplyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php index f4752fe3782..34844d98ab8 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 @@ -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..4222aa51a5f 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 @@ -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..c9c89048ccc 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 @@ -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..23e8f1df825 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 @@ -115,7 +115,7 @@ 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; } @@ -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/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php index 6ce419d623c..c4bcb4f1349 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 @@ -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..c5172d306e5 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 @@ -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/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..ecd776bd6f7 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 @@ -171,7 +171,7 @@ 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; } @@ -192,7 +192,7 @@ public function toGetRequestInformation(?WorkbookWorksheetItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/WorksheetsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php index fe0d8e05166..9f60cb5a306 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php @@ -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/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..86daabbf304 100644 --- a/src/Generated/Drives/Item/Root/RootRequestBuilder.php +++ b/src/Generated/Drives/Item/Root/RootRequestBuilder.php @@ -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/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..dfe30226788 100644 --- a/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.php @@ -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/SpecialRequestBuilder.php b/src/Generated/Drives/Item/Special/SpecialRequestBuilder.php index 1c78ef552d7..54c4e0ea7be 100644 --- a/src/Generated/Drives/Item/Special/SpecialRequestBuilder.php +++ b/src/Generated/Drives/Item/Special/SpecialRequestBuilder.php @@ -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/Education/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Classes/ClassesRequestBuilder.php index affeaf3a4d9..3cfe4826ee1 100644 --- a/src/Generated/Education/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Classes/ClassesRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ClassesRequestBuilderGetRequestConfigur } $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(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/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..b1a821bdbbb 100644 --- a/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?AssignmentCategoriesRequestBuilderGetRe } $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(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/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..14798f5ebb1 100644 --- a/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/AssignmentDefaults/AssignmentDefaultsRequestBuilder.php b/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.php index 833e4eb980b..51916becdcb 100644 --- a/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignmentDefaultsRequestBuilderGetRequ } $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(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/AssignmentSettings/AssignmentSettingsRequestBuilder.php b/src/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.php index 1b1ed81b61b..024406b8429 100644 --- a/src/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.php @@ -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,7 +112,7 @@ public function toGetRequestInformation(?AssignmentSettingsRequestBuilderGetRequ } $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(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..bf10dc5012f 100644 --- a/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $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(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/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..141fcacd17e 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -117,7 +117,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..faffb8346a6 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 @@ -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/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php index 84452492ca9..931a3d8e0b0 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 @@ -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/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php index a8892f65d95..a2db16e3f6f 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php @@ -149,7 +149,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; } @@ -170,7 +170,7 @@ public function toGetRequestInformation(?EducationAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/Publish/PublishRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.php index cb3ea8f801c..8a29ac5f772 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.php @@ -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..6afd244080a 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 @@ -92,7 +92,7 @@ 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; } @@ -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/ResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php index 25cdea28ba0..e5fc73dfb32 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $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(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/Rubric/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php index a45c7e61073..56cc4a96ea1 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 @@ -95,7 +95,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; } @@ -113,7 +113,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; } @@ -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..ae045cefc2b 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?RubricRequestBuilderGetRequestConfigura } $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(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/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php index 7543fbeb187..26486757914 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php @@ -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..531a16160ce 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -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..02aa57a2e44 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 @@ -155,7 +155,7 @@ 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; } @@ -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/EscapedReturn/ReturnRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php index 7c91f0e3309..80bec42878e 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 @@ -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..ad6b8c227b0 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 @@ -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,7 +113,7 @@ public function toGetRequestInformation(?EducationOutcomeItemRequestBuilderGetRe } $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(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..37692c10502 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OutcomesRequestBuilderGetRequestConfigu } $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(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/Reassign/ReassignRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php index 503353f0dff..a0b503e7764 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 @@ -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..ed929282855 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 @@ -92,7 +92,7 @@ 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; } @@ -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/ResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php index c68ca0e0c71..e0514e3a1d5 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $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(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/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index 7a4e31a3a50..091584c2213 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 @@ -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..4d7c92d6961 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 @@ -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..1de6466bd5e 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 @@ -91,7 +91,7 @@ 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; } @@ -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/SubmittedResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php index 83f36c25e1b..5b598ed25aa 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 @@ -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/Unsubmit/UnsubmitRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php index ed6f81ef4c4..4841571459a 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 @@ -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..1177f9a9dd7 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php @@ -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/EducationClassItemRequestBuilder.php b/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.php index 433995a6e93..a8c995ad7bb 100644 --- a/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.php @@ -157,7 +157,7 @@ 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; } @@ -178,7 +178,7 @@ public function toGetRequestInformation(?EducationClassItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..0ea75547403 100644 --- a/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Members/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/Education/Classes/Item/Members/MembersRequestBuilder.php b/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php index 4cb72f32142..0b6b3ae3446 100644 --- a/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php @@ -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/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.php index 5a24cbf804d..b164e031deb 100644 --- a/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/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/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..4f371b8945d 100644 --- a/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.php @@ -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/Teachers/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.php index 9c484f768a3..b5ddcc1006f 100644 --- a/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Teachers/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/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.php index 6c8fac86f79..5dc5e85ddbb 100644 --- a/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Teachers/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/Education/Classes/Item/Teachers/TeachersRequestBuilder.php b/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php index cfdce5c396c..88b6cd773ac 100644 --- a/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php @@ -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/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..bd5928300c9 100644 --- a/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.php @@ -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/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..9b73848343a 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -117,7 +117,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..11fe2774d4e 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 @@ -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/Ref/RefRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.php index 00a16186e45..6c7d1949509 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/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/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..d123d116b3e 100644 --- a/src/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.php @@ -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..a4f659b4fc7 100644 --- a/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/ResourcesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.php index f02fd30fe7f..65efc4c67bc 100644 --- a/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $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(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/Rubric/Ref/RefRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.php index df6136d0991..fd4f815e7ff 100644 --- a/src/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.php @@ -95,7 +95,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; } @@ -113,7 +113,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; } @@ -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..162aad0e629 100644 --- a/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?RubricRequestBuilderGetRequestConfigura } $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(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/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php index 10aad9d05f5..df84fdf71a8 100644 --- a/src/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php @@ -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..ad5a4f0a821 100644 --- a/src/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -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..16265006f12 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php @@ -155,7 +155,7 @@ 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; } @@ -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/EscapedReturn/ReturnRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php index 3ef3a90893d..e80aea668ae 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 @@ -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..d1d14fe8cb2 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 @@ -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,7 +113,7 @@ public function toGetRequestInformation(?EducationOutcomeItemRequestBuilderGetRe } $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(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..19bf1a92372 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OutcomesRequestBuilderGetRequestConfigu } $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(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/Reassign/ReassignRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php index 34f2b1923a7..19b90c36124 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 @@ -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..036cf643507 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 @@ -92,7 +92,7 @@ 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; } @@ -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/ResourcesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php index 748fe9043fb..bd0bcf13478 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $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(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/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index 8245913974b..041c4036d7e 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 @@ -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..7c810903411 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 @@ -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..353b10f394d 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 @@ -91,7 +91,7 @@ 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; } @@ -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/SubmittedResourcesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php index 39b365edeb3..5247bffd4c8 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 @@ -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/Unsubmit/UnsubmitRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php index 555542016f4..abf6e1151d5 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 @@ -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..76c0821a4a5 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.php @@ -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/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Me/Classes/ClassesRequestBuilder.php index 5f4a3599353..73a72209e62 100644 --- a/src/Generated/Education/Me/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Me/Classes/ClassesRequestBuilder.php @@ -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/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..a22ce584f3f 100644 --- a/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php +++ b/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?EducationRubricItemRequestBuilderGetReq } $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(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/RubricsRequestBuilder.php b/src/Generated/Education/Me/Rubrics/RubricsRequestBuilder.php index 06259d5c96a..8fbe35e582b 100644 --- a/src/Generated/Education/Me/Rubrics/RubricsRequestBuilder.php +++ b/src/Generated/Education/Me/Rubrics/RubricsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RubricsRequestBuilderGetRequestConfigur } $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(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/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..28163d36763 100644 --- a/src/Generated/Education/Me/Schools/SchoolsRequestBuilder.php +++ b/src/Generated/Education/Me/Schools/SchoolsRequestBuilder.php @@ -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/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..f973189cfca 100644 --- a/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.php +++ b/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.php @@ -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/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..152ba150de7 100644 --- a/src/Generated/Education/Me/User/UserRequestBuilder.php +++ b/src/Generated/Education/Me/User/UserRequestBuilder.php @@ -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/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..ce93aaecb95 100644 --- a/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.php @@ -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/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php index b9796989412..6f071d7672e 100644 --- a/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php @@ -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/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.php index f89c49fc2dc..62bc1d17ece 100644 --- a/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Classes/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/Education/Schools/Item/Classes/Ref/RefRequestBuilder.php b/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.php index f6cbdff20db..c1a0bce70fe 100644 --- a/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Classes/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/Education/Schools/Item/EducationSchoolItemRequestBuilder.php b/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.php index 7a7d3dc846d..957f8892f71 100644 --- a/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.php @@ -117,7 +117,7 @@ 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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?EducationSchoolItemRequestBuilderGetReq } $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(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/Users/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.php index f3d3523e960..989d1a67fc5 100644 --- a/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Users/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/Education/Schools/Item/Users/Ref/RefRequestBuilder.php b/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.php index 6b31ab500e1..6fd9cf6b764 100644 --- a/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Users/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/Education/Schools/Item/Users/UsersRequestBuilder.php b/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php index 168322ab126..36ed50e0199 100644 --- a/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php @@ -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/SchoolsRequestBuilder.php b/src/Generated/Education/Schools/SchoolsRequestBuilder.php index 79a782e2841..6ea529c6d86 100644 --- a/src/Generated/Education/Schools/SchoolsRequestBuilder.php +++ b/src/Generated/Education/Schools/SchoolsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?SchoolsRequestBuilderGetRequestConfigur } $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(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/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..895733b13bc 100644 --- a/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.php @@ -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/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..999802bf5b9 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -117,7 +117,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..f0e64c554e1 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 @@ -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/Ref/RefRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php index c0460b4f0d4..db855df4f1b 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 @@ -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/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..05f123866a6 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.php @@ -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..6f2f3bcdbeb 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 @@ -92,7 +92,7 @@ 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; } @@ -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/ResourcesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php index 6013c843263..3cd08313e0b 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $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(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/Rubric/Ref/RefRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php index c6a6bdc29b3..42fc1c62250 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 @@ -95,7 +95,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; } @@ -113,7 +113,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; } @@ -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..bd4b478d391 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?RubricRequestBuilderGetRequestConfigura } $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(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/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php index 2fd6ace31c7..59008607bbe 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php @@ -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..fac55a5d26b 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -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..0c848fdff9f 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 @@ -155,7 +155,7 @@ 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; } @@ -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/EscapedReturn/ReturnRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php index eac060b76e5..54b4211e5bc 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 @@ -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..8e76363b6bf 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 @@ -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,7 +113,7 @@ public function toGetRequestInformation(?EducationOutcomeItemRequestBuilderGetRe } $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(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..82ec5280bd3 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OutcomesRequestBuilderGetRequestConfigu } $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(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/Reassign/ReassignRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php index 129fe3f9423..caa0e86ab42 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 @@ -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..16dcadc5bac 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 @@ -92,7 +92,7 @@ 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; } @@ -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/ResourcesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php index d6f495fee8f..2a1e772941a 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $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(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/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index c52411875a1..88c244a9b10 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 @@ -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..ec8d6f0b6ef 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 @@ -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..13f947a52b4 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 @@ -91,7 +91,7 @@ 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; } @@ -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/SubmittedResourcesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php index 608252072c4..42f4705b055 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 @@ -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/Unsubmit/UnsubmitRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php index ff9902ac8fc..0a725e16f67 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 @@ -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..53c9a5d419d 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php @@ -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/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.php index 7756c4d30a1..3b96f6149f8 100644 --- a/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.php @@ -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/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..d08f4e840ce 100644 --- a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php @@ -141,7 +141,7 @@ 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; } @@ -162,7 +162,7 @@ public function toGetRequestInformation(?EducationUserItemRequestBuilderGetReque } $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(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/Rubrics/Item/EducationRubricItemRequestBuilder.php b/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.php index 3d0c90446f5..78cdf85c41c 100644 --- a/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?EducationRubricItemRequestBuilderGetReq } $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(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/RubricsRequestBuilder.php b/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.php index 39adc518f73..c0ba9bddfc3 100644 --- a/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RubricsRequestBuilderGetRequestConfigur } $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(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/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..04f05ecb702 100644 --- a/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.php @@ -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/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..6d120bcf9dc 100644 --- a/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.php @@ -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/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..2cbefa389e4 100644 --- a/src/Generated/Education/Users/Item/User/UserRequestBuilder.php +++ b/src/Generated/Education/Users/Item/User/UserRequestBuilder.php @@ -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/UsersRequestBuilder.php b/src/Generated/Education/Users/UsersRequestBuilder.php index f59f7a62eb2..31a98f16e91 100644 --- a/src/Generated/Education/Users/UsersRequestBuilder.php +++ b/src/Generated/Education/Users/UsersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } $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(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/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..efdf749b83c 100644 --- a/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/LearningCourseActivitiesRequestBuilder.php b/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php index d33ae4d86ca..1ebb6d64f0c 100644 --- a/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php @@ -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/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.php index 39afa0a04e0..bd5d766178e 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/LearningContentsRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.php index 90122a22d14..9ec632180f7 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.php @@ -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/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php index 96e1ef39c48..b46ca3a062a 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php @@ -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,7 +113,7 @@ public function toGetRequestInformation(?LearningCourseActivityItemRequestBuilde } $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(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..0d28e3c7a5b 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?LearningCourseActivitiesRequestBuilderG } $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(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..42852447785 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.php @@ -109,7 +109,7 @@ 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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?LearningProviderItemRequestBuilderGetRe } $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(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/LearningProvidersRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.php index e6015d2eac9..9c12d62c8aa 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?LearningProvidersRequestBuilderGetReque } $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(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/EscapedPrint/Connectors/ConnectorsRequestBuilder.php b/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilder.php index 29e734d861c..7bb65bea170 100644 --- a/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilder.php @@ -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/Item/PrintConnectorItemRequestBuilder.php b/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilder.php index afd74f3f28a..231710b97e7 100644 --- a/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?PrintConnectorItemRequestBuilderGetRequ } $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(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/Operations/Item/PrintOperationItemRequestBuilder.php b/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilder.php index 0137656ab1b..4b3d971d96b 100644 --- a/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/EscapedPrint/Operations/OperationsRequestBuilder.php index 1ba986337d7..23951ccafaf 100644 --- a/src/Generated/EscapedPrint/Operations/OperationsRequestBuilder.php +++ b/src/Generated/EscapedPrint/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(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/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..37c44ee0d7b 100644 --- a/src/Generated/EscapedPrint/Printers/Create/CreateRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Create/CreateRequestBuilder.php @@ -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..7d240406518 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilder.php @@ -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/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..cf6e534977e 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.php @@ -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..b43c7dd2dfe 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.php @@ -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..1293dccc1d8 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 @@ -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..9a06d948cc5 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php @@ -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..8fd64f8c639 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Start/StartRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Start/StartRequestBuilder.php @@ -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..acdc13be849 100644 --- a/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilder.php @@ -133,7 +133,7 @@ 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; } @@ -154,7 +154,7 @@ public function toGetRequestInformation(?PrinterItemRequestBuilderGetRequestConf } $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(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/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.php index 0dcdac2bf82..5bf5e4432ef 100644 --- a/src/Generated/EscapedPrint/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.php @@ -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..113e258c12b 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilder.php @@ -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/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..f68f3a22583 100644 --- a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -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/TaskTriggersRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.php index ccdd5327e98..201d440a32f 100644 --- a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TaskTriggersRequestBuilderGetRequestCon } $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(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/PrintersRequestBuilder.php b/src/Generated/EscapedPrint/Printers/PrintersRequestBuilder.php index 9c6341cd17a..d746216fe8d 100644 --- a/src/Generated/EscapedPrint/Printers/PrintersRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/PrintersRequestBuilder.php @@ -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/Services/Item/Endpoints/EndpointsRequestBuilder.php b/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilder.php index 3f8b95707a2..d9ced596db1 100644 --- a/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilder.php @@ -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/Item/PrintServiceEndpointItemRequestBuilder.php b/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.php index 24c82ef28f6..488b5f4de49 100644 --- a/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/PrintServiceItemRequestBuilder.php b/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilder.php index cdf9b2f959c..e7e8b82fd94 100644 --- a/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/ServicesRequestBuilder.php b/src/Generated/EscapedPrint/Services/ServicesRequestBuilder.php index 94dd9064d24..eab9e8f55e3 100644 --- a/src/Generated/EscapedPrint/Services/ServicesRequestBuilder.php +++ b/src/Generated/EscapedPrint/Services/ServicesRequestBuilder.php @@ -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/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php index cfd845b5946..689df35e3af 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php @@ -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/Item/Ref/RefRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.php index d9a8a842c50..fe4bb8b62f7 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/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/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..104a077cabd 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/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/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php index 3e8fe83710e..2634ab5c8df 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php @@ -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/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..1eb8d25f8eb 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/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/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..3a22e19bc56 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/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/EscapedPrint/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.php index 20d19397652..26c7c43712e 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.php @@ -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..d82a43ab28d 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.php @@ -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..5b2407f46e1 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 @@ -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..d58728a6292 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php @@ -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..a5f19a51264 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Start/StartRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Start/StartRequestBuilder.php @@ -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..c6824989577 100644 --- a/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php @@ -125,7 +125,7 @@ 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; } @@ -146,7 +146,7 @@ public function toGetRequestInformation(?PrinterShareItemRequestBuilderGetReques } $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(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/SharesRequestBuilder.php b/src/Generated/EscapedPrint/Shares/SharesRequestBuilder.php index 43c3892aef3..40fbba23c7c 100644 --- a/src/Generated/EscapedPrint/Shares/SharesRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/SharesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SharesRequestBuilderGetRequestConfigura } $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(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/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.php index 754a01f5e6a..0d906e832a1 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?PrintTaskDefinitionItemRequestBuilderGe } $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(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/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..c48fe9797f8 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.php @@ -108,7 +108,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; } @@ -129,7 +129,7 @@ public function toGetRequestInformation(?PrintTaskItemRequestBuilderGetRequestCo } $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(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/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..dc63e794c17 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilder.php @@ -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/TaskDefinitionsRequestBuilder.php b/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilder.php index 398d05557aa..272dd136332 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TaskDefinitionsRequestBuilderGetRequest } $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(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/External/Connections/ConnectionsRequestBuilder.php b/src/Generated/External/Connections/ConnectionsRequestBuilder.php index 8c6372fbce0..b0f0affba9d 100644 --- a/src/Generated/External/Connections/ConnectionsRequestBuilder.php +++ b/src/Generated/External/Connections/ConnectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ConnectionsRequestBuilderGetRequestConf } $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(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/Item/ExternalConnectionItemRequestBuilder.php b/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.php index 01d9d28eef5..3fdba08180b 100644 --- a/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.php @@ -125,7 +125,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; } @@ -146,7 +146,7 @@ public function toGetRequestInformation(?ExternalConnectionItemRequestBuilderGet } $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(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/Groups/GroupsRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.php index 9dfd3256786..2693a13cd99 100644 --- a/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $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(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/Item/ExternalGroupItemRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php index 04787b1ff56..2c7ee12ca1c 100644 --- a/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ExternalGroupItemRequestBuilderGetReque } $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(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/Members/Item/IdentityItemRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php index e3b9c579b0a..7b0a1fbfbc1 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 @@ -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..a0693c5d643 100644 --- a/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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..85ff96739c9 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -108,7 +108,7 @@ 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; } @@ -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/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..5766d50ed9b 100644 --- a/src/Generated/External/Connections/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/External/Connections/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(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/Operations/Item/ConnectionOperationItemRequestBuilder.php b/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php index cd52b7efdc9..e242481c961 100644 --- a/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.php index e23d02a3a0a..54582d693be 100644 --- a/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/External/Connections/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(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/Schema/SchemaRequestBuilder.php b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php index 1f07526c56e..7060701dbbf 100644 --- a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..0877d546358 100644 --- a/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?GroupLifecyclePoliciesRequestBuilderGet } $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(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/Item/AddGroup/AddGroupRequestBuilder.php b/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php index 2df2872f54a..5069deb9719 100644 --- a/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php @@ -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..85501f09261 100644 --- a/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php @@ -109,7 +109,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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?GroupLifecyclePolicyItemRequestBuilderG } $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(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/RemoveGroup/RemoveGroupRequestBuilder.php b/src/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php index 535db5136f5..f9900743a42 100644 --- a/src/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php @@ -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..e39abe283c2 100644 --- a/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..6f13e80c13f 100644 --- a/src/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.php @@ -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..225ef1cd20f 100644 --- a/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.php @@ -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/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index d468e054432..704520bd34d 100644 --- a/src/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..9c479fb4b97 100644 --- a/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..4b058c912de 100644 --- a/src/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..8eb019402ff 100644 --- a/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/Restore/RestoreRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php index a53e8262cc6..e9f7dd53113 100644 --- a/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php @@ -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..8d4dd0e97fd 100644 --- a/src/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..5a39ce2ad38 100644 --- a/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php +++ b/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?GroupSettingsRequestBuilderGetRequestCo } $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(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/Item/GroupSettingItemRequestBuilder.php b/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.php index c7660772091..3581699bde4 100644 --- a/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.php +++ b/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?GroupSettingItemRequestBuilderGetReques } $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(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/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..df3a8aaf9b2 100644 --- a/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..93f09455691 100644 --- a/src/Generated/Groups/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Groups/GetByIds/GetByIdsRequestBuilder.php @@ -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..dca0fe4eb0e 100644 --- a/src/Generated/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/GroupsRequestBuilder.php @@ -133,7 +133,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php index 83e5cf1efc9..070613db57b 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php @@ -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/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..38e1f992503 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/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/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php b/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php index 79ad9e36eb4..d3266e5f033 100644 --- a/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php +++ b/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php @@ -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..b6a82681470 100644 --- a/src/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AppRoleAssignmentsRequestBuilderGetRequ } $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(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..c1fb57126a9 100644 --- a/src/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php @@ -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..ca4a0c65d6d 100644 --- a/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php +++ b/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php @@ -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..e6c01cc1b85 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CalendarPermissionsRequestBuilderGetReq } $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(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/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index 4be06f644cc..3a857c46ab9 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?CalendarPermissionItemRequestBuilderGet } $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(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/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..d1016bc3803 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php @@ -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/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php index bcf4182fb3c..78ad13b6c88 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -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 099478c23e0..efc4673f39a 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index a1d3276cc50..b22ffcae61c 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 @@ -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..f4ef5a31855 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 @@ -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..0003ec98080 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -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..19f9f30088b 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -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..2a569230a3e 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -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..22e9400835c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index d96cf5ec643..ea08897971e 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php index 166d0f9b9de..2ba4a0ef734 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -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..30a0e39c56c 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 @@ -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/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..d02ff190a95 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 @@ -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 a076aad8037..bb93497ee50 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 8d8ad129c32..7b9e51bc4b7 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 @@ -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..2e25346b7cf 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 @@ -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..56859e19d20 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 @@ -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..b728ea8f505 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 @@ -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..580e3feb717 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 @@ -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..2f03bd0d47d 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 971f6e179d5..b11575d3e0f 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 3201618275b..abc2fb5c3d1 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 @@ -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..c22848fa370 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 @@ -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..f4fd7864226 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 @@ -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..8eef3472c2c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -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..b58c46a227d 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -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..431b1f97fab 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.php @@ -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/EventsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.php index 21bd526fdd0..ada853a1704 100644 --- a/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $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(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/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php index 40c49c40cba..ebbf28fc445 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php @@ -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 c3bbc334989..180c0d7edcf 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 82bb80ad3b9..58e8506895f 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 @@ -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..401cd275869 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 @@ -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..5d73aef6b15 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php @@ -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..083da676b62 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php @@ -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..b0fb3313a51 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -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..38899acbd7f 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.php @@ -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,7 +200,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $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(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..3c11e95a4a9 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 186072c6ab6..a98e524fde2 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php index fcd255d3d4f..dbcd07e1062 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php @@ -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..c59f7fd68c0 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 @@ -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/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..30dd391a175 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 @@ -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 46c62b88dac..164eeec893d 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 041c300e3ba..ea852b7c7e7 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 @@ -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..1f1acc0f246 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 @@ -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..d7498f57752 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 @@ -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..27371280cd7 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 @@ -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..80ef01b52ed 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 @@ -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..ad330128a95 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 42ad7c1376b..09089fb0e9a 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index b09bd5d1c34..3c99c504d1b 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 @@ -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..42174554a6b 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 @@ -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..c47c417e0bd 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 @@ -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..177a4660a05 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -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..406d9443185 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -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..9960baa8bc1 100644 --- a/src/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php @@ -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..ee6fe272330 100644 --- a/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.php @@ -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/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php index b9c03648956..5ad83ee8c96 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -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 e03bdbe075b..eae93c450de 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 262420b73f6..de4414c9f65 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -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..6cf99aaaf9a 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -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..8cda69afc4d 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -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..c9cbfae7394 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -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..dfb1e725d5a 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -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..e5d23d9e866 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index a833872fff8..6eefd62e2c2 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php index 428e6443eab..279eb4653f2 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -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..7271309f352 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php @@ -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/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..6f14f5efbca 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 @@ -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 eae2f5e640d..6f80ecae845 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 9238e30e5da..d55e5caa528 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 @@ -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..e81ce283747 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 @@ -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..fd03fb7e79e 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 @@ -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..c1dae0a3345 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 @@ -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..0322b6837c8 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 @@ -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..2e56497cb54 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 0717ab7bb0e..a03f7967960 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 6eef3dff4d5..a7593453b1e 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 @@ -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..5647cb10f75 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 @@ -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..a58aee2cbe4 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 @@ -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..4416cbc75c1 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -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..35b06eedcdd 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -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..58651dbc52e 100644 --- a/src/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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 d197e6d254c..eed4ddce0ca 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -68,12 +68,12 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * 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. + * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|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/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 Find more info here */ public function post(Conversation $body, ?ConversationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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; } /** - * 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. + * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. * @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/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index 3e01d335a91..048c1e2e5aa 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration } /** - * This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. * @param ConversationItemRequestBuilderGetRequestConfiguration|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-get-conversation?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 Find more info here */ public function get(?ConversationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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. + * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. * @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..91039b9f9bb 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. + * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. */ 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..8ea0be12c92 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 @@ -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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index ba111566245..c1feb35bb7b 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 @@ -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..5229adf28ec 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 @@ -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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 54b84ff769a..cad056f445e 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 @@ -92,7 +92,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; } @@ -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/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..65652cd3d22 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 @@ -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..96dc8d5efe1 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 @@ -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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 837fc880325..04ba941ff70 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 @@ -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..8be092d8e16 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 @@ -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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php index 0fcdbcd8559..93b9f4baaf6 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 @@ -92,7 +92,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; } @@ -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/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..58e0b642661 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 @@ -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..d24da237eb3 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 @@ -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..0a2220bbf09 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 @@ -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..4d0f6da0441 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 @@ -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/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php index fc49f20d617..4dab3186de2 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,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. 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. This API is available in the following national cloud deployments. * @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/conversationthread-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-post-attachments?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 thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. 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. This API is available in the following national cloud deployments. * @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..4fcb2282df7 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ThreadsRequestBuilderGetRequestConfigur } $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(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/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..180139bd012 100644 --- a/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.php @@ -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/EventsRequestBuilder.php b/src/Generated/Groups/Item/Events/EventsRequestBuilder.php index ba893a0fc9c..55f00b7f2d0 100644 --- a/src/Generated/Groups/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/EventsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $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(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/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.php index 7bf3852954e..95f81f750f4 100644 --- a/src/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.php @@ -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 92c0dcab863..02736fead70 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 6cc0bf3ab5a..2330bdcc6b9 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -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..2a6544f7710 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -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..624f4254714 100644 --- a/src/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.php @@ -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..a24dc1bbb7e 100644 --- a/src/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.php @@ -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..546c21ef04e 100644 --- a/src/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -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..28d44b44f19 100644 --- a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php @@ -180,7 +180,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; } @@ -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/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php index e161653e337..d27946317b9 100644 --- a/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 609bf628a46..f3e40ff5f49 100644 --- a/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.php index 6c82b819ea4..8d25da64a91 100644 --- a/src/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.php @@ -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..a1106c53352 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php @@ -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/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..4f612823342 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 @@ -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 75bad0e7055..1a1998d3161 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index f44b5e5f7de..71b7a4bdfdc 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 @@ -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..bf9892010b9 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 @@ -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..7d02a77d277 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 @@ -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..8886a8ab353 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 @@ -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..7707d2237f3 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 @@ -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..780b5efd048 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 7e16a2d5064..74f56276e18 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index e70c6a621b2..72dc8b46832 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 @@ -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..76c5bf2d2f7 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 @@ -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..fc95ef82496 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 @@ -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..736fbd53820 100644 --- a/src/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -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..ef9848f5fac 100644 --- a/src/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -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..ac1cf2560d4 100644 --- a/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..137874a9ab5 100644 --- a/src/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..8d3bf3f9991 100644 --- a/src/Generated/Groups/Item/GroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupItemRequestBuilder.php @@ -437,7 +437,7 @@ 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; } @@ -458,7 +458,7 @@ public function toGetRequestInformation(?GroupItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php b/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php index adebd0a2153..21657d8bf36 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php @@ -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/Item/AddGroup/AddGroupRequestBuilder.php b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php index a6a7807abed..20f0f4a6934 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php @@ -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..4a21af76c07 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php @@ -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..9331124d39a 100644 --- a/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/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/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..9497f047e9a 100644 --- a/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/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/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..78b7e6a7c02 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php @@ -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..5075d514c58 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php @@ -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..7e570689d26 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php @@ -115,7 +115,7 @@ 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; } @@ -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/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..aa6144fa004 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 @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 69703c4efb8..8ee4f17b4e6 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 @@ -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..49bc6358748 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 @@ -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..2cd168c6fe0 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 @@ -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..3af2ee0cafb 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..23bff1e70b9 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php index ff2b42b8302..926cf2d0f59 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $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(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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 42477c7ba80..f7e1af04729 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 @@ -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..32e53eda5ab 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 @@ -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..5b60e466b19 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 @@ -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..6994af52c3f 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..33365eda582 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/NotebooksRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.php index b928b83aed6..6b61d855da8 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.php @@ -119,7 +119,7 @@ public function toGetRequestInformation(?NotebooksRequestBuilderGetRequestConfig } $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(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/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..d3fe196548f 100644 --- a/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.php index 4990e154a92..75852c42e8d 100644 --- a/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/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(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/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..f120aec3b60 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -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..5d2d1b905fe 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php @@ -140,7 +140,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; } @@ -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/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..4a30523207a 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..88c4d61447a 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -123,7 +123,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; } @@ -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/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..ca0ccc1c3f5 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index df39d47e466..f6a913beeac 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 @@ -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..0c36d84de1b 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 @@ -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..2b20d68c3ab 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 @@ -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..a1f662cd1a4 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..a4d6852573b 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php index 4118cf5e86b..f4ae3222962 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index c4f94e891cf..7e65ef6e8b8 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -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..b95e431cc04 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -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..e56a0d91706 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -131,7 +131,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; } @@ -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/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..ed05bb4d523 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 @@ -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..4b5129f9c13 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..cf0b5653abe 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.php @@ -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/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..60ec8bae938 100644 --- a/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/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/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..005acbc1704 100644 --- a/src/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/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/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..b863f5618ea 100644 --- a/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -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/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..99c4122a0d8 100644 --- a/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php +++ b/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php @@ -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/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..8148f69e697 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php @@ -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/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..2955b114cd2 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 @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 03bccea7081..b3359e59d13 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 @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php index d4ac9b1d5bd..8aaf5498fc4 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 @@ -92,7 +92,7 @@ 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; } @@ -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/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..be6231b3db1 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 @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php index 06b1b2e889a..0f914ef38d9 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 @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php index b75d7ce9559..63a89d8a4e6 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/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..92d7900ea92 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 @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 4cacc6948b1..61ed6a706f6 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 @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php index 7a5636ca8e0..5e1270d19ca 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 @@ -92,7 +92,7 @@ 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; } @@ -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/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..4cf17a6df95 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 @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php index a9bac8c4ed5..75fb8cf21cf 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php @@ -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/PlansRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.php index f648b22e70d..1a3ccfee508 100644 --- a/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.php @@ -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/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..2935b8ddea6 100644 --- a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/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/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php index 1b54c63dac1..01ec8d151df 100644 --- a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php @@ -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/RemoveFavorite/RemoveFavoriteRequestBuilder.php b/src/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.php index 4a7dc9c4afb..38493e38761 100644 --- a/src/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.php +++ b/src/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.php @@ -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..6db467fb85d 100644 --- a/src/Generated/Groups/Item/Renew/RenewRequestBuilder.php +++ b/src/Generated/Groups/Item/Renew/RenewRequestBuilder.php @@ -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..5baf7c3fcea 100644 --- a/src/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.php +++ b/src/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.php @@ -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..cef8ab5baa8 100644 --- a/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php @@ -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..5de60881e20 100644 --- a/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?GroupSettingItemRequestBuilderGetReques } $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(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/SettingsRequestBuilder.php b/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php index 81753f96e45..0b30ab32f6a 100644 --- a/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $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(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/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..3bf0e1e91e4 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php @@ -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/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..d2972617cac 100644 --- a/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/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..eaa454b968f 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -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..1e488ac53b3 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -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..9bc826dfb41 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php @@ -125,7 +125,7 @@ public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..fe5a40c484f 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 @@ -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..da07b6e69b9 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index ffc2cb57a9c..814565c3977 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 @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $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(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/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..040e34221ff 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php @@ -173,7 +173,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; } @@ -194,7 +194,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php index 4705b1e73e3..7867f765316 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 @@ -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..30de568897a 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 @@ -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..dd034d6c781 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 @@ -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..c8cb21effb2 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/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..652d643b044 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 @@ -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..3537d8bb34e 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 @@ -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..8823452bfed 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 @@ -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/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..7b86380f121 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 @@ -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..2325721b388 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 33f0b8cb2c5..3e744326cdc 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 @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $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(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/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..9f8abbfd83d 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 @@ -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..b7677768ec1 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 @@ -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..024d181ce6a 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 @@ -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..6b170809271 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } $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(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/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index b09b28ac233..27cd0773714 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 @@ -108,7 +108,7 @@ 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; } @@ -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/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..faee1cbade7 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 @@ -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..b3557004c60 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 @@ -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,7 +112,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $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(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..146b13265ab 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 @@ -168,7 +168,7 @@ 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; } @@ -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/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..6e74e49bc96 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 @@ -107,7 +107,7 @@ 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; } @@ -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/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index b3eda8ef5e3..a056ad35c5b 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 @@ -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..590f5c0486c 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 @@ -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/ItemsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php index 55a97cd352d..fee89250eb0 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 @@ -93,7 +93,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..73a60222a6d 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. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. * @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..c168918ab7e 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. This API is available in the following national cloud deployments. */ 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..f74308cbc12 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 @@ -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..07b4ff45be0 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ListsRequestBuilderGetRequestConfigurat } $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(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/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php index 160bcfa6284..0c80639c407 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 @@ -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..6964494adfe 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 @@ -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..c752a2fc94e 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 @@ -115,7 +115,7 @@ 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; } @@ -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/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..2dc0e54fa60 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 @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index c4b5db6f658..c5133c82d7e 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 @@ -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..b8ddf64080b 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 @@ -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..3d30df39fc2 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 @@ -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..1c5c2a0b384 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..b056f7b6b9a 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php index 354f7fd23fd..6bf8bf4e77c 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $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(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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 094ed397961..006b68b988b 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 @@ -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..d24e079b365 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 @@ -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..ce0c054fc1a 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 @@ -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..44a8da7ea99 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..1a2664152fc 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/NotebooksRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php index bfdc3cf6db1..724a8b3a78d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php @@ -119,7 +119,7 @@ public function toGetRequestInformation(?NotebooksRequestBuilderGetRequestConfig } $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(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/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..a961f4ef6d2 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 @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php index 79ea0cef3dd..2352c3737f5 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/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(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/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..9053f98cc1e 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 @@ -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..bab33edb2f9 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 @@ -140,7 +140,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; } @@ -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/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..bc3280ecb27 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..f3e973f9f91 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 @@ -123,7 +123,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; } @@ -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/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..d45c9bbfb1f 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 @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 4142e051320..b3fe666050b 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 @@ -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..f8040a78c07 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 @@ -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..e0f8d874ad8 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 @@ -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..916bff2c1e6 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..70d62ad7556 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php index 6ff7111e52e..0b348542273 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index abfadd8ce29..f647b047f50 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 @@ -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..eb5b4ada85f 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 @@ -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..6d9c7b6e22f 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 @@ -131,7 +131,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; } @@ -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/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..e2a1f0e406a 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 @@ -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..a00bd5b709a 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..77ff72bbc99 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php @@ -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/Operations/Item/RichLongRunningOperationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php index 67578f86c9e..ad9e30d6076 100644 --- a/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.php index 550975dc7a9..5e5d48b405a 100644 --- a/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.php @@ -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/Permissions/Item/Grant/GrantRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php index 1c8ad054883..c84048943dc 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 @@ -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..7120f80ea87 100644 --- a/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?PermissionItemRequestBuilderGetRequestC } $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(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/PermissionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.php index bfebe7fde24..0e8ee25444a 100644 --- a/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PermissionsRequestBuilderGetRequestConf } $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(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/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..a1c140ec86b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.php @@ -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/TermStore/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php index 1365b6e512f..bfac8b80b4f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $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(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/Item/GroupItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php index 34231fd67a3..67442b087f6 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 @@ -100,7 +100,7 @@ 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; } @@ -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/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 01fe2a0ec4e..f3bbca3d4ea 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 @@ -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(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/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..3da0c05babd 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 @@ -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/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..ff736b4c766 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index 54c00c13252..4090435e138 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php index 2234403b36c..ef931425bcb 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 @@ -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/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php index a51e58504ee..b7bb8763f05 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 @@ -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(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/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..91733dbec63 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 @@ -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(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/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..9eb3eb74adc 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 @@ -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/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..6e838a7f4e5 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php index ea5eda2e008..428b6bfd5a3 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php index 66c2b05353e..90cf1429374 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 @@ -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/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..31cb43ad7d1 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 @@ -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/SetItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php index b8818e7d91e..1a377cc9965 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 @@ -125,7 +125,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; } @@ -146,7 +146,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $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(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/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..bce63797f88 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php index 5350aae51e5..2bf45e482e4 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.php index 116210dab81..2fae6ed7433 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.php @@ -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/TermStoreRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.php index 189776673c3..02dbef719d6 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.php @@ -108,7 +108,7 @@ 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; } @@ -129,7 +129,7 @@ public function toGetRequestInformation(?TermStoreRequestBuilderGetRequestConfig } $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(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/TermStores/Item/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php index 2d956b1fb3c..9b1bb2edf5f 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $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(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/Item/GroupItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php index 3253cb1c26d..b9f16540bb5 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 @@ -100,7 +100,7 @@ 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; } @@ -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/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php index e6ff106a9e5..b51773ed58a 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 @@ -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(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/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..59bd3e452e9 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 @@ -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/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..6f2bb764f3e 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index ff2e1c1543a..b13e1fb38b2 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php index bceedda8f0c..08fddcb9e41 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 @@ -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/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 02d5edd4c15..1711e1bcb1d 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 @@ -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(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/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..161190a5221 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 @@ -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(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/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..abb4f62bed0 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 @@ -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/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..d063ff23de5 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php index 5451d70e9a3..3060d008ae1 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php index 7133e8217b5..ddb407eec3b 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 @@ -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/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..94711f82ede 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 @@ -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/SetItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php index 0f1a46e211c..533223087c8 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 @@ -125,7 +125,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; } @@ -146,7 +146,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $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(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/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..d578e1ff4e2 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php index b06c90275cf..59100e41446 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php index c6adf8f8fcf..a7517d342f0 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 @@ -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/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..d283a857793 100644 --- a/src/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.php +++ b/src/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.php @@ -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..88070ae09da 100644 --- a/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.php @@ -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/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..7a8a861f8ae 100644 --- a/src/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.php @@ -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..f6fb487dda6 100644 --- a/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ChannelsRequestBuilderGetRequestConfigu } $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(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/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..499481c461c 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php @@ -165,7 +165,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; } @@ -186,7 +186,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index d19be554693..a3e6c059fa5 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..38466ac91c3 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php @@ -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/Members/Add/AddRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.php index ac0a9a1ddc7..63582f1c7d1 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 @@ -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..3422506853a 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 @@ -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. This API is available in the following national cloud deployments. * @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); @@ -93,7 +93,7 @@ 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; } @@ -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. This API is available in the following national cloud deployments. * @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/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php index a79258f4502..14ecbbf21e3 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..9d7575d58d8 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 @@ -140,7 +140,7 @@ 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; } @@ -161,7 +161,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $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(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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 8791fd00b78..4acfe0f6c53 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..98a141578a2 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 This API is available in the following national cloud deployments. */ 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..3f34dcec26c 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..9c9edfea71d 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 @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 7c10e4b85f8..f9e0230237b 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..24d35f0e2cf 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 This API is available in the following national cloud deployments. */ 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..f744c51f141 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..bda50dfc77b 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 @@ -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..c471a3ced83 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 @@ -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 bd3555a09b4..6158fce787e 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..70bbbf935e2 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 @@ -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..8ad7c4ef942 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 @@ -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..ce81f0375bd 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php @@ -76,12 +76,12 @@ 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. This API is available in the following national cloud deployments. * @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/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php index 84273a2d23d..e4aaadd5e46 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -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..6c627083aab 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php @@ -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..c5ea3708451 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 @@ -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/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..d5e433de2b1 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 @@ -108,7 +108,7 @@ 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; } @@ -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/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..fe6fb554d7a 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -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/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..c4b9e60e1cb 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 @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.php index d928f5d330a..6d9a0299e85 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.php index 25dbde744dc..cbf73aa342e 100644 --- a/src/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..efe35b9b4fb 100644 --- a/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php @@ -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..2a8f1aaed0e 100644 --- a/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.php @@ -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/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..64fdaafabfd 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $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(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/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..b65bf7a426f 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -116,7 +116,7 @@ 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; } @@ -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/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index 0ccb99b9cd1..a9f29d4aac3 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php @@ -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..8ee9f4f44ea 100644 --- a/src/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Members/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/Team/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.php index 18d2d664e9f..fd536a924e0 100644 --- a/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $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(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/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php index 64ef87fc79b..ca4f8434edf 100644 --- a/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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/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..e410d84c3c5 100644 --- a/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -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/Photo/PhotoRequestBuilder.php b/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.php index 05b544f10a3..0d6f730f99f 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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. * @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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. * @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 a53347a14fe..a8408db90e1 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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. */ 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..e5315512830 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..a7853ec652e 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php @@ -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/Members/Add/AddRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.php index 27330f0b961..cd929f45c7b 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/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/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php index 6bd477ab676..6722d207bb5 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -93,7 +93,7 @@ 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; } @@ -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. This API is available in the following national cloud deployments. * @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/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php index d3cae6c5edf..a480b7350e0 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..f75e7c0d50a 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php @@ -140,7 +140,7 @@ 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; } @@ -161,7 +161,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $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(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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 89996321cd8..23e9b7e6b25 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..0975e365e8a 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 This API is available in the following national cloud deployments. */ 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..4f8974b4859 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..c0d4ae4d075 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 @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index b108a07ff79..841ea7ee137 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..58b24c773ba 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 This API is available in the following national cloud deployments. */ 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..d2f6ffd81ed 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..7211ff9f6d5 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 @@ -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..f7434c4a9bd 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 @@ -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 397ae63fda9..82ed90793e0 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..e90b941749e 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 @@ -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..862d8f65f75 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 @@ -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..778d3f4a2f7 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -76,12 +76,12 @@ 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. This API is available in the following national cloud deployments. * @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/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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/PrimaryChannelRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php index 77661e4e44b..021d8f15bfc 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -163,7 +163,7 @@ 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; } @@ -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/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php index 98b0b723ef5..8f4e7d43db1 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -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..39094a46de5 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php @@ -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..5d098292953 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 @@ -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/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..e19ea5e6f15 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -108,7 +108,7 @@ 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; } @@ -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/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..c85822fa091 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -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/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..d718e655a91 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.php index 3fb67945aaf..d90010e01b9 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php index fd770ca218f..376bae71085 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OfferShiftRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php index 100b552eb6c..70fc318e475 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OfferShiftRequestsRequestBuilderGetRequ } $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(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/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php index b57e78c08ee..ff51bbe3f12 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OpenShiftChangeRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php index be264cfa16e..97f11052351 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OpenShiftChangeRequestsRequestBuilderGe } $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(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/OpenShifts/Item/OpenShiftItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php index 925037b4c79..21b7a157a39 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/OpenShiftsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.php index 3578f916836..d521209d881 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OpenShiftsRequestBuilderGetRequestConfi } $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(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/ScheduleRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php index 46a21921ca4..1f982f5b066 100644 --- a/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php @@ -171,7 +171,7 @@ 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; } @@ -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/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index 0750808109e..60dd658fa06 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/SchedulingGroupsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index f80264ffdf3..e11fc5f0c24 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SchedulingGroupsRequestBuilderGetReques } $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(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/Share/ShareRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.php index d96a4d76602..a1b982d00ac 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.php @@ -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..e17abcad3d8 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/ShiftsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php index be994ad754a..e682c6b63f3 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ShiftsRequestBuilderGetRequestConfigura } $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(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/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php index 9d8feecd382..87dff1ec3a4 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/SwapShiftsChangeRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php index f8ac4b5408b..27dca650eff 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestsRequestBuilderG } $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(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/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index 72d234cc6c6..ba1a1d0dde7 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/TimeOffReasonsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index cbce71c22af..1d28c753283 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TimeOffReasonsRequestBuilderGetRequestC } $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(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/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index c66ed7afacd..f883a960034 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/TimeOffRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index 72c8828691f..0f4663cedf2 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -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/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index b2d55fb35e1..6460ad8b1c8 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/TimesOffRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php index 3c0cbc4dcf6..9704bd6c9f2 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TimesOffRequestBuilderGetRequestConfigu } $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(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/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.php index b29eda5e462..c91fa7f9f17 100644 --- a/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -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..d0cba8e338c 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 @@ -92,7 +92,7 @@ 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; } @@ -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/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.php index a73e06dc050..4eec91628dd 100644 --- a/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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/TeamworkTagItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.php index a2cc5d147c9..377d0162f34 100644 --- a/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamworkTagItemRequestBuilderGetRequest } $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(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/TagsRequestBuilder.php b/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.php index 259da8c93ba..6b5b430c004 100644 --- a/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TagsRequestBuilderGetRequestConfigurati } $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(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/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..55340ff1516 100644 --- a/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php @@ -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..8853e222a81 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. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. * @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); @@ -96,7 +96,7 @@ public function patch(ConversationThread $body, ?ConversationThreadItemRequestBu } /** - * This API is available in the following national cloud deployments. + * Delete conversationThread. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,7 +130,7 @@ public function toGetRequestInformation(?ConversationThreadItemRequestBuilderGet } $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(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..c4a441e7845 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. This API is available in the following national cloud deployments. */ 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..62e77bd341a 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 @@ -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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index eefebb3362c..317cf6c6330 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 @@ -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..7ef5f07427a 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 @@ -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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 820d086339f..9153b43bcf8 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 @@ -92,7 +92,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; } @@ -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/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php index bb63f325c92..3f7ba13af48 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 @@ -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..00bcd4585b9 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 @@ -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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 117ba9bb7e1..fac84393a96 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 @@ -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..d2400bd84db 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 @@ -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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php index 48be21ec528..6416fc1d83c 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 @@ -92,7 +92,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; } @@ -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/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..1f2dafa314c 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 @@ -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..563cb28d3ee 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 @@ -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..0451480bff7 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 @@ -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..55b78c40f4d 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -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/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 8f1efe22c9c..1d85c06af3b 100644 --- a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. 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. This API is available in the following national cloud deployments. * @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/conversationthread-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-post-attachments?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 thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. 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. This API is available in the following national cloud deployments. * @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..8a64c884a9a 100644 --- a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ThreadsRequestBuilderGetRequestConfigur } $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(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/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 82f63917c12..7b3ed743af6 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. * @param DirectoryObjectItemRequestBuilderGetRequestConfiguration|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(?DirectoryObjectItemRequestBuilderGetRequestConfiguration $r } /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. * @param DirectoryObjectItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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/DirectoryObjectItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php index 1a0fbb3604b..e536fa0ed0f 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. */ class DirectoryObjectItemRequestBuilderGetQueryParameters { 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 10296851db2..38f0c356cb4 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php @@ -67,7 +67,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. * @param TransitiveMemberOfRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function get(?TransitiveMemberOfRequestBuilderGetRequestConfiguration $re } /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. * @param TransitiveMemberOfRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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/TransitiveMemberOf/TransitiveMemberOfRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilderGetQueryParameters.php index 76832324f3b..1a9d908a849 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The groups that a group is a member of, either directly and through nested membership. Nullable. + * The groups that a group is a member of, either directly or through nested membership. Nullable. */ class TransitiveMemberOfRequestBuilderGetQueryParameters { 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..cb1331bfdc0 100644 --- a/src/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.php +++ b/src/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.php @@ -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..a9747b1ddd6 100644 --- a/src/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..10880a11734 100644 --- a/src/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..2031352d6bd 100644 --- a/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.php +++ b/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ApiConnectorsRequestBuilderGetRequestCo } $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(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/Item/IdentityApiConnectorItemRequestBuilder.php b/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.php index 763e8199214..9bc019ad5c6 100644 --- a/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.php +++ b/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?IdentityApiConnectorItemRequestBuilderG } $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(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/UploadClientCertificate/UploadClientCertificateRequestBuilder.php b/src/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.php index 8ed4e9da835..7cc31857f4b 100644 --- a/src/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.php +++ b/src/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.php @@ -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..b5ddafecf39 100644 --- a/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?B2xUserFlowsRequestBuilderGetRequestCon } $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(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/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..0e823fa91e7 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.php @@ -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..73a2c65048d 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.php @@ -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..a57cfb816b8 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.php @@ -132,7 +132,7 @@ 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; } @@ -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/IdentityProviders/IdentityProvidersRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.php index 327a25713da..2991331fa2b 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.php @@ -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/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..2d849bb8e15 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php @@ -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/UserFlowLanguageConfigurationItemRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.php index 0ee92d604a4..2dd2c8f3254 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/LanguagesRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.php index faea22c7c58..adc2d759362 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.php @@ -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/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..3b7d5d411a1 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?IdentityUserFlowAttributeAssignmentItem } $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(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/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..c99bd32b865 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.php @@ -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..36c5c13c097 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.php @@ -117,7 +117,7 @@ public function toGetRequestInformation(?UserAttributeAssignmentsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..37fb3f3594b 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.php @@ -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/Item/AuthenticationContextClassReferenceItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.php index 2a09ff88bd7..be38ce3229a 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AuthenticationContextClassReferenceItem } $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(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/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.php index f91fed9c08d..68194bbfdc2 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.php @@ -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/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..1d278eb2a9f 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CombinationConfigurationsRequestBuilder } $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(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/AuthenticationCombinationConfigurationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php index 908d90d873b..5eca5c435af 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 @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AuthenticationCombinationConfigurationI } $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(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/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php index f81d5ce8e91..c4366456a19 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php @@ -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 52c60eddb96..3ac26c8c013 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -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 an ipNamedLocation object. This API is available in the following national cloud deployments. * @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/ipnamedlocation-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 a countryNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. * @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/countrynamedlocation-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 Find more info here */ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -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 an ipNamedLocation object. This API is available in the following national cloud deployments. * @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 a countryNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. * @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..3b1f9dc1e9b 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 an ipNamedLocation object. This API is available in the following national cloud deployments. */ class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php index 99c7b273264..8f07641252d 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?NamedLocationsRequestBuilderGetRequestC } $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(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/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php index 29f1a277bff..af0d07fe497 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php @@ -93,7 +93,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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ConditionalAccessPolicyItemRequestBuild } $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(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/PoliciesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php index 55bb2b3666c..c52e27560bb 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PoliciesRequestBuilderGetRequestConfigu } $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(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/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.php index 505336624b9..2f8a1043d9b 100644 --- a/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.php @@ -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/TemplatesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.php index cfcdb75ed59..e2c989fee87 100644 --- a/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.php @@ -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/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..d8f9eb09109 100644 --- a/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.php +++ b/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?IdentityProvidersRequestBuilderGetReque } $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(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/Item/IdentityProviderBaseItemRequestBuilder.php b/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.php index 6bb0390e5ad..578bbb39ae5 100644 --- a/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.php +++ b/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.php @@ -93,7 +93,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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?IdentityProviderBaseItemRequestBuilderG } $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(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/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..f8283076d08 100644 --- a/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.php +++ b/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?IdentityUserFlowAttributeItemRequestBui } $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(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/UserFlowAttributesRequestBuilder.php b/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.php index 1412892c653..6f6d0bb779f 100644 --- a/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.php +++ b/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?UserFlowAttributesRequestBuilderGetRequ } $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(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/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..165596c6199 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DefinitionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..db9c91f6995 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php @@ -109,7 +109,7 @@ 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; } @@ -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/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..4b5967f2c68 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.php @@ -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/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.php index 0655873257b..a1b3fb7b042 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 @@ -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..e7f028f2520 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php @@ -164,7 +164,7 @@ 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; } @@ -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/ApplyDecisions/ApplyDecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.php index 542554ae4c6..78e5367be6e 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 @@ -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..28e76b6e74b 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 @@ -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..10b24b3282e 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 @@ -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/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..747209b9d57 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 @@ -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/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..61d94ed5509 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..85a64be3dd8 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 @@ -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..580d87cfdbc 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 @@ -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..ffcaf2f251f 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 @@ -108,7 +108,7 @@ 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; } @@ -129,7 +129,7 @@ public function toGetRequestInformation(?AccessReviewStageItemRequestBuilderGetR } $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(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/Decisions/DecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php index dc2546116e2..559bdfedb35 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 @@ -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/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..1d622dd78b5 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 @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?AccessReviewInstanceDecisionItemItemReq } $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(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/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..dd3ce394df0 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 @@ -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..1355af9f41a 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 @@ -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/Stop/StopRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.php index d9f242a4fc1..c26e66da3f9 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 @@ -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..844c33a2069 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?HistoryDefinitionsRequestBuilderGetRequ } $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(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/Item/AccessReviewHistoryDefinitionItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.php index e0cecc5256c..3f6ec128780 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/Instances/InstancesRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.php index 04f8ad130ac..f91b669aa78 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.php @@ -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/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..097011dfdb0 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 @@ -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..8252963d659 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.php @@ -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/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..a66ed062560 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..b373c097257 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 @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ApprovalStageItemRequestBuilderGetReque } $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(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/StagesRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.php index 0ae3bc20265..1a1b187209f 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 @@ -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/UserConsentRequestItemRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.php index 75349f4eee9..cfc413c144f 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/UserConsentRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.php index a93d84d52bc..b5c976c8ec6 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.php @@ -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/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.php index cb9f9927fd3..8d8984cedee 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.php @@ -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/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..fa216d59582 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.php @@ -99,7 +99,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; } @@ -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/Stages/Item/ApprovalStageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php index 858d3a1bcb3..f345da1eaea 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ApprovalStageItemRequestBuilderGetReque } $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(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/StagesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.php index f0d0c5e40a1..86861c375f6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.php @@ -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/AccessPackages/AccessPackagesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.php index e8c40e9d7c6..4c955807e6c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..24b4b5c42c0 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -103,11 +103,11 @@ 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 the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|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/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 Find more info here */ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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 the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -170,7 +170,7 @@ public function toGetRequestInformation(?AccessPackageItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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..6f1e05d4bf9 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 the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. */ 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..41471a30065 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.php @@ -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/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..9512e484c1e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.php @@ -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..deeded6bb78 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php @@ -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/Item/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.php index f3e5ac49884..c3d75ae12f7 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 @@ -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/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.php index d522afa130e..514899d85a2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/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/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php index b544b3ecd84..821d3ece691 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php @@ -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/Item/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.php index 968f2120d61..b775d0ad893 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 @@ -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/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..4c5ddd5beb6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/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/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php index e9166be71aa..0b58154b196 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php @@ -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..9c64ccd91ee 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ResourceRoleScopesRequestBuilderGetRequ } $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(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..ed35e3bbc2d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentPoliciesRequestBuilderGetRequ } $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(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/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..cc34da442cc 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php @@ -124,7 +124,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; } @@ -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/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..dae61c3f46c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AssignmentRequestsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..a9f9f485e0f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.php @@ -140,7 +140,7 @@ 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; } @@ -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/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..3f404ff6f53 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.php @@ -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..8e3193b1294 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.php @@ -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..f16933c845b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.php @@ -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..5eb6cac234b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.php @@ -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/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..afa0376df44 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.php @@ -123,7 +123,7 @@ 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; } @@ -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/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..6d2bf5a9d00 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.php @@ -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..15d59a18004 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CatalogsRequestBuilderGetRequestConfigu } $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(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/Item/AccessPackageCatalogItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.php index 8f66da8592e..6c0076a3845 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.php @@ -133,7 +133,7 @@ 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; } @@ -154,7 +154,7 @@ public function toGetRequestInformation(?AccessPackageCatalogItemRequestBuilderG } $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(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/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..59358677aba 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CustomWorkflowExtensionsRequestBuilderG } $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(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/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 558acea296f..ac091a97420 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -47,11 +47,11 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|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/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 Find more info here */ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -63,12 +63,12 @@ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfigura } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|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/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 Find more info here */ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -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 accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -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 d31ddda6f31..16867effea7 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 accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. */ 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..05afe5e219e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.php @@ -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/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..3a58dfb2996 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.php @@ -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/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.php index 3365faa8776..c4aaac1c91e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ConnectedOrganizationsRequestBuilderGet } $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(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/Item/ConnectedOrganizationItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.php index b82a8c22d0a..d3ec5581555 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.php @@ -109,7 +109,7 @@ 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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?ConnectedOrganizationItemRequestBuilder } $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(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/ExternalSponsors/ExternalSponsorsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php index e2302347a88..1806a829df6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php @@ -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/Item/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.php index 791cd3e0328..039ae382d0c 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 @@ -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/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.php index d77a64dbd69..b46c3d5dd12 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/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/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php index b386459bd14..183740a924d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php @@ -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/Item/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.php index 489f6952160..3d64105ba69 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 @@ -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/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.php index af773018dc0..6bbda9f6f56 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/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/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..e07942b26d9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.php @@ -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/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..20580f5d2be 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CustomWorkflowExtensionsRequestBuilderG } $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(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/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 9f3f90af548..5f4bbbfcb0c 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 @@ -47,11 +47,11 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|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/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 Find more info here */ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -63,12 +63,12 @@ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfigura } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|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/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 Find more info here */ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -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 accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -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 f19e54e1e33..d744ba799fc 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 accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. */ 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..bf77deec876 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.php @@ -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/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..c8b71fedb71 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.php @@ -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/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 858daf528e5..bc57155ec6f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.php @@ -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. To add a Microsoft Entra group as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadGroup and the value of the originId is the identifier of the group. To add a Microsoft Entra application as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadApplication and the value of the originId is the identifier of the servicePrincipal. To add a SharePoint Online site an as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be SharePointOnline and the value of the originId is the URI of the site. To remove a resource from a catalog, set the requestType to be adminRemove, and the resource to contain the id of the resource object to be removed. The resource object can be retrieved using list resources. 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. This API is available in the following national cloud deployments. * @param AccessPackageResourceRequest $body The request body * @param ResourceRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -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. To add a Microsoft Entra group as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadGroup and the value of the originId is the identifier of the group. To add a Microsoft Entra application as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadApplication and the value of the originId is the identifier of the servicePrincipal. To add a SharePoint Online site an as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be SharePointOnline and the value of the originId is the URI of the site. To remove a resource from a catalog, set the requestType to be adminRemove, and the resource to contain the id of the resource object to be removed. The resource object can be retrieved using list resources. 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. This API is available in the following national cloud deployments. * @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/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..f2d0fd7a67a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $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(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/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..55e3c1e3e89 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CustomTaskExtensionsRequestBuilderGetRe } $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(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/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..ca4f9687155 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.php @@ -109,7 +109,7 @@ 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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?CustomTaskExtensionItemRequestBuilderGe } $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(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/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..f3b1a60ecf7 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php @@ -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..a6542f0c4b0 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php @@ -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..3b4733c673e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php @@ -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..66d7127249c 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 @@ -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/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index cdaa969fe7f..62bb520f3ed 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 @@ -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..5fe85eeed8c 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 @@ -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/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..071fcb1e635 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 @@ -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..9b9146e1f0e 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 @@ -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/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php index 56b16782e92..9fb2bce14d1 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 @@ -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/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..511ab868e44 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 @@ -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/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..0c39c1be71f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.php @@ -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/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..73330ec55c7 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 @@ -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..b3983ba6ba8 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 @@ -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/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..1bad572c128 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php @@ -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/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..92296fc272c 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 @@ -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..45948f67e31 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 @@ -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..89ff6bcaf06 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 @@ -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/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..d31f62e672b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php @@ -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/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..b1e339c3b91 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 @@ -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..fb976d459d5 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 @@ -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/VersionsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.php index 65d65dfaae2..0806d057862 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.php @@ -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/WorkflowItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php index fe8c8a4bdfe..cfee1e3ebd5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php @@ -164,7 +164,7 @@ 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; } @@ -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/WorkflowsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.php index 4c2b5e46729..9bdfc7a85a8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.php @@ -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/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..0cdb56ceb9c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.php index 86043bcdab7..7a2c3341296 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.php @@ -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/TaskDefinitionsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.php index 849c1b8e244..40db9227d85 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.php @@ -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/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..72994015685 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 @@ -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..7157c576074 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.php @@ -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/WorkflowTemplatesRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.php index d3ead643735..bd79a14cef4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.php @@ -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/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..0f6aff36029 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php @@ -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..99d685fb8c9 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php @@ -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..339946482bc 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php @@ -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..b8a4a980f6c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.php @@ -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/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 6588d9797cb..b453fd14107 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 @@ -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..157fe40d5a3 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 @@ -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/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..6179e59f017 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 @@ -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..3fb6c1b37d2 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 @@ -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/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php index af80aa3720f..24a4912c946 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 @@ -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/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..b12c87458ba 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 @@ -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/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..1d7c8e1b1d2 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.php @@ -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/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..790ca77d56f 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 @@ -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..66cf29d6da9 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 @@ -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/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..247ab9f2b6e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php @@ -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/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..37aa867807a 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 @@ -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..9c425c91e62 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 @@ -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..cffc03c6367 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 @@ -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/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..1fe84d2fb03 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php @@ -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/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..68de4e5864f 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 @@ -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..e552a72d9b5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php @@ -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/VersionsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.php index 7d366f39b7f..20b49a862b7 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.php @@ -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/WorkflowItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.php index 2a904613b58..b709fa46adb 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.php @@ -181,7 +181,7 @@ 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; } @@ -202,7 +202,7 @@ public function toGetRequestInformation(?WorkflowItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/WorkflowsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.php index 25479007dca..35748999b7b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?WorkflowsRequestBuilderGetRequestConfig } $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(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/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..9e277b1d1e5 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 @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ApprovalStageItemRequestBuilderGetReque } $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(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/StagesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.php index dd4cbb41b42..dab509d2c2f 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.php @@ -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/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.php index 939dea3d7e0..9fd6117bf95 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.php @@ -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/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..38292cf61f0 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.php @@ -115,7 +115,7 @@ 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; } @@ -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/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.php index 50b54e7b639..d5ab405164b 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AssignmentScheduleRequestsRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..6751ee0d521 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -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..2b4674056c0 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/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..df6dbf8fd38 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.php @@ -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/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..9d13da3877a 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.php @@ -115,7 +115,7 @@ 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; } @@ -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/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.php index 952f042b615..ad85e563403 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.php @@ -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/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..b591c24a89e 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.php index bf3edb9da1a..c03d1a5635a 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?EligibilityScheduleRequestsRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..1acf9365eae 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -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..1117fea3582 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.php @@ -123,7 +123,7 @@ 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; } @@ -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/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..726f97bbb59 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.php @@ -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/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..5777ca1f38f 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/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..5811b10c1ca 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AgreementsRequestBuilderGetRequestConfi } $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(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/Item/Acceptances/AcceptancesRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php index 1a85e6c1e29..d3e913b266c 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php @@ -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/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 90746d0770d..f3f90c8a19d 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?AgreementItemRequestBuilderGetRequestCo } $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(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/File/FileRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilder.php index 2215dea8de0..bb9e300eec7 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..34ece89ce70 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php @@ -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/Files/FilesRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.php index 870408d2a92..504575c23ac 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $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, ?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..8867c158ac3 100644 --- a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/RiskDetectionsRequestBuilder.php b/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.php index d9be8575518..bedc84966f1 100644 --- a/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.php @@ -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/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php index 96badb59a1b..ce95062f3de 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php @@ -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..4c4b8888565 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.php @@ -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..4f2b3798a87 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.php @@ -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/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..6027c33db1a 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/RiskyServicePrincipalsRequestBuilder.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.php index 76906a4a5fc..30520a0b583 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.php @@ -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/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php index c5aab5217fb..ecd1dced8e1 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php @@ -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..8a6c1bb23f9 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.php @@ -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 568b81eab5f..d20bf77d7f1 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php @@ -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/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..e1b2daeb6ed 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/RiskyUsersRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php index bc54bd09776..81ed02a051d 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php @@ -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/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.php b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.php index 8e7f71005c6..cd2ba84cdd3 100644 --- a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/ServicePrincipalRiskDetectionsRequestBuilder.php b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.php index af2ecaf6dbe..a52868b132c 100644 --- a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.php +++ b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.php @@ -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/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..cab8c4b6a4e 100644 --- a/src/Generated/IdentityProviders/IdentityProvidersRequestBuilder.php +++ b/src/Generated/IdentityProviders/IdentityProvidersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?IdentityProvidersRequestBuilderGetReque } $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(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/Item/IdentityProviderItemRequestBuilder.php b/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php index 5821cfa1b15..a8bf57fc670 100644 --- a/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php +++ b/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php @@ -93,7 +93,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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?IdentityProviderItemRequestBuilderGetRe } $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(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/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..e9a70a4271d 100644 --- a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.php +++ b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.php @@ -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/RecoveryKeysRequestBuilder.php b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.php index 2e444857fa6..f5d8e7efd15 100644 --- a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.php +++ b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.php @@ -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/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..94f1cfbb247 100644 --- a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.php +++ b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/ThreatAssessmentRequestsRequestBuilder.php b/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.php index 19e63a09b41..e7ec88b5e0a 100644 --- a/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.php +++ b/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ThreatAssessmentRequestsRequestBuilderG } $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(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/Invitations/InvitationsRequestBuilder.php b/src/Generated/Invitations/InvitationsRequestBuilder.php index 6aa633d873d..0b6f7e74763 100644 --- a/src/Generated/Invitations/InvitationsRequestBuilder.php +++ b/src/Generated/Invitations/InvitationsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?InvitationsRequestBuilderGetRequestConf } $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(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/Admin.php b/src/Generated/Models/Admin.php index e2358f8f3d2..c15df774553 100644 --- a/src/Generated/Models/Admin.php +++ b/src/Generated/Models/Admin.php @@ -95,7 +95,7 @@ public function getOdataType(): ?string { } /** - * Gets the people property value. The people property + * Gets the people property value. Represents a setting to control people-related admin settings in the tenant. * @return PeopleAdminSettings|null */ public function getPeople(): ?PeopleAdminSettings { @@ -176,7 +176,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the people property value. The people property + * Sets the people property value. Represents a setting to control people-related admin settings in the tenant. * @param PeopleAdminSettings|null $value Value to set for the people property. */ public function setPeople(?PeopleAdminSettings $value): void { diff --git a/src/Generated/Models/AzureCommunicationServicesUserIdentity.php b/src/Generated/Models/AzureCommunicationServicesUserIdentity.php index aa3b4ed98df..bc0ab87f90d 100644 --- a/src/Generated/Models/AzureCommunicationServicesUserIdentity.php +++ b/src/Generated/Models/AzureCommunicationServicesUserIdentity.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Azure } /** - * Gets the azureCommunicationServicesResourceId property value. The azureCommunicationServicesResourceId property + * Gets the azureCommunicationServicesResourceId property value. The Azure Communication Services resource ID associated with the user. * @return string|null */ public function getAzureCommunicationServicesResourceId(): ?string { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the azureCommunicationServicesResourceId property value. The azureCommunicationServicesResourceId property + * Sets the azureCommunicationServicesResourceId property value. The Azure Communication Services resource ID associated with the user. * @param string|null $value Value to set for the azureCommunicationServicesResourceId property. */ public function setAzureCommunicationServicesResourceId(?string $value): void { 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 new file mode 100644 index 00000000000..7c890f191b5 --- /dev/null +++ b/src/Generated/Models/CallRecording.php @@ -0,0 +1,157 @@ +getBackingStore()->get('content'); + if (is_null($val) || $val instanceof StreamInterface) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'content'"); + } + + /** + * 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 { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'content' => fn(ParseNode $n) => $o->setContent($n->getBinaryContent()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'meetingId' => fn(ParseNode $n) => $o->setMeetingId($n->getStringValue()), + 'meetingOrganizer' => fn(ParseNode $n) => $o->setMeetingOrganizer($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), + 'recordingContentUrl' => fn(ParseNode $n) => $o->setRecordingContentUrl($n->getStringValue()), + ]); + } + + /** + * Gets the meetingId property value. The unique identifier of the onlineMeeting related to this recording. Read-only. + * @return string|null + */ + public function getMeetingId(): ?string { + $val = $this->getBackingStore()->get('meetingId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'meetingId'"); + } + + /** + * 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 { + $val = $this->getBackingStore()->get('meetingOrganizer'); + if (is_null($val) || $val instanceof IdentitySet) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'meetingOrganizer'"); + } + + /** + * 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 { + $val = $this->getBackingStore()->get('recordingContentUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recordingContentUrl'"); + } + + /** + * 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->writeBinaryContent('content', $this->getContent()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeStringValue('meetingId', $this->getMeetingId()); + $writer->writeObjectValue('meetingOrganizer', $this->getMeetingOrganizer()); + $writer->writeStringValue('recordingContentUrl', $this->getRecordingContentUrl()); + } + + /** + * 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 { + $this->getBackingStore()->set('content', $value); + } + + /** + * 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 { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * 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 { + $this->getBackingStore()->set('meetingId', $value); + } + + /** + * 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 { + $this->getBackingStore()->set('meetingOrganizer', $value); + } + + /** + * 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 { + $this->getBackingStore()->set('recordingContentUrl', $value); + } + +} diff --git a/src/Generated/Models/CallRecordingCollectionResponse.php b/src/Generated/Models/CallRecordingCollectionResponse.php new file mode 100644 index 00000000000..7312c53aaec --- /dev/null +++ b/src/Generated/Models/CallRecordingCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([CallRecording::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, CallRecording::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/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php b/src/Generated/Models/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php new file mode 100644 index 00000000000..e1bf78e5a89 --- /dev/null +++ b/src/Generated/Models/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.channelUnsetAsFavoriteByDefaultEventMessageDetail'); + } + + /** + * 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 ChannelUnsetAsFavoriteByDefaultEventMessageDetail + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ChannelUnsetAsFavoriteByDefaultEventMessageDetail { + return new ChannelUnsetAsFavoriteByDefaultEventMessageDetail(); + } + + /** + * Gets the channelId property value. Unique identifier of the channel. + * @return string|null + */ + public function getChannelId(): ?string { + $val = $this->getBackingStore()->get('channelId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'channelId'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'channelId' => fn(ParseNode $n) => $o->setChannelId($n->getStringValue()), + 'initiator' => fn(ParseNode $n) => $o->setInitiator($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the initiator property value. Initiator of the event. + * @return IdentitySet|null + */ + public function getInitiator(): ?IdentitySet { + $val = $this->getBackingStore()->get('initiator'); + if (is_null($val) || $val instanceof IdentitySet) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'initiator'"); + } + + /** + * 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->writeStringValue('channelId', $this->getChannelId()); + $writer->writeObjectValue('initiator', $this->getInitiator()); + } + + /** + * Sets the channelId property value. Unique identifier of the channel. + * @param string|null $value Value to set for the channelId property. + */ + public function setChannelId(?string $value): void { + $this->getBackingStore()->set('channelId', $value); + } + + /** + * Sets the initiator property value. Initiator of the event. + * @param IdentitySet|null $value Value to set for the initiator property. + */ + public function setInitiator(?IdentitySet $value): void { + $this->getBackingStore()->set('initiator', $value); + } + +} diff --git a/src/Generated/Models/CommunicationsApplicationIdentity.php b/src/Generated/Models/CommunicationsApplicationIdentity.php index 1c879074ef4..746caf017ba 100644 --- a/src/Generated/Models/CommunicationsApplicationIdentity.php +++ b/src/Generated/Models/CommunicationsApplicationIdentity.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Commu } /** - * Gets the applicationType property value. The applicationType property + * Gets the applicationType property value. First-party Microsoft application that presents this identity. * @return string|null */ public function getApplicationType(): ?string { @@ -50,7 +50,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the hidden property value. The hidden property + * Gets the hidden property value. True if the participant shouldn't be shown in other participants' rosters. * @return bool|null */ public function getHidden(): ?bool { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the applicationType property value. The applicationType property + * Sets the applicationType property value. First-party Microsoft application that presents this identity. * @param string|null $value Value to set for the applicationType property. */ public function setApplicationType(?string $value): void { @@ -80,7 +80,7 @@ public function setApplicationType(?string $value): void { } /** - * Sets the hidden property value. The hidden property + * Sets the hidden property value. True if the participant shouldn't be shown in other participants' rosters. * @param bool|null $value Value to set for the hidden property. */ public function setHidden(?bool $value): void { diff --git a/src/Generated/Models/CommunicationsApplicationInstanceIdentity.php b/src/Generated/Models/CommunicationsApplicationInstanceIdentity.php index e39d4149ab0..76eb1e50eb8 100644 --- a/src/Generated/Models/CommunicationsApplicationInstanceIdentity.php +++ b/src/Generated/Models/CommunicationsApplicationInstanceIdentity.php @@ -38,7 +38,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the hidden property value. The hidden property + * Gets the hidden property value. True if the participant shouldn't be shown in other participants' rosters. * @return bool|null */ public function getHidden(): ?bool { @@ -50,7 +50,7 @@ public function getHidden(): ?bool { } /** - * Gets the tenantId property value. The tenantId property + * Gets the tenantId property value. The tenant ID of the application. * @return string|null */ public function getTenantId(): ?string { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the hidden property value. The hidden property + * Sets the hidden property value. True if the participant shouldn't be shown in other participants' rosters. * @param bool|null $value Value to set for the hidden property. */ public function setHidden(?bool $value): void { @@ -80,7 +80,7 @@ public function setHidden(?bool $value): void { } /** - * Sets the tenantId property value. The tenantId property + * Sets the tenantId property value. The tenant ID of the application. * @param string|null $value Value to set for the tenantId property. */ public function setTenantId(?string $value): void { diff --git a/src/Generated/Models/CommunicationsIdentitySet.php b/src/Generated/Models/CommunicationsIdentitySet.php index 81aa961a1de..bb3d181ded6 100644 --- a/src/Generated/Models/CommunicationsIdentitySet.php +++ b/src/Generated/Models/CommunicationsIdentitySet.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Commu } /** - * Gets the applicationInstance property value. The applicationInstance property + * Gets the applicationInstance property value. The application instance associated with this action. * @return Identity|null */ public function getApplicationInstance(): ?Identity { @@ -38,7 +38,7 @@ public function getApplicationInstance(): ?Identity { } /** - * Gets the assertedIdentity property value. The assertedIdentity property + * Gets the assertedIdentity property value. An identity the participant would like to present itself as to the other participants in the call. * @return Identity|null */ public function getAssertedIdentity(): ?Identity { @@ -50,7 +50,7 @@ public function getAssertedIdentity(): ?Identity { } /** - * Gets the azureCommunicationServicesUser property value. The azureCommunicationServicesUser property + * Gets the azureCommunicationServicesUser property value. The Azure Communication Services user associated with this action. * @return Identity|null */ public function getAzureCommunicationServicesUser(): ?Identity { @@ -62,7 +62,7 @@ public function getAzureCommunicationServicesUser(): ?Identity { } /** - * Gets the encrypted property value. The encrypted property + * Gets the encrypted property value. The encrypted user associated with this action. * @return Identity|null */ public function getEncrypted(): ?Identity { @@ -74,7 +74,7 @@ public function getEncrypted(): ?Identity { } /** - * Gets the endpointType property value. The endpointType property + * Gets the endpointType property value. Type of endpoint that the participant uses. Possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue. * @return EndpointType|null */ public function getEndpointType(): ?EndpointType { @@ -104,7 +104,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the guest property value. The guest property + * Gets the guest property value. The guest user associated with this action. * @return Identity|null */ public function getGuest(): ?Identity { @@ -116,7 +116,7 @@ public function getGuest(): ?Identity { } /** - * Gets the onPremises property value. The onPremises property + * Gets the onPremises property value. The Skype for Business on-premises user associated with this action. * @return Identity|null */ public function getOnPremises(): ?Identity { @@ -128,7 +128,7 @@ public function getOnPremises(): ?Identity { } /** - * Gets the phone property value. The phone property + * Gets the phone property value. The phone user associated with this action. * @return Identity|null */ public function getPhone(): ?Identity { @@ -156,7 +156,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the applicationInstance property value. The applicationInstance property + * Sets the applicationInstance property value. The application instance associated with this action. * @param Identity|null $value Value to set for the applicationInstance property. */ public function setApplicationInstance(?Identity $value): void { @@ -164,7 +164,7 @@ public function setApplicationInstance(?Identity $value): void { } /** - * Sets the assertedIdentity property value. The assertedIdentity property + * Sets the assertedIdentity property value. An identity the participant would like to present itself as to the other participants in the call. * @param Identity|null $value Value to set for the assertedIdentity property. */ public function setAssertedIdentity(?Identity $value): void { @@ -172,7 +172,7 @@ public function setAssertedIdentity(?Identity $value): void { } /** - * Sets the azureCommunicationServicesUser property value. The azureCommunicationServicesUser property + * Sets the azureCommunicationServicesUser property value. The Azure Communication Services user associated with this action. * @param Identity|null $value Value to set for the azureCommunicationServicesUser property. */ public function setAzureCommunicationServicesUser(?Identity $value): void { @@ -180,7 +180,7 @@ public function setAzureCommunicationServicesUser(?Identity $value): void { } /** - * Sets the encrypted property value. The encrypted property + * Sets the encrypted property value. The encrypted user associated with this action. * @param Identity|null $value Value to set for the encrypted property. */ public function setEncrypted(?Identity $value): void { @@ -188,7 +188,7 @@ public function setEncrypted(?Identity $value): void { } /** - * Sets the endpointType property value. The endpointType property + * Sets the endpointType property value. Type of endpoint that the participant uses. Possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue. * @param EndpointType|null $value Value to set for the endpointType property. */ public function setEndpointType(?EndpointType $value): void { @@ -196,7 +196,7 @@ public function setEndpointType(?EndpointType $value): void { } /** - * Sets the guest property value. The guest property + * Sets the guest property value. The guest user associated with this action. * @param Identity|null $value Value to set for the guest property. */ public function setGuest(?Identity $value): void { @@ -204,7 +204,7 @@ public function setGuest(?Identity $value): void { } /** - * Sets the onPremises property value. The onPremises property + * Sets the onPremises property value. The Skype for Business on-premises user associated with this action. * @param Identity|null $value Value to set for the onPremises property. */ public function setOnPremises(?Identity $value): void { @@ -212,7 +212,7 @@ public function setOnPremises(?Identity $value): void { } /** - * Sets the phone property value. The phone property + * Sets the phone property value. The phone user associated with this action. * @param Identity|null $value Value to set for the phone property. */ public function setPhone(?Identity $value): void { diff --git a/src/Generated/Models/CommunicationsUserIdentity.php b/src/Generated/Models/CommunicationsUserIdentity.php index 24d2186ba56..c915267e55e 100644 --- a/src/Generated/Models/CommunicationsUserIdentity.php +++ b/src/Generated/Models/CommunicationsUserIdentity.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the tenantId property value. The tenantId property + * Gets the tenantId property value. The user's tenant ID. * @return string|null */ public function getTenantId(): ?string { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the tenantId property value. The tenantId property + * Sets the tenantId property value. The user's tenant ID. * @param string|null $value Value to set for the tenantId property. */ public function setTenantId(?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 d562f6d6867..da5b8b038ab 100644 --- a/src/Generated/Models/DriveItem.php +++ b/src/Generated/Models/DriveItem.php @@ -90,7 +90,7 @@ public function getContent(): ?StreamInterface { } /** - * Gets the cTag property value. An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. + * Gets the cTag property value. An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only. * @return string|null */ public function getCTag(): ?string { @@ -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'])), @@ -290,7 +291,7 @@ public function getPhoto(): ?Photo { } /** - * Gets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. + * Gets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property isn't returned by default. Read-only. * @return PublicationFacet|null */ public function getPublication(): ?PublicationFacet { @@ -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 @@ -338,7 +351,7 @@ public function getSearchResult(): ?SearchResult { } /** - * Gets the shared property value. Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * Gets the shared property value. Indicates that the item was shared with others and provides information about the shared state of the item. Read-only. * @return Shared|null */ public function getShared(): ?Shared { @@ -400,7 +413,7 @@ public function getSubscriptions(): ?array { } /** - * Gets the thumbnails property value. Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * Gets the thumbnails property value. Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. * @return array|null */ public function getThumbnails(): ?array { @@ -452,7 +465,7 @@ public function getWebDavUrl(): ?string { } /** - * Gets the workbook property value. For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * Gets the workbook property value. For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. * @return Workbook|null */ public function getWorkbook(): ?Workbook { @@ -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()); @@ -544,7 +558,7 @@ public function setContent(?StreamInterface $value): void { } /** - * Sets the cTag property value. An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. + * Sets the cTag property value. An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only. * @param string|null $value Value to set for the cTag property. */ public function setCTag(?string $value): void { @@ -648,7 +662,7 @@ public function setPhoto(?Photo $value): void { } /** - * Sets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. + * Sets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property isn't returned by default. Read-only. * @param PublicationFacet|null $value Value to set for the publication property. */ public function setPublication(?PublicationFacet $value): void { @@ -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. @@ -680,7 +702,7 @@ public function setSearchResult(?SearchResult $value): void { } /** - * Sets the shared property value. Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * Sets the shared property value. Indicates that the item was shared with others and provides information about the shared state of the item. Read-only. * @param Shared|null $value Value to set for the shared property. */ public function setShared(?Shared $value): void { @@ -720,7 +742,7 @@ public function setSubscriptions(?array $value): void { } /** - * Sets the thumbnails property value. Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * Sets the thumbnails property value. Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. * @param array|null $value Value to set for the thumbnails property. */ public function setThumbnails(?array $value): void { @@ -752,7 +774,7 @@ public function setWebDavUrl(?string $value): void { } /** - * Sets the workbook property value. For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * Sets the workbook property value. For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. * @param Workbook|null $value Value to set for the workbook property. */ public function setWorkbook(?Workbook $value): void { diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 3b0c926edec..eab94bf37cc 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -234,6 +234,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.calendarPermission': return new CalendarPermission(); case '#microsoft.graph.calendarSharingMessage': return new CalendarSharingMessage(); case '#microsoft.graph.call': return new Call(); + case '#microsoft.graph.callRecording': return new CallRecording(); case '#microsoft.graph.callRecords.callRecord': return new CallRecord(); case '#microsoft.graph.callRecords.segment': return new Segment(); case '#microsoft.graph.callRecords.session': return new Session(); @@ -281,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(); @@ -450,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(); @@ -539,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(); @@ -850,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/EventMessageDetail.php b/src/Generated/Models/EventMessageDetail.php index b773cdbaff4..41ec956421e 100644 --- a/src/Generated/Models/EventMessageDetail.php +++ b/src/Generated/Models/EventMessageDetail.php @@ -44,6 +44,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Event case '#microsoft.graph.channelDescriptionUpdatedEventMessageDetail': return new ChannelDescriptionUpdatedEventMessageDetail(); case '#microsoft.graph.channelRenamedEventMessageDetail': return new ChannelRenamedEventMessageDetail(); case '#microsoft.graph.channelSetAsFavoriteByDefaultEventMessageDetail': return new ChannelSetAsFavoriteByDefaultEventMessageDetail(); + case '#microsoft.graph.channelUnsetAsFavoriteByDefaultEventMessageDetail': return new ChannelUnsetAsFavoriteByDefaultEventMessageDetail(); case '#microsoft.graph.chatRenamedEventMessageDetail': return new ChatRenamedEventMessageDetail(); case '#microsoft.graph.conversationMemberRoleUpdatedEventMessageDetail': return new ConversationMemberRoleUpdatedEventMessageDetail(); case '#microsoft.graph.meetingPolicyUpdatedEventMessageDetail': return new MeetingPolicyUpdatedEventMessageDetail(); 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/Group.php b/src/Generated/Models/Group.php index 5399504ef60..38182e0d932 100644 --- a/src/Generated/Models/Group.php +++ b/src/Generated/Models/Group.php @@ -28,7 +28,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Group } /** - * Gets the acceptedSenders property value. The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + * Gets the acceptedSenders property value. The list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here are allowed to post. * @return array|null */ public function getAcceptedSenders(): ?array { @@ -42,7 +42,7 @@ public function getAcceptedSenders(): ?array { } /** - * Gets the allowExternalSenders property value. Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * Gets the allowExternalSenders property value. Indicates if people external to the organization can send messages to the group. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @return bool|null */ public function getAllowExternalSenders(): ?bool { @@ -248,7 +248,7 @@ public function getEvents(): ?array { } /** - * Gets the expirationDateTime property value. Timestamp of when the group is set to expire. Is null for security groups but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * Gets the expirationDateTime property value. Timestamp of when the group is set to expire. It is null for security groups, but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. * @return DateTime|null */ public function getExpirationDateTime(): ?DateTime { @@ -378,7 +378,7 @@ public function getGroupLifecyclePolicies(): ?array { } /** - * Gets the groupTypes property value. Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). + * Gets the groupTypes property value. Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or a distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). * @return array|null */ public function getGroupTypes(): ?array { @@ -416,7 +416,7 @@ public function getHideFromAddressLists(): ?bool { } /** - * Gets the hideFromOutlookClients property value. True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * Gets the hideFromOutlookClients property value. True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @return bool|null */ public function getHideFromOutlookClients(): ?bool { @@ -428,7 +428,7 @@ public function getHideFromOutlookClients(): ?bool { } /** - * Gets the isArchived property value. When a group is associated with a team this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. + * Gets the isArchived property value. When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. * @return bool|null */ public function getIsArchived(): ?bool { @@ -440,7 +440,7 @@ public function getIsArchived(): ?bool { } /** - * Gets the isAssignableToRole property value. Indicates whether this group can be assigned to a Microsoft Entra role or not. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). + * Gets the isAssignableToRole property value. Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). * @return bool|null */ public function getIsAssignableToRole(): ?bool { @@ -452,7 +452,7 @@ public function getIsAssignableToRole(): ?bool { } /** - * Gets the isSubscribedByMail property value. Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * Gets the isSubscribedByMail property value. Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @return bool|null */ public function getIsSubscribedByMail(): ?bool { @@ -464,7 +464,7 @@ public function getIsSubscribedByMail(): ?bool { } /** - * Gets the licenseProcessingState property value. Indicates status of the group license assignment to all members of the group. Default value is false. Read-only. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete.Returned only on $select. Read-only. + * Gets the licenseProcessingState property value. Indicates the status of the group license assignment to all group members. The default value is false. Read-only. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete.Returned only on $select. Read-only. * @return LicenseProcessingState|null */ public function getLicenseProcessingState(): ?LicenseProcessingState { @@ -640,7 +640,7 @@ public function getOnPremisesProvisioningErrors(): ?array { } /** - * Gets the onPremisesSamAccountName property value. Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. + * Gets the onPremisesSamAccountName property value. Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. * @return string|null */ public function getOnPremisesSamAccountName(): ?string { @@ -652,7 +652,7 @@ public function getOnPremisesSamAccountName(): ?string { } /** - * Gets the onPremisesSecurityIdentifier property value. Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. + * Gets the onPremisesSecurityIdentifier property value. Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. * @return string|null */ public function getOnPremisesSecurityIdentifier(): ?string { @@ -754,7 +754,7 @@ public function getPreferredDataLocation(): ?string { } /** - * Gets the preferredLanguage property value. The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * Gets the preferredLanguage property value. The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * @return string|null */ public function getPreferredLanguage(): ?string { @@ -780,7 +780,7 @@ public function getProxyAddresses(): ?array { } /** - * Gets the rejectedSenders property value. The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + * Gets the rejectedSenders property value. The list of users or groups not allowed to create posts or calendar events in this group. Nullable * @return array|null */ public function getRejectedSenders(): ?array { @@ -794,7 +794,7 @@ public function getRejectedSenders(): ?array { } /** - * Gets the renewedDateTime property value. Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * Gets the renewedDateTime property value. Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. * @return DateTime|null */ public function getRenewedDateTime(): ?DateTime { @@ -910,7 +910,7 @@ public function getThreads(): ?array { } /** - * Gets the transitiveMemberOf property value. The groups that a group is a member of, either directly and through nested membership. Nullable. + * Gets the transitiveMemberOf property value. The groups that a group is a member of, either directly or through nested membership. Nullable. * @return array|null */ public function getTransitiveMemberOf(): ?array { @@ -950,7 +950,7 @@ public function getUnseenCount(): ?int { } /** - * Gets the visibility property value. Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. + * Gets the visibility property value. Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. * @return string|null */ public function getVisibility(): ?string { @@ -1036,7 +1036,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the acceptedSenders property value. The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + * Sets the acceptedSenders property value. The list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here are allowed to post. * @param array|null $value Value to set for the acceptedSenders property. */ public function setAcceptedSenders(?array $value): void { @@ -1044,7 +1044,7 @@ public function setAcceptedSenders(?array $value): void { } /** - * Sets the allowExternalSenders property value. Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * Sets the allowExternalSenders property value. Indicates if people external to the organization can send messages to the group. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @param bool|null $value Value to set for the allowExternalSenders property. */ public function setAllowExternalSenders(?bool $value): void { @@ -1172,7 +1172,7 @@ public function setEvents(?array $value): void { } /** - * Sets the expirationDateTime property value. Timestamp of when the group is set to expire. Is null for security groups but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * Sets the expirationDateTime property value. Timestamp of when the group is set to expire. It is null for security groups, but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. * @param DateTime|null $value Value to set for the expirationDateTime property. */ public function setExpirationDateTime(?DateTime $value): void { @@ -1196,7 +1196,7 @@ public function setGroupLifecyclePolicies(?array $value): void { } /** - * Sets the groupTypes property value. Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). + * Sets the groupTypes property value. Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or a distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). * @param array|null $value Value to set for the groupTypes property. */ public function setGroupTypes(?array $value): void { @@ -1220,7 +1220,7 @@ public function setHideFromAddressLists(?bool $value): void { } /** - * Sets the hideFromOutlookClients property value. True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * Sets the hideFromOutlookClients property value. True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @param bool|null $value Value to set for the hideFromOutlookClients property. */ public function setHideFromOutlookClients(?bool $value): void { @@ -1228,7 +1228,7 @@ public function setHideFromOutlookClients(?bool $value): void { } /** - * Sets the isArchived property value. When a group is associated with a team this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. + * Sets the isArchived property value. When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. * @param bool|null $value Value to set for the isArchived property. */ public function setIsArchived(?bool $value): void { @@ -1236,7 +1236,7 @@ public function setIsArchived(?bool $value): void { } /** - * Sets the isAssignableToRole property value. Indicates whether this group can be assigned to a Microsoft Entra role or not. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). + * Sets the isAssignableToRole property value. Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). * @param bool|null $value Value to set for the isAssignableToRole property. */ public function setIsAssignableToRole(?bool $value): void { @@ -1244,7 +1244,7 @@ public function setIsAssignableToRole(?bool $value): void { } /** - * Sets the isSubscribedByMail property value. Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * Sets the isSubscribedByMail property value. Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @param bool|null $value Value to set for the isSubscribedByMail property. */ public function setIsSubscribedByMail(?bool $value): void { @@ -1252,7 +1252,7 @@ public function setIsSubscribedByMail(?bool $value): void { } /** - * Sets the licenseProcessingState property value. Indicates status of the group license assignment to all members of the group. Default value is false. Read-only. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete.Returned only on $select. Read-only. + * Sets the licenseProcessingState property value. Indicates the status of the group license assignment to all group members. The default value is false. Read-only. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete.Returned only on $select. Read-only. * @param LicenseProcessingState|null $value Value to set for the licenseProcessingState property. */ public function setLicenseProcessingState(?LicenseProcessingState $value): void { @@ -1364,7 +1364,7 @@ public function setOnPremisesProvisioningErrors(?array $value): void { } /** - * Sets the onPremisesSamAccountName property value. Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. + * Sets the onPremisesSamAccountName property value. Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. * @param string|null $value Value to set for the onPremisesSamAccountName property. */ public function setOnPremisesSamAccountName(?string $value): void { @@ -1372,7 +1372,7 @@ public function setOnPremisesSamAccountName(?string $value): void { } /** - * Sets the onPremisesSecurityIdentifier property value. Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. + * Sets the onPremisesSecurityIdentifier property value. Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. * @param string|null $value Value to set for the onPremisesSecurityIdentifier property. */ public function setOnPremisesSecurityIdentifier(?string $value): void { @@ -1436,7 +1436,7 @@ public function setPreferredDataLocation(?string $value): void { } /** - * Sets the preferredLanguage property value. The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * Sets the preferredLanguage property value. The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * @param string|null $value Value to set for the preferredLanguage property. */ public function setPreferredLanguage(?string $value): void { @@ -1452,7 +1452,7 @@ public function setProxyAddresses(?array $value): void { } /** - * Sets the rejectedSenders property value. The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + * Sets the rejectedSenders property value. The list of users or groups not allowed to create posts or calendar events in this group. Nullable * @param array|null $value Value to set for the rejectedSenders property. */ public function setRejectedSenders(?array $value): void { @@ -1460,7 +1460,7 @@ public function setRejectedSenders(?array $value): void { } /** - * Sets the renewedDateTime property value. Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * Sets the renewedDateTime property value. Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. * @param DateTime|null $value Value to set for the renewedDateTime property. */ public function setRenewedDateTime(?DateTime $value): void { @@ -1532,7 +1532,7 @@ public function setThreads(?array $value): void { } /** - * Sets the transitiveMemberOf property value. The groups that a group is a member of, either directly and through nested membership. Nullable. + * Sets the transitiveMemberOf property value. The groups that a group is a member of, either directly or through nested membership. Nullable. * @param array|null $value Value to set for the transitiveMemberOf property. */ public function setTransitiveMemberOf(?array $value): void { @@ -1556,7 +1556,7 @@ public function setUnseenCount(?int $value): void { } /** - * Sets the visibility property value. Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. + * Sets the visibility property value. Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. * @param string|null $value Value to set for the visibility property. */ public function setVisibility(?string $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,34 +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()), - 'shareMeetingChatHistoryDefault' => fn(ParseNode $n) => $o->setShareMeetingChatHistoryDefault($n->getEnumValue(MeetingChatHistoryDefaultMode::class)), + 'recordings' => fn(ParseNode $n) => $o->setRecordings($n->getCollectionOfObjectValues([CallRecording::class, 'createFromDiscriminatorValue'])), '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'])), ]); } @@ -247,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 @@ -320,27 +133,17 @@ 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 shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. - * @return MeetingChatHistoryDefaultMode|null + * Gets the recordings property value. The recordings of an online meeting. Read-only. + * @return array|null */ - public function getShareMeetingChatHistoryDefault(): ?MeetingChatHistoryDefaultMode { - $val = $this->getBackingStore()->get('shareMeetingChatHistoryDefault'); - if (is_null($val) || $val instanceof MeetingChatHistoryDefaultMode) { + public function getRecordings(): ?array { + $val = $this->getBackingStore()->get('recordings'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallRecording::class); + /** @var array|null $val */ return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'shareMeetingChatHistoryDefault'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'recordings'"); } /** @@ -355,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 @@ -381,120 +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->writeEnumValue('shareMeetingChatHistoryDefault', $this->getShareMeetingChatHistoryDefault()); + $writer->writeCollectionOfObjectValues('recordings', $this->getRecordings()); $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); } /** @@ -505,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. @@ -521,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. @@ -561,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. @@ -610,19 +247,11 @@ 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 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. + * 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 setShareMeetingChatHistoryDefault(?MeetingChatHistoryDefaultMode $value): void { - $this->getBackingStore()->set('shareMeetingChatHistoryDefault', $value); + public function setRecordings(?array $value): void { + $this->getBackingStore()->set('recordings', $value); } /** @@ -633,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. @@ -649,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/PeopleAdminSettings.php b/src/Generated/Models/PeopleAdminSettings.php index eb552df5fef..2f3ff5ca10a 100644 --- a/src/Generated/Models/PeopleAdminSettings.php +++ b/src/Generated/Models/PeopleAdminSettings.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the profileCardProperties property value. The profileCardProperties property + * Gets the profileCardProperties property value. Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. * @return array|null */ public function getProfileCardProperties(): ?array { @@ -60,7 +60,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the profileCardProperties property value. The profileCardProperties property + * Sets the profileCardProperties property value. Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. * @param array|null $value Value to set for the profileCardProperties property. */ public function setProfileCardProperties(?array $value): void { diff --git a/src/Generated/Models/ProfileCardAnnotation.php b/src/Generated/Models/ProfileCardAnnotation.php index 488274bcb09..8fd1b486a0a 100644 --- a/src/Generated/Models/ProfileCardAnnotation.php +++ b/src/Generated/Models/ProfileCardAnnotation.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. If present, the value of this field is used by the profile card as the default property label in the experience (for example, 'Cost Center'). * @return string|null */ public function getDisplayName(): ?string { @@ -82,7 +82,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the localizations property value. The localizations property + * Gets the localizations property value. Each resource in this collection represents the localized value of the attribute name for a given language, used as the default label for that locale. For example, a user with a nb-NO client gets 'Kostnadssenter' as the attribute label, rather than 'Cost Center.' * @return array|null */ public function getLocalizations(): ?array { @@ -135,7 +135,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. If present, the value of this field is used by the profile card as the default property label in the experience (for example, 'Cost Center'). * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -143,7 +143,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the localizations property value. The localizations property + * Sets the localizations property value. Each resource in this collection represents the localized value of the attribute name for a given language, used as the default label for that locale. For example, a user with a nb-NO client gets 'Kostnadssenter' as the attribute label, rather than 'Cost Center.' * @param array|null $value Value to set for the localizations property. */ public function setLocalizations(?array $value): void { diff --git a/src/Generated/Models/ProfileCardProperty.php b/src/Generated/Models/ProfileCardProperty.php index c2e03b432b8..a6a1396c20a 100644 --- a/src/Generated/Models/ProfileCardProperty.php +++ b/src/Generated/Models/ProfileCardProperty.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Profi } /** - * Gets the annotations property value. The annotations property + * Gets the annotations property value. Allows an administrator to set a custom display label for the directory property and localize it for the users in their tenant. * @return array|null */ public function getAnnotations(): ?array { @@ -40,7 +40,7 @@ public function getAnnotations(): ?array { } /** - * Gets the directoryPropertyName property value. The directoryPropertyName property + * Gets the directoryPropertyName property value. Identifies a profileCardProperty resource in Get, Update, or Delete operations. Allows an administrator to surface hidden Microsoft Entra ID properties on the Microsoft 365 profile card within their tenant. When present, the Microsoft Entra ID field referenced in this property is visible to all users in your tenant on the contact pane of the profile card. Allowed values for this field are: UserPrincipalName, Fax, StreetAddress, PostalCode, StateOrProvince, Alias, CustomAttribute1, CustomAttribute2, CustomAttribute3, CustomAttribute4, CustomAttribute5, CustomAttribute6, CustomAttribute7, CustomAttribute8, CustomAttribute9, CustomAttribute10, CustomAttribute11, CustomAttribute12, CustomAttribute13, CustomAttribute14, CustomAttribute15. * @return string|null */ public function getDirectoryPropertyName(): ?string { @@ -74,7 +74,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the annotations property value. The annotations property + * Sets the annotations property value. Allows an administrator to set a custom display label for the directory property and localize it for the users in their tenant. * @param array|null $value Value to set for the annotations property. */ public function setAnnotations(?array $value): void { @@ -82,7 +82,7 @@ public function setAnnotations(?array $value): void { } /** - * Sets the directoryPropertyName property value. The directoryPropertyName property + * Sets the directoryPropertyName property value. Identifies a profileCardProperty resource in Get, Update, or Delete operations. Allows an administrator to surface hidden Microsoft Entra ID properties on the Microsoft 365 profile card within their tenant. When present, the Microsoft Entra ID field referenced in this property is visible to all users in your tenant on the contact pane of the profile card. Allowed values for this field are: UserPrincipalName, Fax, StreetAddress, PostalCode, StateOrProvince, Alias, CustomAttribute1, CustomAttribute2, CustomAttribute3, CustomAttribute4, CustomAttribute5, CustomAttribute6, CustomAttribute7, CustomAttribute8, CustomAttribute9, CustomAttribute10, CustomAttribute11, CustomAttribute12, CustomAttribute13, CustomAttribute14, CustomAttribute15. * @param string|null $value Value to set for the directoryPropertyName property. */ public function setDirectoryPropertyName(?string $value): void { 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/User.php b/src/Generated/Models/User.php index 6f41af7d0a3..2739bcf9098 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -1441,7 +1441,7 @@ public function getPhoto(): ?ProfilePhoto { } /** - * Gets the photos property value. The photos property + * Gets the photos property value. The collection of the user's profile photos in different sizes. Read-only. * @return array|null */ public function getPhotos(): ?array { @@ -2701,7 +2701,7 @@ public function setPhoto(?ProfilePhoto $value): void { } /** - * Sets the photos property value. The photos property + * Sets the photos property value. The collection of the user's profile photos in different sizes. Read-only. * @param array|null $value Value to set for the photos property. */ public function setPhotos(?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..1110de13265 100644 --- a/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php +++ b/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?OAuth2PermissionGrantItemRequestBuilder } $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(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/Oauth2PermissionGrantsRequestBuilder.php b/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php index bb5030a757c..79dd53ac88b 100644 --- a/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php +++ b/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?Oauth2PermissionGrantsRequestBuilderGet } $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(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/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..20439cacde3 100644 --- a/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..c74e600450b 100644 --- a/src/Generated/Organization/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Organization/GetByIds/GetByIdsRequestBuilder.php @@ -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 bbdd6d6e408..8fdff8dcdd4 100644 --- a/src/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?BackgroundImageRequestBuilderGetRequestConfiguration $reque /** * Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param BackgroundImageRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param BackgroundImageRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 4f462f93c4a..d03c4f92919 100644 --- a/src/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?BannerLogoRequestBuilderGetRequestConfiguration $requestCon /** * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param BannerLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param BannerLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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..26f8cf0c503 100644 --- a/src/Generated/Organization/Item/Branding/BrandingRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/BrandingRequestBuilder.php @@ -157,7 +157,7 @@ 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; } @@ -178,7 +178,7 @@ public function toGetRequestInformation(?BrandingRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/CustomCSS/CustomCSSRequestBuilder.php b/src/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.php index 6f98c16b23f..d6b8913520b 100644 --- a/src/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?CustomCSSRequestBuilderGetRequestConfiguration $requestConf /** * CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param CustomCSSRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param CustomCSSRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 9be1c331a98..858c77cedb4 100644 --- a/src/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?FaviconRequestBuilderGetRequestConfiguration $requestConfig /** * A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param FaviconRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param FaviconRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 2411f2a729f..efc399216d7 100644 --- a/src/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?HeaderLogoRequestBuilderGetRequestConfiguration $requestCon /** * A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param HeaderLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param HeaderLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 71a6f02db0a..86430129888 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?BackgroundImageRequestBuilderGetRequestConfiguration $reque /** * Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param BackgroundImageRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param BackgroundImageRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 8f3e61e2ad3..058489197af 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?BannerLogoRequestBuilderGetRequestConfiguration $requestCon /** * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param BannerLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param BannerLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 8cecddd0d12..9c309d257d1 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?CustomCSSRequestBuilderGetRequestConfiguration $requestConf /** * CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param CustomCSSRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param CustomCSSRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 fcc8d86db26..0340f3b2eae 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?FaviconRequestBuilderGetRequestConfiguration $requestConfig /** * A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param FaviconRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param FaviconRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 ca263d98dee..e2f7e917744 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?HeaderLogoRequestBuilderGetRequestConfiguration $requestCon /** * A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param HeaderLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param HeaderLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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..afdb25ca942 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.php @@ -149,7 +149,7 @@ 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; } @@ -170,7 +170,7 @@ public function toGetRequestInformation(?OrganizationalBrandingLocalizationItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/SquareLogo/SquareLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.php index 60af8e94190..312e737bf2e 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?SquareLogoRequestBuilderGetRequestConfiguration $requestCon /** * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param SquareLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param SquareLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 0036bbb84f6..47fbf5ae9d6 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?SquareLogoDarkRequestBuilderGetRequestConfiguration $reques /** * A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param SquareLogoDarkRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param SquareLogoDarkRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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..6785980fc83 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?LocalizationsRequestBuilderGetRequestCo } $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(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/SquareLogo/SquareLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.php index 5fe8bbc9058..229c36fa4d5 100644 --- a/src/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?SquareLogoRequestBuilderGetRequestConfiguration $requestCon /** * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param SquareLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param SquareLogoRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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 94a770d6c45..c04286c184b 100644 --- a/src/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.php @@ -51,7 +51,7 @@ public function get(?SquareLogoDarkRequestBuilderGetRequestConfiguration $reques /** * A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param SquareLogoDarkRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,14 +81,14 @@ 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; } /** * A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * @param StreamInterface $body Binary request body - * @param string $contentType + * @param string $contentType The request body content type. * @param SquareLogoDarkRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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..fa337d278ed 100644 --- a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php +++ b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CertificateBasedAuthConfigurationReques } $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(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/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php index 9ad2f8852e5..b9e5d58ee61 100644 --- a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php @@ -76,7 +76,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; } @@ -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/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index d01fcc439aa..09aa0653103 100644 --- a/src/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..43cf04ac37d 100644 --- a/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..4b9cf549862 100644 --- a/src/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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 94887cf21c4..df697179013 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -164,7 +164,7 @@ 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; } @@ -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/Restore/RestoreRequestBuilder.php b/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php index e0516c01479..167e3b4a21e 100644 --- a/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php @@ -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..31afe222a54 100644 --- a/src/Generated/Organization/OrganizationRequestBuilder.php +++ b/src/Generated/Organization/OrganizationRequestBuilder.php @@ -84,11 +84,11 @@ 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. + * List properties and relationships of the organization objects. * @param OrganizationRequestBuilderGetRequestConfiguration|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-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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. + * List properties and relationships of the organization objects. * @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..16dd0675ddc 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. + * List properties and relationships of the organization objects. */ class OrganizationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.php index 4abcd56dd73..ddb31ca00fc 100644 --- a/src/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..eb7146886a4 100644 --- a/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..4bca3651ff1 100644 --- a/src/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.php @@ -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..87fd07c6876 100644 --- a/src/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..2961b7b8a99 100644 --- a/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..669444816a9 100644 --- a/src/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..4d4757b559a 100644 --- a/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php @@ -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..80d5af37959 100644 --- a/src/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..c1745818f8f 100644 --- a/src/Generated/Places/Item/PlaceItemRequestBuilder.php +++ b/src/Generated/Places/Item/PlaceItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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..109d1ae0a54 100644 --- a/src/Generated/Planner/Buckets/BucketsRequestBuilder.php +++ b/src/Generated/Planner/Buckets/BucketsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?BucketsRequestBuilderGetRequestConfigur } $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(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/Item/PlannerBucketItemRequestBuilder.php b/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.php index b97d35cfe8a..e6f9564efde 100644 --- a/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.php @@ -101,7 +101,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; } @@ -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/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index abc1b0678ab..d03bdbf519b 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index fab68f3b3fa..3781659a0f5 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php index a3f752b576e..042441d285f 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/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..ea47063305a 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.php index d80b97d7c4a..f5b60cf5981 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.php @@ -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/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..03b7d89aa01 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php @@ -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/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..9843d21ca80 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 @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 35fe62873c8..89e18d2b0ae 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 @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php index 8e939d8439b..9268426ee4d 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 @@ -92,7 +92,7 @@ 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; } @@ -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/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..c8c99fd364e 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 @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php index 9ebaf9cd697..f427fb6ed7e 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.php index aa318aef779..eac2cefe1bc 100644 --- a/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/PlannerPlanItemRequestBuilder.php b/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php index 18c117f896a..593a333110e 100644 --- a/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?PlannerPlanItemRequestBuilderGetRequest } $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(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/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 7f8a086cf12..bbbb85bb2a6 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 3b4cdb680fb..9f77e3bb698 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php index 87b9adcf3d9..ece482d339b 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/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..c3f5161bc2f 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.php index dac648d82ca..572bf1fce50 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.php @@ -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/PlansRequestBuilder.php b/src/Generated/Planner/Plans/PlansRequestBuilder.php index d00ae007408..ad948d0b649 100644 --- a/src/Generated/Planner/Plans/PlansRequestBuilder.php +++ b/src/Generated/Planner/Plans/PlansRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PlansRequestBuilderGetRequestConfigurat } $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(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/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 1bab648cc32..920bd1622bc 100644 --- a/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 708d247c31d..25b990bfc72 100644 --- a/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.php index 406da5e7768..7e159ff6aaa 100644 --- a/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/PlannerTaskItemRequestBuilder.php b/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php index a8de48ee22c..bde50024ed4 100644 --- a/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -125,7 +125,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; } @@ -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/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index 4407177ca31..99cfd144cb2 100644 --- a/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Planner/Tasks/TasksRequestBuilder.php index 069c621d2de..9a0b3b20a3c 100644 --- a/src/Generated/Planner/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Planner/Tasks/TasksRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $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(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/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.php b/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.php index f8873195a48..3d4a2973ff5 100644 --- a/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.php +++ b/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ActivityBasedTimeoutPoliciesRequestBuil } $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(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/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.php b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.php index 197c6ade4d1..511fadae6cf 100644 --- a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ActivityBasedTimeoutPolicyItemRequestBu } $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(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/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..921922165d7 100644 --- a/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.php +++ b/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php b/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php index 43576e7f189..433a649af54 100644 --- a/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php +++ b/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AppManagementPoliciesRequestBuilderGetR } $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(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/Item/AppManagementPolicyItemRequestBuilder.php b/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php index 509aaef4aea..eee5fb410ab 100644 --- a/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?AppManagementPolicyItemRequestBuilderGe } $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(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/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 4b6181d0622..39765467d7d 100644 --- a/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -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/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..1bc5c99cb92 100644 --- a/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AuthenticationFlowsPolicyRequestBuilder } $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(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/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..acc873a8100 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?AuthenticationMethodsPolicyRequestBuild } $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(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/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.php index 2cea73f844a..6990ad86ee1 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AuthenticationStrengthPoliciesRequestBu } $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(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/Item/AuthenticationStrengthPolicyItemRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php index 15f027db03e..47ce917e071 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?AuthenticationStrengthPolicyItemRequest } $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(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/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php index dc605656de8..6153745a2f4 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CombinationConfigurationsRequestBuilder } $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(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/AuthenticationCombinationConfigurationItemRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php index 867c16563b9..886e1680b62 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AuthenticationCombinationConfigurationI } $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(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/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php index 4c3f998ad8e..45d7bcd9459 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php @@ -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..1b2d006b09b 100644 --- a/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.php +++ b/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AuthorizationPolicyRequestBuilderGetReq } $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(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/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php b/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php index b4dac7b288c..e53508ca8dd 100644 --- a/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php +++ b/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ClaimsMappingPoliciesRequestBuilderGetR } $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(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/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..aa9437d0b45 100644 --- a/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ClaimsMappingPolicyItemRequestBuilderGe } $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(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/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..91b0854ec40 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.php @@ -108,7 +108,7 @@ 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; } @@ -129,7 +129,7 @@ public function toGetRequestInformation(?CrossTenantAccessPolicyRequestBuilderGe } $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(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/EscapedDefault/DefaultRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilder.php index 582ac3e1dda..86b82c09bc8 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?DefaultRequestBuilderGetRequestConfigur } $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(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/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.php index ae48306bee4..69a7877eb45 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.php @@ -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..98c0126ecf6 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?CrossTenantAccessPolicyConfigurationPar } $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(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/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php index 8047ff2e63a..53c9074cf72 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/PartnersRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.php index 2c5499b23a7..52d2aa772c1 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PartnersRequestBuilderGetRequestConfigu } $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(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/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.php b/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.php index 2eacae084c2..40e8d2deb62 100644 --- a/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.php +++ b/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DefaultAppManagementPolicyRequestBuilde } $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(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/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.php index 0032f6073f5..0b7dd51fd52 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?FeatureRolloutPoliciesRequestBuilderGet } $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(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/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 1837bcdafe9..420b4c95ab8 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -108,7 +108,7 @@ public function toGetRequestInformation(?AppliesToRequestBuilderGetRequestConfig } $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(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..98027a46a9c 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/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/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.php index d46de740720..f4cc3a42172 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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..2c8a4bce769 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?FeatureRolloutPolicyItemRequestBuilderG } $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(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/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php b/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php index cbd772094fe..82c1ab03d96 100644 --- a/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php +++ b/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?HomeRealmDiscoveryPoliciesRequestBuilde } $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(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/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..9ac1dce21e4 100644 --- a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?HomeRealmDiscoveryPolicyItemRequestBuil } $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(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/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.php b/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.php index 377ffcad713..e8bd7feaa29 100644 --- a/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.php +++ b/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?IdentitySecurityDefaultsEnforcementPoli } $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(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/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.php index 9987fde4e08..61f87735d34 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ExcludesRequestBuilderGetRequestConfigu } $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(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/Item/PermissionGrantConditionSetItemRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.php index f7a2280e433..07c2453631c 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.php @@ -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..1ef49fc67c4 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?IncludesRequestBuilderGetRequestConfigu } $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(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/Item/PermissionGrantConditionSetItemRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.php index c40c8d413b7..d7852fb639f 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.php @@ -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..e2bad9e0d4b 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.php @@ -109,7 +109,7 @@ 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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?PermissionGrantPolicyItemRequestBuilder } $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(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/PermissionGrantPoliciesRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.php index 6d8d9d671ce..4fc079f23ab 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PermissionGrantPoliciesRequestBuilderGe } $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(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/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..56503282b0a 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php @@ -92,7 +92,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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?UnifiedRoleManagementPolicyRuleItemRequ } $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(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/RulesRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.php index 831e27ee978..f3138dc1cb4 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.php @@ -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/UnifiedRoleManagementPolicyItemRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.php index 0426c729c86..44023040028 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/RoleManagementPoliciesRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.php index 765461a9d7f..516fdeef3cb 100644 --- a/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.php @@ -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/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..45f8fb93853 100644 --- a/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/RoleManagementPolicyAssignmentsRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.php index d91f8959f27..146ce3deada 100644 --- a/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.php @@ -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/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..3448c224a4e 100644 --- a/src/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php +++ b/src/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php @@ -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,7 +121,7 @@ public function toGetRequestInformation(?TokenIssuancePolicyItemRequestBuilderGe } $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(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..abacc8927b4 100644 --- a/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php +++ b/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TokenIssuancePoliciesRequestBuilderGetR } $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(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/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..6855474ca86 100644 --- a/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php +++ b/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TokenLifetimePolicyItemRequestBuilderGe } $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(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/TokenLifetimePoliciesRequestBuilder.php b/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php index 9548458a794..8d3f17e4fd5 100644 --- a/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php +++ b/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TokenLifetimePoliciesRequestBuilderGetR } $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(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/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..8de2ddc2f28 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?NotesRequestBuilderGetRequestConfigurat } $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(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/SubjectRightsRequestItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php index 44f5ff2b3c1..50bbe5333e5 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php @@ -140,7 +140,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; } @@ -161,7 +161,7 @@ public function toGetRequestInformation(?SubjectRightsRequestItemRequestBuilderG } $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(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/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..e6b93684be2 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SubjectRightsRequestsRequestBuilderGetR } $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(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/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..5f3806a048f 100644 --- a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/UserRegistrationDetailsRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php index ba5fe10f965..cf0e8bc04dc 100644 --- a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php @@ -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/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..2f490c119d1 100644 --- a/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.php +++ b/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.php @@ -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/Item/PrintUsageByPrinterItemRequestBuilder.php b/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php index 101909af198..06595dd6336 100644 --- a/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php +++ b/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.php b/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.php index 6dc07923258..ab832442c2b 100644 --- a/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.php +++ b/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.php @@ -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/Item/PrintUsageByUserItemRequestBuilder.php b/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php index 6cdd8cc999e..8d9fb9a9442 100644 --- a/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php +++ b/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/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..3912a93079e 100644 --- a/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.php +++ b/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.php @@ -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/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..9a822ac1f15 100644 --- a/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.php +++ b/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.php @@ -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/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..799387df844 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/RoleAssignmentScheduleInstancesRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php index f88fd9a71a1..527d0e23856 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php @@ -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/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..096904a9fe7 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -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..d37255b064e 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php @@ -147,7 +147,7 @@ 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; } @@ -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/RoleAssignmentScheduleRequestsRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php index e62da287e64..73880154174 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RoleAssignmentScheduleRequestsRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..d55388eb439 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/RoleAssignmentSchedulesRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php index 2e3469628e1..344b81f381d 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php @@ -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/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..0a10285e11a 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php @@ -124,7 +124,7 @@ 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; } @@ -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/RoleAssignmentsRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilder.php index f5187348bc6..b3184867cea 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/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(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/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..9ddb1e4687a 100644 --- a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?UnifiedRoleDefinitionItemRequestBuilder } $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(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/RoleDefinitionsRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilder.php index f83f8bedd10..cd1eab7b485 100644 --- a/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } $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(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/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..528997c2876 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php @@ -123,7 +123,7 @@ 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; } @@ -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/RoleEligibilityScheduleInstancesRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php index 885b4526a52..aad9236861d 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php @@ -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/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..d48ad394fbe 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -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..26fd2d73417 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php @@ -139,7 +139,7 @@ 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; } @@ -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/RoleEligibilityScheduleRequestsRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php index 54159600af6..68bb9d5ade6 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RoleEligibilityScheduleRequestsRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..82bee3f1d45 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php @@ -123,7 +123,7 @@ 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; } @@ -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/RoleEligibilitySchedulesRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php index 8d308b1ec9e..cd7ce1d8772 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php @@ -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/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..a4d6976417d 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/RoleAssignmentScheduleInstancesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php index de284e5a56f..5ea188677f1 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php @@ -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/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..a5ccbd9b8f3 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -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..baaefae38e4 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php @@ -147,7 +147,7 @@ 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; } @@ -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/RoleAssignmentScheduleRequestsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php index eeb1c666afa..daa357ea991 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RoleAssignmentScheduleRequestsRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..23dc05ee221 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/RoleAssignmentSchedulesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php index 19ffd3cc450..a12f87debd4 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php @@ -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/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..8cff23692aa 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php @@ -124,7 +124,7 @@ 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; } @@ -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/RoleAssignmentsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php index 2ca044273e7..4abfa68f433 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/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(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/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..4bab3e9f6ae 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?UnifiedRoleDefinitionItemRequestBuilder } $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(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/RoleDefinitionsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index dd0a93d38fd..fdfd1ab96fd 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } $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(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/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..e375f72bd99 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php @@ -123,7 +123,7 @@ 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; } @@ -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/RoleEligibilityScheduleInstancesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php index 104dbc842e2..1ff38a6993b 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php @@ -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/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..4375780c89f 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -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..190c784da0f 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php @@ -139,7 +139,7 @@ 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; } @@ -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/RoleEligibilityScheduleRequestsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php index 3a5f7761d94..b5cf63fd9ce 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RoleEligibilityScheduleRequestsRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..f5fc4b29bcb 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php @@ -123,7 +123,7 @@ 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; } @@ -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/RoleEligibilitySchedulesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php index 84ab1d18359..2ec5d78c9d9 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php @@ -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/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..2f300acb195 100644 --- a/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.php +++ b/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?SchemaExtensionItemRequestBuilderGetReq } $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(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/SchemaExtensionsRequestBuilder.php b/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.php index de1b72fbdc5..2be95b725ca 100644 --- a/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.php +++ b/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SchemaExtensionsRequestBuilderGetReques } $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(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/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..af05efe9b96 100644 --- a/src/Generated/Search/Query/QueryRequestBuilder.php +++ b/src/Generated/Search/Query/QueryRequestBuilder.php @@ -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..06c2a470f5c 100644 --- a/src/Generated/Security/Alerts/AlertsRequestBuilder.php +++ b/src/Generated/Security/Alerts/AlertsRequestBuilder.php @@ -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/Item/AlertItemRequestBuilder.php b/src/Generated/Security/Alerts/Item/AlertItemRequestBuilder.php index c84bf4b40be..2e077ea2570 100644 --- a/src/Generated/Security/Alerts/Item/AlertItemRequestBuilder.php +++ b/src/Generated/Security/Alerts/Item/AlertItemRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?AlertItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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_v2/Alerts_v2RequestBuilder.php b/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.php index 5e77fe9b6e6..12847b465ad 100644 --- a/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.php +++ b/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.php @@ -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/Item/AlertItemRequestBuilder.php b/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.php index d4b63e76244..947719b1df1 100644 --- a/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.php +++ b/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?AlertItemRequestBuilderGetRequestConfig } $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(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/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..da80328427f 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.php @@ -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/SimulationAutomationItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.php index e9a91465480..a9d729e052c 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/SimulationAutomationsRequestBuilder.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.php index a5eb61cda1d..24c6846c359 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.php @@ -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/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..82495e85614 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.php @@ -117,7 +117,7 @@ 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; } @@ -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/SimulationsRequestBuilder.php b/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.php index e2357a7bc09..f0355cca2ed 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.php @@ -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/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..cf75ad62816 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?EdiscoveryCasesRequestBuilderGetRequest } $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(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/Item/Custodians/CustodiansRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.php index 5d51a971317..63d15d7d2b8 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.php @@ -117,7 +117,7 @@ public function toGetRequestInformation(?CustodiansRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/Item/EdiscoveryCustodianItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.php index 196a466cf43..8f8102da907 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.php @@ -163,7 +163,7 @@ 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; } @@ -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/LastIndexOperation/LastIndexOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php index 7e698a1894f..5be60e81d86 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 @@ -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/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.php index 6e6a98e8714..f5ba221cb9f 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 @@ -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..46f62e4e6a1 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 @@ -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..5c7ba1e23fb 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 @@ -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..dc941778571 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 @@ -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..0e039a1bd94 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 @@ -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..33c17578149 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SiteSourcesRequestBuilderGetRequestConf } $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(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/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..7d0c0e834bc 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?UnifiedGroupSourcesRequestBuilderGetReq } $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(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/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..cd32cd4d444 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?UserSourcesRequestBuilderGetRequestConf } $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(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/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..7ec0f510e64 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php @@ -165,7 +165,7 @@ 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; } @@ -186,7 +186,7 @@ public function toGetRequestInformation(?EdiscoveryCaseItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.php index e8459a8fb1e..bbe9effe726 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.php @@ -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..49e06fd1674 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.php @@ -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..382ebf566ca 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 @@ -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..98aa9eaf314 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 @@ -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..a03855de165 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 @@ -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..530d8d3a973 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 @@ -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..017bd0e2b33 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.php @@ -116,7 +116,7 @@ public function toGetRequestInformation(?NoncustodialDataSourcesRequestBuilderGe } $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(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..7f8888c729c 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.php index 580a01fba19..6466495f3fb 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.php @@ -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/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.php index 24f7fcaefb5..7eedc5c5bed 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.php @@ -115,7 +115,7 @@ 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; } @@ -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/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.php index 86ed45f0fa8..b39f43c2196 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 @@ -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..0e8bc08f00f 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 @@ -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..a32c10b7c5a 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 @@ -109,7 +109,7 @@ 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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?EdiscoveryReviewSetQueryItemRequestBuil } $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(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/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.php index 01ebf674319..edaa29e7efa 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 @@ -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..88a64fa5ee5 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 @@ -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..74afc0f7ebe 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?QueriesRequestBuilderGetRequestConfigur } $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(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/ReviewSetsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.php index ac2ce075d73..9088a07fc12 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ReviewSetsRequestBuilderGetRequestConfi } $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(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/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..f8ad055d208 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AdditionalSourcesRequestBuilderGetReque } $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(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/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..84f76dd9bba 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 @@ -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/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..d02b7e17adc 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.php @@ -149,7 +149,7 @@ 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; } @@ -170,7 +170,7 @@ public function toGetRequestInformation(?EdiscoverySearchItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php index e5027095631..44287afe64b 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 @@ -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/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.php index 0c5fab912fd..8961fb2f849 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 @@ -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..1105b46658a 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 @@ -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..5ec8269607c 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SearchesRequestBuilderGetRequestConfigu } $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(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/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.php index b5c9857be94..7dfe31cef3c 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.php @@ -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..e0749555176 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $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(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/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..91be083d3f7 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.php @@ -109,7 +109,7 @@ 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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?EdiscoveryReviewTagItemRequestBuilderGe } $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(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/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..dafa1ef2899 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?TagsRequestBuilderGetRequestConfigurati } $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(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/Incidents/IncidentsRequestBuilder.php b/src/Generated/Security/Incidents/IncidentsRequestBuilder.php index c576e95dad3..dd6bbe1a3f0 100644 --- a/src/Generated/Security/Incidents/IncidentsRequestBuilder.php +++ b/src/Generated/Security/Incidents/IncidentsRequestBuilder.php @@ -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/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..531e6837853 100644 --- a/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.php +++ b/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?IncidentItemRequestBuilderGetRequestCon } $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(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/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..3d85c4d7506 100644 --- a/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php +++ b/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?SecureScoreControlProfileItemRequestBui } $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(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/SecureScoreControlProfilesRequestBuilder.php b/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.php index b11b91832fe..1d12f7065b7 100644 --- a/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.php +++ b/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.php @@ -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/SecureScores/Item/SecureScoreItemRequestBuilder.php b/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.php index 830936d230f..4a3edb49c3c 100644 --- a/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.php +++ b/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/SecureScoresRequestBuilder.php b/src/Generated/Security/SecureScores/SecureScoresRequestBuilder.php index 36599ef5741..f273234ee95 100644 --- a/src/Generated/Security/SecureScores/SecureScoresRequestBuilder.php +++ b/src/Generated/Security/SecureScores/SecureScoresRequestBuilder.php @@ -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/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..95b1f77cf87 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?NotesRequestBuilderGetRequestConfigurat } $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(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/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..6637497a647 100644 --- a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.php @@ -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/Item/ArticleIndicatorItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.php index 0ec57488b0b..c6e0ed5e210 100644 --- a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..4eeacd6bc46 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.php @@ -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/Item/ArticleItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.php index c3668a74b20..6d82284120d 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/Indicators/IndicatorsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.php index 01018f78bef..ab86d75b659 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.php @@ -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/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..a4714024f0f 100644 --- a/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.php @@ -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/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..a6850bccd9a 100644 --- a/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/HostCookies/HostCookiesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.php index c7ce87cc8c7..fad5be3aa6b 100644 --- a/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.php @@ -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/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..ab2867fef9e 100644 --- a/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/HostPairs/HostPairsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilder.php index 721a3844edc..2bd5c7cf89f 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilder.php @@ -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/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..6d133dcb3bc 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/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..32cb2d625d7 100644 --- a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilder.php @@ -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/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..b1616ac9736 100644 --- a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/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..535411ebe3b 100644 --- a/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.php @@ -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/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..9e6bc916a31 100644 --- a/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/Hosts/HostsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.php index 539a345dc64..4685d9c3eed 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.php @@ -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/Item/ChildHostPairs/ChildHostPairsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilder.php index 5e387f00420..262d62f618a 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilder.php @@ -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/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..b7d54ecb32d 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.php @@ -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/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..a8432891440 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.php @@ -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/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..ce66547a402 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.php @@ -195,7 +195,7 @@ 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; } @@ -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/HostPairs/HostPairsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilder.php index c4641e32b80..3c72acc463c 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilder.php @@ -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/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..d41f97e4123 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilder.php @@ -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/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..cc83aabae2a 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.php @@ -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/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..1d3e82fe946 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.php @@ -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/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..578a07455c4 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/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..c22719e44b7 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilder.php @@ -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/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..0eefefc23fb 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilder.php @@ -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/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..27306ff625a 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.php @@ -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/Whois/WhoisRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilder.php index 5cc0f449336..9ec6d0bc993 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilder.php @@ -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/IntelProfiles/IntelProfilesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.php index 84ccc5f3d0b..7b7c8c40a2a 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.php @@ -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/Item/Indicators/IndicatorsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.php index 91805de0d86..5c71c1920c5 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.php @@ -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/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..583c0e65a3d 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.php index f4941ffee7e..29e6096d674 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.php @@ -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/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..2be3f90581f 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..7e87a267a5a 100644 --- a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/PassiveDnsRecordsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.php index c6386902fcb..1f53331aac1 100644 --- a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.php @@ -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/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..d6b21088e30 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/SslCertificatesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilder.php index ff122993578..d6f53b56b97 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilder.php @@ -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/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..431f2f34059 100644 --- a/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/SubdomainsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilder.php index feb9a243fc1..107b2f17ac5 100644 --- a/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilder.php @@ -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/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..2eb04d36821 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.php @@ -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/Item/VulnerabilityComponentItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.php index 24ab336c2e9..697ab292fe2 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/VulnerabilityItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.php index e9eb7764a07..4e44bfdf693 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/VulnerabilitiesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.php index 79e24840004..e5acf3584b1 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.php @@ -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/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..090dd544dd9 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilder.php @@ -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/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..ac9cef7a9fc 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/WhoisRecordsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilder.php index 08336506a2a..3267fec9c65 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilder.php @@ -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/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.php b/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.php index 9f7aaebbb67..572d627fde4 100644 --- a/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.php +++ b/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/RetentionEventTypesRequestBuilder.php b/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.php index 67170114ecc..6f99728384f 100644 --- a/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.php +++ b/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RetentionEventTypesRequestBuilderGetReq } $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(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/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..b0b18a93b1e 100644 --- a/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.php +++ b/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -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/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..ccc84c14e64 100644 --- a/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.php +++ b/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RetentionEventsRequestBuilderGetRequest } $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(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/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..7a9cf0c2d7f 100644 --- a/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..1cf9c438815 100644 --- a/src/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.php @@ -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..25f05dce41b 100644 --- a/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php @@ -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..6338e654f83 100644 --- a/src/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.php @@ -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..9e60d0aa781 100644 --- a/src/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.php @@ -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..de2b01f3985 100644 --- a/src/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php @@ -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..93a207bd106 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AppRoleAssignedToRequestBuilderGetReque } $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(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/Item/AppRoleAssignmentItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.php index 00140c73cde..7fb483aed47 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.php @@ -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..021ae8356a0 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AppRoleAssignmentsRequestBuilderGetRequ } $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(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..3b57c7decc9 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php @@ -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..5c9fb448ac8 100644 --- a/src/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..5ad9a2182b3 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php @@ -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/Item/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.php index 33baa7fd9b4..f2eadfb818a 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/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/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.php index 7dceb6e1d8b..d4f4c7da528 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/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/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..d81959c92b2 100644 --- a/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DelegatedPermissionClassificationsReque } $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(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/Item/DelegatedPermissionClassificationItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.php index e0fc65da2c2..6622384eca1 100644 --- a/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.php @@ -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..4ee59b19796 100644 --- a/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..3540ee8a560 100644 --- a/src/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..b1a844a1538 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php @@ -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/Item/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.php index 918b7b470e8..cf4654e452a 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/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/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.php index 9725867667a..f051fb68fb2 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/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/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..e74fb1961f1 100644 --- a/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php @@ -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/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..f66553b3341 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/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/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..816e832d5ee 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/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/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..e3cfffa16a3 100644 --- a/src/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.php @@ -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..f45d2c212ad 100644 --- a/src/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.php @@ -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..16869cc9240 100644 --- a/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php @@ -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..7f9fdc632b3 100644 --- a/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.php @@ -316,7 +316,7 @@ 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; } @@ -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/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php index 77118cbe0c6..34f12b9e6c0 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php @@ -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..8ec5dd0e1f6 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php @@ -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..2692efbc5f1 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php @@ -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..c1226902748 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php @@ -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..6095035e753 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 @@ -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..5d7f4761898 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 @@ -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..79ae5e94be0 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php @@ -124,7 +124,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; } @@ -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/Start/StartRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php index 0fcba147078..540556d7695 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php @@ -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..4e76ca0238a 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php @@ -140,7 +140,7 @@ 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; } @@ -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/ValidateCredentials/ValidateCredentialsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php index 31b7607920c..a1a17e4f362 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php @@ -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..9f151686cf2 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?JobsRequestBuilderGetRequestConfigurati } $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(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/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..248819dec4e 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 @@ -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..6e9618cc3df 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 @@ -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..fce1d4ac4c9 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php @@ -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,7 +120,7 @@ public function toGetRequestInformation(?SynchronizationTemplateItemRequestBuild } $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(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..392b72878b9 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.php @@ -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/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..4e5b5433a17 100644 --- a/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.php @@ -133,7 +133,7 @@ public function toGetRequestInformation(?ServicePrincipalsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.php index e1127f99e42..7420f98e336 100644 --- a/src/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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..7d371e5c06b 100644 --- a/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.php +++ b/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.php @@ -95,7 +95,7 @@ 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; } @@ -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/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..6ac4e7be288 100644 --- a/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.php @@ -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/EscapedList/Columns/ColumnsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilder.php index 0bf6c881f46..596a4f8e540 100644 --- a/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/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..e2b0034b287 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -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..6095499d3a5 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -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..71edd889ad4 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php @@ -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/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..47fd9eaf169 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -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..25f5ed0fb2e 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 5cd870e76e0..0194eb6cc27 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 @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $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(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/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..70637ac5df7 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -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..7579ce3d79f 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -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..6f8f5db205b 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -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..38eef31fbfe 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } $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(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/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index 66b7c30aa5b..aa165490474 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 @@ -108,7 +108,7 @@ 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; } @@ -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/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..6e8a2dd2828 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 @@ -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..b261235623e 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php @@ -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,7 +112,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $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(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..1da7698b391 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php @@ -168,7 +168,7 @@ 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; } @@ -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/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..f723a351181 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 @@ -107,7 +107,7 @@ 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; } @@ -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/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index 46ccf2c596a..9f44a07c3cb 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 @@ -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..bdc69162b74 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php @@ -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/ItemsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilder.php index 85a9c5c8764..d20e499032f 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilder.php @@ -93,7 +93,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..980f32b0b38 100644 --- a/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -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..7cc32d71f82 100644 --- a/src/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.php +++ b/src/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.php @@ -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..a847b204784 100644 --- a/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.php +++ b/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.php @@ -163,7 +163,7 @@ 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; } @@ -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/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..8cf77b6d2c4 100644 --- a/src/Generated/Shares/SharesRequestBuilder.php +++ b/src/Generated/Shares/SharesRequestBuilder.php @@ -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/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..dcbf27ffcd5 100644 --- a/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php @@ -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/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..7ca4bca9a68 100644 --- a/src/Generated/Sites/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Sites/Item/Columns/ColumnsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/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..f96488c5bc8 100644 --- a/src/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -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..f5be19180a4 100644 --- a/src/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -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..ed2d095e8d2 100644 --- a/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php @@ -125,7 +125,7 @@ public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..f0ff6f5d6ec 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -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..ac9f53d55e6 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 0d40c3a8882..ac9e608cce1 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $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(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/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..8cba5b0cf31 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php @@ -173,7 +173,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; } @@ -194,7 +194,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php index 47360030f7b..5271d64abdf 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -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..5ccf8524a11 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -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..a04d5f27974 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -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..7ea6f461b31 100644 --- a/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/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..323649c7ac3 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -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..251358ade8e 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -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..8552b71d390 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php @@ -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/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..9d6fbbdad29 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 @@ -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..f64e3dcf638 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $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(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/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 779fe28cff6..9ac074488a1 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 @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $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(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/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..6bb482b48bd 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 @@ -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..f0fb86f3c97 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 @@ -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..dbff0a572fe 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 @@ -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..33effbf71f2 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } $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(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/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index 8fe8ba35a61..825f317d082 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 @@ -108,7 +108,7 @@ 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; } @@ -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/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..c28a9f762b6 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 @@ -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..dd1c32d531c 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 @@ -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,7 +112,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $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(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..0e8b32d939e 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php @@ -168,7 +168,7 @@ 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; } @@ -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/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..f12e3f54af4 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 @@ -107,7 +107,7 @@ 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; } @@ -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/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index 3a0fd72f71d..70ceefbd5d4 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 @@ -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..02f0114feb2 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 @@ -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/ItemsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php index 284e601ea97..3736ece760f 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php @@ -93,7 +93,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..114b976fa70 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. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. * @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..f48d97cbae1 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. This API is available in the following national cloud deployments. */ 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..26854ca2348 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 @@ -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..cd4175b8eaf 100644 --- a/src/Generated/Sites/Item/Lists/ListsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/ListsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ListsRequestBuilderGetRequestConfigurat } $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(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/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php index 3388c6f5c78..4c97c456ca9 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php @@ -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..756aa842b1c 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php @@ -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..614d3610cc2 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php @@ -115,7 +115,7 @@ 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; } @@ -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/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..9c0ddce75b7 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 @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 1a0a3c089fe..002e7e0f471 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 @@ -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..0a7c0aa6325 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 @@ -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..9a53cee73a4 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 @@ -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..7903c270f52 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..72d42702157 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/SectionGroupsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php index d9af290a6b7..50c43ba443d 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $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(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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index afe4dfb8495..230d67b522e 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 @@ -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..5c50611343f 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 @@ -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..f0409a352e2 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 @@ -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..eabc150c90d 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..b1550d6073a 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/NotebooksRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php index e27e9df3a2a..c3c3f10cd97 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php @@ -119,7 +119,7 @@ public function toGetRequestInformation(?NotebooksRequestBuilderGetRequestConfig } $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(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/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..6972756c6d6 100644 --- a/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php index 8c6b0470eb8..27ebedb0069 100644 --- a/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/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(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/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..9004f9edb5f 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -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..75355784063 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php @@ -140,7 +140,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; } @@ -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/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..c50f791f776 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..4a31ab6bca9 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -123,7 +123,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; } @@ -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/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..bd59d85839e 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index caa8b05dac1..a9ddd482a15 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 @@ -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..5909244541d 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 @@ -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..0b074acf0e9 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 @@ -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..75ec3e04406 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..1f7861db00e 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/SectionGroupsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php index b39cc02652a..8614569cb05 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index d85fa8a82c4..68255ba441a 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -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..0d3af3a6928 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -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..6ab64bfb729 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -131,7 +131,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; } @@ -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/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..4fd26418bfb 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 @@ -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..e12743579f5 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..68e6bec3b33 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php @@ -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/Operations/Item/RichLongRunningOperationItemRequestBuilder.php b/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php index 188bcbedc76..75a6451a27d 100644 --- a/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Sites/Item/Operations/OperationsRequestBuilder.php index 79270343745..77bb397b1fc 100644 --- a/src/Generated/Sites/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Sites/Item/Operations/OperationsRequestBuilder.php @@ -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/Permissions/Item/Grant/GrantRequestBuilder.php b/src/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php index f9fd7141fd2..9ebb75cca4a 100644 --- a/src/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php +++ b/src/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php @@ -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..bb3564778a4 100644 --- a/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?PermissionItemRequestBuilderGetRequestC } $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(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/PermissionsRequestBuilder.php b/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.php index 68b18a23a90..bfea8581297 100644 --- a/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PermissionsRequestBuilderGetRequestConf } $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(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/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..4761f340783 100644 --- a/src/Generated/Sites/Item/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/Item/Sites/SitesRequestBuilder.php @@ -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/TermStore/Groups/GroupsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php index 214cf759046..d20c94dc853 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $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(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/Item/GroupItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php index 6950dfea33d..6c0e4038705 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -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/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 46eb56e4353..305e480041d 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 @@ -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(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/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..da6cdd5c1d7 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 @@ -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/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..4e6b1b5cc95 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index 5a6757e4424..fee972066f0 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php index 289ff2fe94c..d53f7211840 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php @@ -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/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php index 984614d7203..93ca34916cd 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php @@ -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(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/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..e80e01be040 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 @@ -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(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/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..9d20029cd3e 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 @@ -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/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..bf2bc990d03 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php index 79a70cf7ccf..a07e4e1206b 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php index 89789439fc1..81a9da72615 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 @@ -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/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..90123ec0ad2 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php @@ -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/SetItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php index 30ae6bc08a9..777c7c6de5b 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php @@ -125,7 +125,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; } @@ -146,7 +146,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $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(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/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..04b14b0c942 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php index e0f7a4d7108..fd609490952 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php @@ -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/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.php index 6eb7922ae3c..75e73811b0d 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.php @@ -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/TermStoreRequestBuilder.php b/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.php index 672753dfc64..d342de466d4 100644 --- a/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.php @@ -108,7 +108,7 @@ 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; } @@ -129,7 +129,7 @@ public function toGetRequestInformation(?TermStoreRequestBuilderGetRequestConfig } $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(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/TermStores/Item/Groups/GroupsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php index 6d4d45580ab..ab67b7d3c7e 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $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(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/Item/GroupItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php index a95b8a9f754..8124998f09b 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -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/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 6bf68df9936..3c8f2dd05d9 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 @@ -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(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/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..cbbd4a0fed2 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 @@ -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/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..d9d7dfebe65 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index 48aedf43eb9..12bdf14fa69 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php index 879c30316b9..150229a9710 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 @@ -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/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 5f2b0323865..20f4c8bf875 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 @@ -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(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/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..bb8f770c596 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 @@ -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(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/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..0197fd0472a 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 @@ -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/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..1cab8289f04 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php index 53260636fe1..e40f436981c 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php index f55a63a955e..270e98c6b86 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 @@ -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/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..24fe7e34f0a 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 @@ -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/SetItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php index 96998f904bf..381328ff0c1 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php @@ -125,7 +125,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; } @@ -146,7 +146,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $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(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/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..744225f4bf5 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 @@ -117,7 +117,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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $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(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/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php index 060c832444c..13b9ef19930 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 @@ -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/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php index d184611d4c2..012cfd2629e 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php @@ -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/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..06bf6b4de1e 100644 --- a/src/Generated/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/SitesRequestBuilder.php @@ -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/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.php index 3d14f9f890f..5e5aa96ddd1 100644 --- a/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?BookingBusinessesRequestBuilderGetReque } $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(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/Item/Appointments/AppointmentsRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.php index 86a2fa77867..1a5460d0624 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AppointmentsRequestBuilderGetRequestCon } $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(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/Item/BookingAppointmentItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php index fa3e19fb60e..2dbe3f15516 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?BookingAppointmentItemRequestBuilderGet } $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(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/Cancel/CancelRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.php index 762bc5a2156..f3a5688484f 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.php @@ -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..5e67edf2585 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.php @@ -165,7 +165,7 @@ 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; } @@ -186,7 +186,7 @@ public function toGetRequestInformation(?BookingBusinessItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..f280fc21d6a 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -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..e709df2c6e0 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CustomQuestionsRequestBuilderGetRequest } $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(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/Item/BookingCustomQuestionItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.php index c49019a6a38..31adb39c60d 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?BookingCustomQuestionItemRequestBuilder } $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(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/Customers/CustomersRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.php index ca6754c70b8..3022541f5d7 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CustomersRequestBuilderGetRequestConfig } $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(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/Item/BookingCustomerBaseItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.php index c44707a6478..ca41cfb3ffc 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?BookingCustomerBaseItemRequestBuilderGe } $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(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/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.php index ac57830bf0f..c87a77e304c 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.php @@ -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..9bb614eed87 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.php @@ -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..0a9c8b49b39 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?BookingServiceItemRequestBuilderGetRequ } $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(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/ServicesRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.php index 7da66f800c9..33e913fd6d1 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ServicesRequestBuilderGetRequestConfigu } $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(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/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.php index 9dffce1fe63..80cb9ba1c51 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?BookingStaffMemberBaseItemRequestBuilde } $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(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/StaffMembersRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.php index 7e0d2e8097b..e7a36f09447 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?StaffMembersRequestBuilderGetRequestCon } $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(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/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.php index d41e8d4861a..16ca79862cb 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.php @@ -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..ee45198f97f 100644 --- a/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.php +++ b/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.php @@ -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/Item/BookingCurrencyItemRequestBuilder.php b/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.php index 7f6c0fcc36e..9f497ca27f7 100644 --- a/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/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..5530683da5e --- /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. This API is available in the following national cloud deployments. + * @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. This API is available in the following national cloud deployments. + * @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..1cfe4ce42eb --- /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..5feda820313 --- /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. This API is available in the following national cloud deployments. + * @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. This API is available in the following national cloud deployments. + * @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..4f6c1180c20 --- /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..fd61f909336 100644 --- a/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.php +++ b/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/SubscribedSkusRequestBuilder.php b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php index 13d3d436288..b07d8b6b8cd 100644 --- a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php +++ b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php @@ -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/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php index 46c2b59ba05..9d63ea1d869 100644 --- a/src/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -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..063fee44122 100644 --- a/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.php @@ -101,7 +101,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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } $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(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/SubscriptionsRequestBuilder.php b/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php index 400c8ae87ac..635a2803afa 100644 --- a/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php @@ -93,7 +93,7 @@ public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/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..3a107b0d7ab 100644 --- a/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.php +++ b/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.php @@ -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/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..1592c11b401 100644 --- a/src/Generated/Teams/Item/Archive/ArchiveRequestBuilder.php +++ b/src/Generated/Teams/Item/Archive/ArchiveRequestBuilder.php @@ -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..9e2e593dc8a 100644 --- a/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ChannelsRequestBuilderGetRequestConfigu } $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(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/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..1a9469f9372 100644 --- a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -165,7 +165,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; } @@ -186,7 +186,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index 25ca1ec0395..30e2b23ad72 100644 --- a/src/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..70178739871 100644 --- a/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php @@ -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/Members/Add/AddRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.php index ee216d20c0c..1611ea2e85f 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/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/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 174aadd4725..98a25b0a084 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -93,7 +93,7 @@ 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; } @@ -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. This API is available in the following national cloud deployments. * @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/MembersRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php index 53ad8d23c27..fde33a9d4f2 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..d415a81ddc1 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -140,7 +140,7 @@ 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; } @@ -161,7 +161,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $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(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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index fe0392745f5..47a57ea8d4e 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..f5eafc77f32 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 This API is available in the following national cloud deployments. */ 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..12af2e5706c 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..44ced5cc415 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 @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 54e5da8a0d4..35b7311dede 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..5fc83f7df0b 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 This API is available in the following national cloud deployments. */ 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..7af0991d686 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..2fd401629a4 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 @@ -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..4047eabafbf 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 @@ -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 1033722632f..a1e467d0dba 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..a1ac05f6768 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 @@ -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..d16f7c803a4 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 @@ -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..73ad4484db0 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -76,12 +76,12 @@ 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. This API is available in the following national cloud deployments. * @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/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php index 36b6f619fc1..fd5ec765799 100644 --- a/src/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -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..26a28c80d83 100644 --- a/src/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php @@ -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..ffeaa04f349 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 @@ -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/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..461ef2f28a9 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -108,7 +108,7 @@ 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; } @@ -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/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..403ed83af79 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -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/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..f85beb1201b 100644 --- a/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.php index 3a56a2ebf45..695a24d4454 100644 --- a/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index e698f9f9aec..0754f432816 100644 --- a/src/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..6fe5d486dfb 100644 --- a/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php @@ -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..e1c41c99f32 100644 --- a/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php +++ b/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php @@ -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/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..e6103b294ce 100644 --- a/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $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(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/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..ceb4bc52169 100644 --- a/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -116,7 +116,7 @@ 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; } @@ -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/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index b1191845734..2900f7e5751 100644 --- a/src/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php +++ b/src/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php @@ -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..7ef29703cbb 100644 --- a/src/Generated/Teams/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Teams/Item/Members/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/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.php index f71a30bb61f..8dd432c41b5 100644 --- a/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $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(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/MembersRequestBuilder.php b/src/Generated/Teams/Item/Members/MembersRequestBuilder.php index c8698051393..b17a838bc1f 100644 --- a/src/Generated/Teams/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Members/MembersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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/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..34a913cd4ff 100644 --- a/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -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/Photo/PhotoRequestBuilder.php b/src/Generated/Teams/Item/Photo/PhotoRequestBuilder.php index 5be69ac31b9..4275fdf6a9d 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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. * @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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. * @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 208aea28e1a..8deef8d40c4 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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. */ 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..8a2d0499d10 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..0d2063585d4 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php @@ -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/Members/Add/AddRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php index 56aa9d005d1..775e77add71 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/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/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php index c668705ab63..afef27988ad 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -93,7 +93,7 @@ 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; } @@ -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. This API is available in the following national cloud deployments. * @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/MembersRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php index 0c5df69f8ea..f34952e25f6 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..ebfd8d4e8cf 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php @@ -140,7 +140,7 @@ 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; } @@ -161,7 +161,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $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(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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 068f4aa2fe2..b616442283c 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..77590d4bff2 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 This API is available in the following national cloud deployments. */ 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..dc1540a5ff4 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..930c5c79e89 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 @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index c6300185c69..7ee9cea0bda 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..35f0e2ac7f3 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 This API is available in the following national cloud deployments. */ 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..c511e5dcf53 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..0200bfae8ed 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 @@ -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..cbb85aa9f93 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 @@ -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 998cbcb9432..e9c46f3e688 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..2c7fa739a78 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -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..96fedd242ab 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -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..c306e520f6c 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -76,12 +76,12 @@ 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. This API is available in the following national cloud deployments. * @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/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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/PrimaryChannelRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php index b86b767eeff..d03e7a149b8 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -163,7 +163,7 @@ 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; } @@ -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/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php index 6d0881a9d96..9aac6df6e93 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -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..4804440fb04 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php @@ -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..39f03189d27 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -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/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..1252f93608b 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -108,7 +108,7 @@ 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; } @@ -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/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..34b94019f39 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -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/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..27ad8c6fecf 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php index 22547635a39..511ec48b36a 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php index 10b2c81d8bd..8ddf809a772 100644 --- a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OfferShiftRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php index 6e91628a397..92c27da3092 100644 --- a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OfferShiftRequestsRequestBuilderGetRequ } $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(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/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php index 4a015e26cee..07703f5f906 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OpenShiftChangeRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php index d70ffcfd9a5..76e8a9bf727 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OpenShiftChangeRequestsRequestBuilderGe } $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(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/OpenShifts/Item/OpenShiftItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php index 932508e76e5..d87e1d082a5 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/OpenShiftsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php index a13df65ca39..438e5389264 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OpenShiftsRequestBuilderGetRequestConfi } $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(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/ScheduleRequestBuilder.php b/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php index 634d7272d7b..5b38c18dec0 100644 --- a/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php @@ -171,7 +171,7 @@ 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; } @@ -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/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index cff8bf1e080..887e7042292 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/SchedulingGroupsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index f6b44f2b006..63d615af2c5 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SchedulingGroupsRequestBuilderGetReques } $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(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/Share/ShareRequestBuilder.php b/src/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.php index d1ac3c75779..9c34a669d88 100644 --- a/src/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.php @@ -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..8456e1a5165 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/ShiftsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php index 1366f887199..690496a7b2c 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ShiftsRequestBuilderGetRequestConfigura } $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(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/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php index a094f521fc4..68da88d252b 100644 --- a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/SwapShiftsChangeRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php index 96d357c118f..95bc479a2b8 100644 --- a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestsRequestBuilderG } $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(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/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index b4bf8a3b08e..483486971c6 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/TimeOffReasonsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index 1b92063a051..21fc67629f3 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TimeOffReasonsRequestBuilderGetRequestC } $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(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/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index 18548020e63..4a1340058ba 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/TimeOffRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index 8835af32661..53e2d8d2707 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -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/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index 1e1dbd1eb88..58d8bddf26c 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -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/TimesOffRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php index 0b19f3103ea..9ef91d5d283 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TimesOffRequestBuilderGetRequestConfigu } $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(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/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php index e37c4d87996..6afe59b8ac8 100644 --- a/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -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..0c44c18ed19 100644 --- a/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/MembersRequestBuilder.php b/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.php index f58c954497a..dbbcb3f9c77 100644 --- a/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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/TeamworkTagItemRequestBuilder.php b/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php index d359c391720..3cc065604ef 100644 --- a/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamworkTagItemRequestBuilderGetRequest } $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(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/TagsRequestBuilder.php b/src/Generated/Teams/Item/Tags/TagsRequestBuilder.php index 8d7d87cadab..668109e6379 100644 --- a/src/Generated/Teams/Item/Tags/TagsRequestBuilder.php +++ b/src/Generated/Teams/Item/Tags/TagsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TagsRequestBuilderGetRequestConfigurati } $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(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/TeamItemRequestBuilder.php b/src/Generated/Teams/Item/TeamItemRequestBuilder.php index d8a23357961..91d1701622a 100644 --- a/src/Generated/Teams/Item/TeamItemRequestBuilder.php +++ b/src/Generated/Teams/Item/TeamItemRequestBuilder.php @@ -236,7 +236,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; } @@ -257,7 +257,7 @@ public function toGetRequestInformation(?TeamItemRequestBuilderGetRequestConfigu } $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(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/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..1f2779cbf01 100644 --- a/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php @@ -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..360c7864791 100644 --- a/src/Generated/Teams/TeamsRequestBuilder.php +++ b/src/Generated/Teams/TeamsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?TeamsRequestBuilderGetRequestConfigurat } $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(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/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..8ea45964927 100644 --- a/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.php @@ -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/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..5eb2c5da0de 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..5c901e33b3a 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php @@ -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/Members/Add/AddRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php index 7099182b18e..4f42e541e88 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 @@ -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..596d7003aee 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 @@ -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. This API is available in the following national cloud deployments. * @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); @@ -93,7 +93,7 @@ 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; } @@ -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. This API is available in the following national cloud deployments. * @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/MembersRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php index 95ce699563b..c2d1ac8c1b0 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..c51fe608a43 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 @@ -140,7 +140,7 @@ 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; } @@ -161,7 +161,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $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(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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index ff620b60347..8bdbbe61f32 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..735f1280084 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 This API is available in the following national cloud deployments. */ 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..c9273becd18 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..12cc0e36a94 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 @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 3a7a7a26dae..be8c350eb3f 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..345f821dfa3 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 This API is available in the following national cloud deployments. */ 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..08e8f159a9f 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..6c2305066ff 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 @@ -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..9a163e307b6 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 @@ -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 b5ae037b1b6..7723f286180 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..2427ad97ded 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 @@ -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..3c3c1672c2f 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 @@ -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..a5422cc614c 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -76,12 +76,12 @@ 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. This API is available in the following national cloud deployments. * @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/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php index 906c74496d0..cd49d8bdeba 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -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..b7b93692aa9 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php @@ -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..cf211047415 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 @@ -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/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..a6adec8791d 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 @@ -108,7 +108,7 @@ 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; } @@ -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/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..1c57abeb28f 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -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/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..9905c7acc88 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 @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php index 76066c9e887..a308f21a2e6 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/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..ebc7a403373 100644 --- a/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.php +++ b/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.php @@ -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..b81e247815a 100644 --- a/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.php +++ b/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?TeamsAppSettingsRequestBuilderGetReques } $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(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/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..9471414ccb3 100644 --- a/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.php +++ b/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?WorkforceIntegrationItemRequestBuilderG } $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(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/WorkforceIntegrationsRequestBuilder.php b/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.php index 16ac23c0513..2bf6ad21ba1 100644 --- a/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.php +++ b/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?WorkforceIntegrationsRequestBuilderGetR } $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(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/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.php index 7e6dc7b00d6..2e95ac772b1 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.php @@ -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/Item/DelegatedAdminCustomerItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.php index 991cc0f2041..b529de71031 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.php @@ -99,7 +99,7 @@ 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; } @@ -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/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..bbc3c6c9efe 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.php @@ -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/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.php index 23e66f11ce5..57f24f163ea 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DelegatedAdminRelationshipsRequestBuild } $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(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/Item/AccessAssignments/AccessAssignmentsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.php index 7096ef7593f..6fcca9e2883 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AccessAssignmentsRequestBuilderGetReque } $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(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/DelegatedAdminAccessAssignmentItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.php index d1347006651..10656e91799 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DelegatedAdminAccessAssignmentItemReque } $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(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/DelegatedAdminRelationshipItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.php index 3d009677dd9..fc149300d7d 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.php @@ -117,7 +117,7 @@ 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; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?DelegatedAdminRelationshipItemRequestBu } $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(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/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.php index 3b3bf83f265..192bebbe7f8 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.php index 70021cd6103..b7710e9fc2d 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.php @@ -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/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.php index f96ec9292a0..c29f0972a7b 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/RequestsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.php index fce41d32023..a8630786ca3 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RequestsRequestBuilderGetRequestConfigu } $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(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/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..331bc49c234 100644 --- a/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -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..3c1d322385f 100644 --- a/src/Generated/Users/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Users/GetByIds/GetByIdsRequestBuilder.php @@ -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..b0457ae5649 100644 --- a/src/Generated/Users/Item/Activities/ActivitiesRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/ActivitiesRequestBuilder.php @@ -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/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..11e7fee4b92 100644 --- a/src/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.php @@ -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..cce9bdd480b 100644 --- a/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.php @@ -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/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php b/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php index c34953f6935..28c253782f3 100644 --- a/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php +++ b/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php @@ -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/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..3cec97c6e51 100644 --- a/src/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php +++ b/src/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AppRoleAssignmentsRequestBuilderGetRequ } $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(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..2886b9ea6a7 100644 --- a/src/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php @@ -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..76463948440 100644 --- a/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php +++ b/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php @@ -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..131b1f012c0 100644 --- a/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?EmailMethodsRequestBuilderGetRequestCon } $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(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/Item/EmailAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.php index 53b54e88c35..9b9c43457cf 100644 --- a/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?EmailAuthenticationMethodItemRequestBui } $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(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/Fido2Methods/Fido2MethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.php index b940ea81a76..07f5a5e5455 100644 --- a/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.php @@ -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/Item/Fido2AuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.php index d1290718390..c55c921f400 100644 --- a/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.php @@ -76,7 +76,7 @@ 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; } @@ -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/Methods/Item/AuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.php index b872bb284f8..5d6f3214cfa 100644 --- a/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.php @@ -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/ResetPassword/ResetPasswordRequestBuilder.php b/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php index 0539d4ba5a3..09e2b8b2940 100644 --- a/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php @@ -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..2ced549df34 100644 --- a/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.php @@ -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/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..d93acf4047d 100644 --- a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.php @@ -84,7 +84,7 @@ 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; } @@ -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/MicrosoftAuthenticatorMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.php index d1d4a4e1677..78f56a7f266 100644 --- a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.php @@ -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/Operations/Item/LongRunningOperationItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php index 9bd8dddeea3..de671fef56f 100644 --- a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php index 711d2608abe..50de2c032e2 100644 --- a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/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(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/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.php index 48ab4d42cff..5e506aae6bd 100644 --- a/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.php @@ -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/PasswordMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.php index a3a435010a5..201a4d95bf3 100644 --- a/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.php @@ -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/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.php b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.php index a5e77d1b9ee..6216aafeddc 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.php @@ -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..39070fae5c5 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.php @@ -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..55b12dbd5c7 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.php @@ -109,7 +109,7 @@ 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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?PhoneAuthenticationMethodItemRequestBui } $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(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/PhoneMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.php index 97623d05c56..a201d24efdc 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PhoneMethodsRequestBuilderGetRequestCon } $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(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/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.php index 236a3dd1266..f00d970b711 100644 --- a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.php @@ -76,7 +76,7 @@ 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; } @@ -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/SoftwareOathMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.php index eb7d1047f09..3670d60961a 100644 --- a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.php @@ -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/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.php index 45dbc1345b4..f568214520d 100644 --- a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.php @@ -76,7 +76,7 @@ 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; } @@ -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/TemporaryAccessPassMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.php index 3d2fb9e2861..bfef9b9a607 100644 --- a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TemporaryAccessPassMethodsRequestBuilde } $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(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/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..e2ed2ce422d 100644 --- a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.php @@ -84,7 +84,7 @@ 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; } @@ -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/WindowsHelloForBusinessMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.php index 8c4f94a02e3..e3e7d7528d5 100644 --- a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.php @@ -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/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..3602f46838a 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CalendarPermissionsRequestBuilderGetReq } $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(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/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index c4b87304535..15def630684 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?CalendarPermissionItemRequestBuilderGet } $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(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/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php index 100ba859c2e..dce6a2be160 100644 --- a/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php @@ -122,7 +122,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $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(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/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..d42950505b9 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php @@ -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/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php index 298cb1fa9e1..ce16d53b682 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -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 5207e1e6e84..e26075d2e21 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index a3419a2dadc..af34f828fd1 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 @@ -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..5f0562ed5c0 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 @@ -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..95f60b62a8a 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -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..2d0c6e32e10 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -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..e944e82ebc0 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -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..a17362b0892 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 376480f7826..4edc89b0347 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php index 11042d63b45..84084187a78 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -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..724407ba28e 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 @@ -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/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..706f7fd1e95 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 @@ -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 5ad91457aa1..cdf89f88d98 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 03df89015ba..352593d637b 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 @@ -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..56edf103907 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 @@ -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..2fe33070763 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 @@ -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..b79e86a974c 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 @@ -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..c17fe1f9da5 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 @@ -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..0519760fe11 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 2b08ad092c0..cc08edd5a0b 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 1155ce464ba..db925a84e61 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 @@ -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..6ece74c1dc4 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 @@ -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..5ea2c2bbd25 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 @@ -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..e5c6c7e1056 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -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..ada5d60c1d5 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -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..0c467a3eaf5 100644 --- a/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.php @@ -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/EventsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.php index 0a218ca97f3..58a1c168e2b 100644 --- a/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $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(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/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php index 7a1ad666ef1..b50433ac538 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php @@ -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 083e1ac4574..89e0ad144cc 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 5a5c4049659..d4f38473b32 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 @@ -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..c6b855147ee 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 @@ -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..91d98f37823 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php @@ -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..c48166c5a4f 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php @@ -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..d90700bcb4d 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -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..c8de56ba5da 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.php @@ -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,7 +200,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $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(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..e0941311658 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 4ee2c81227c..2c841d15396 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php index a1886899ab4..61db9e1cb4b 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php @@ -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..8893bf1285c 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 @@ -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/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..b89cf737abb 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 @@ -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 ace99af3f69..ccf149efb90 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 0d546dc7010..6fa726da354 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 @@ -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..0deeaac9ec2 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 @@ -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..4853e277dfa 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 @@ -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..6e8ee6acf15 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 @@ -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..de070ece466 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 @@ -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..3a8b8ff6b6d 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 3a033dd358c..dbad50a7251 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index f8e243d63aa..5079c75d4ed 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 @@ -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..53571f4b113 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 @@ -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..85f48d411e5 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 @@ -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..e17579cdd8c 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -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..6c9f52b0d70 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -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..8bd922c8512 100644 --- a/src/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php @@ -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..68108fc30d0 100644 --- a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CalendarGroupsRequestBuilderGetRequestC } $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(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/Item/CalendarGroupItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php index aad659fafe5..314008b2cf6 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?CalendarGroupItemRequestBuilderGetReque } $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(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/Calendars/CalendarsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php index 06c1dee076e..1a147595589 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CalendarsRequestBuilderGetRequestConfig } $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(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/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..3d8d07c0cb0 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CalendarPermissionsRequestBuilderGetReq } $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(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/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index dc46d7d3896..71db67c06f6 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 @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?CalendarPermissionItemRequestBuilderGet } $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(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/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php index 60385ab4a97..9e6bff4fbb7 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 @@ -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/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php index e509f5b48d2..8a00888aa27 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 @@ -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/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php index a185f552264..797fd2cf3ec 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 @@ -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 fc2ce3e9f59..88fc01bf20f 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 219c9fb6b62..3e828be9c57 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 @@ -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..7c4f41251c2 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 @@ -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..242eab573d3 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 @@ -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..91aa31c1c37 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 @@ -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..0e10ef3736a 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 @@ -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..d53e2799414 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 5410a1abe4d..dc305dcf585 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php index 75f70e7825f..c860344bf9e 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 @@ -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..f8558aa5bb9 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 @@ -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/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..fe1692af338 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 @@ -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 f4ca006cb94..e218b0c050b 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 3ce1532435b..eebcb583414 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 @@ -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..45a867dbb0e 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 @@ -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..0bf5b1f4a38 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 @@ -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..a77323ecb62 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 @@ -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..1b2c0050351 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 @@ -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..8613dbde75b 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index bc096b9db92..1e20b2733a5 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 1d4d2c165a0..8a5bf1c77eb 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 @@ -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..a76eacb2ec1 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 @@ -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..2988fa49cee 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 @@ -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..e71d80d606b 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 @@ -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..6a541834c45 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 @@ -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..bd63ce81597 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 @@ -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/EventsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php index e9373d33c20..3a53f38c9ed 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $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(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/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php index 55e76e88370..3d49809a069 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 @@ -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 efc04ad4ac4..abe67552be5 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 814193ea6ae..b45ad5d116d 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 @@ -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..c98717a84ce 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 @@ -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..3ca9c04fb3e 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 @@ -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..f4a039da25d 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 @@ -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..37b702e7b2b 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 @@ -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..f6cc03e7575 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 @@ -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,7 +200,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $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(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..0b01f4211fb 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 9801a3efb41..c7f20027f57 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php index b058017e5a3..8ae62bb2eba 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 @@ -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..cead888713c 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 @@ -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/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..74e6a716e50 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 @@ -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 fe2708195ec..767dd9271d4 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 5544dcd0410..6304eb513eb 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 @@ -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..1953ddeb0dd 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 @@ -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..e2898b34e9c 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 @@ -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..4aeb989763b 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 @@ -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..bfec9a4a6fe 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 @@ -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..ff9928da35a 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index c4f00041b17..4a2d161fe15 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 5641b97ce07..95651f1d0ec 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 @@ -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..a9768c7eeb7 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 @@ -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..b825aa355a4 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 @@ -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..7cd8788feec 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 @@ -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..a1ac3f46209 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 @@ -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..04d5f5543a5 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 @@ -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..7cf17e0979b 100644 --- a/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.php @@ -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/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php index 959aaddc230..5e0a3d9b5b5 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -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 5ed9b8b57ba..e49b64cefb0 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index be1e80d58b7..ac4767c4c93 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -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..d7fb296b521 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -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..07f86006ede 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -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..d86a6ffc1f0 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -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..69c10a2405a 100644 --- a/src/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -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..ba2c052b64a 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index aba4074a8d2..ddbad880fcf 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php index 04c0526414a..3a504a8381d 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -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..a352223c49c 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php @@ -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/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..1c6a4202e72 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 @@ -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 78a11334c22..40af5c79b7e 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 6922e53ce78..4ba487cc046 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 @@ -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..4f2ee498427 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 @@ -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..c2483fcf5f1 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 @@ -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..930deeedf07 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 @@ -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..06e0afc02fa 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 @@ -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..cd62ee32b95 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 839e1f80897..5beaa812768 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 91aaf8b94f9..d697de020ad 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 @@ -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..43d48c184fb 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 @@ -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..9bb053aa8a9 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 @@ -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..9aa36ce0627 100644 --- a/src/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -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..acc446b0e27 100644 --- a/src/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -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..8d8e286b264 100644 --- a/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CalendarsRequestBuilderGetRequestConfig } $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(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/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..150ad090cad 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?CalendarPermissionsRequestBuilderGetReq } $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(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/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index 5cc87c19713..1982d132ebc 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?CalendarPermissionItemRequestBuilderGet } $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(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/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..05f1d668bbd 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php @@ -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/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php index 44a51f9982f..004cd7f8334 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 @@ -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 3c8241586b0..0c59e9d65d4 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index b8f654e0a88..d58893c2524 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 @@ -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..e21d992db64 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 @@ -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..0338fd9afbe 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 @@ -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..fae22223067 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 @@ -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..5d77a7e8687 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 @@ -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..a0b46b08c16 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 2a431c364d4..c9b7d6ebb5f 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php index d0bab34f1bc..035c978fea8 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 @@ -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..c277c506d89 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 @@ -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/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..b8859da60e1 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 @@ -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 e5c8eae5c26..0177e691c52 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 9ae2fd4db23..fd24ee9651f 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 @@ -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..8e26c5fbadd 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 @@ -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..059daee6246 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 @@ -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..2b176c1ae54 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 @@ -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..a57a614e139 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 @@ -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..523c8f9fddb 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index bde6fe70c11..a4889356a8b 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index e09735b7535..c0d3d6e8afa 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 @@ -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..63d3471cb7d 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 @@ -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..98eeb8df6b7 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 @@ -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..b30634c06a6 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 @@ -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..673a6811595 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 @@ -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..7a5b5e48f0d 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php @@ -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/EventsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.php index c85a02bb3e9..7d6b7797f2f 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $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(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/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php index 302f82110eb..de3301a8fe6 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 @@ -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 fa8a3b4c0ac..d6b005b710f 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index f7eaeb9ea83..8a87de1025b 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 @@ -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..3e02e37bc33 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 @@ -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..a61f432fd03 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 @@ -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..e3dc17fe972 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 @@ -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..611fee11e13 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 @@ -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..601446e7402 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php @@ -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,7 +200,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $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(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..7858146ac9a 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 339d9d66010..760a3e5efa1 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php index 34c1b9db0da..eacfb5de10d 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 @@ -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..4b6a95abdf9 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 @@ -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/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..1a88a3b33f1 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 @@ -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 c9ca16c9473..fa2327e2f9c 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 0784b89383a..1d487839ab3 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 @@ -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..650577c9daf 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 @@ -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..6346078709b 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 @@ -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..a71a3b50b2f 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 @@ -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..9c74c71dda0 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 @@ -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..d3fea4e733b 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 235ddee133d..1bcb525dae1 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 770747b6102..dd621d7c24b 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 @@ -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..956a26d642e 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 @@ -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..d54c34ec36b 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 @@ -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..5043adb6474 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 @@ -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..758240799fa 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 @@ -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..12b6c894502 100644 --- a/src/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php @@ -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..3b7ef7d4f93 100644 --- a/src/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.php +++ b/src/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.php @@ -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..df50380cd9f 100644 --- a/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php @@ -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/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..c0297d3e9f8 100644 --- a/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php @@ -187,7 +187,7 @@ 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; } @@ -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/HideForUser/HideForUserRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.php index 41fc8cbb5c0..3b232591a4c 100644 --- a/src/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.php @@ -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..f412eb0f1aa 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $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(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/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..3b670690d33 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -116,7 +116,7 @@ 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; } @@ -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/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index c323fac3a3e..e637dafdd55 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 @@ -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..2e364877965 100644 --- a/src/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php @@ -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..6173fe06766 100644 --- a/src/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php @@ -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..787da5bfbc2 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Members/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/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index d540f111230..ad627ad66be 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/MembersRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php index da9d56510df..cd0532dc5fa 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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/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..171f410511b 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -139,7 +139,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 7e95b014738..665194e8769 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..aef0bcb9797 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 This API is available in the following national cloud deployments. */ 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..61f2074b9b8 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..1caaa0a0dc4 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 @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 02a49d94c1e..1d7b39caaed 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..097b76fa5d5 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 This API is available in the following national cloud deployments. */ 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..fdf8760858e 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..6fe5934f0a2 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 @@ -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..6c371282dc3 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 @@ -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 8787ee4b4da..98420738e49 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..23732cc65f1 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 @@ -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..66e947a5d18 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 @@ -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..f8d0b3718a8 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..05502d8df19 100644 --- a/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -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/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..f5ba5e527a1 100644 --- a/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php @@ -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..b5b314f0bf8 100644 --- a/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PinnedMessagesRequestBuilderGetRequestC } $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(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/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php index 0c0a5e2209b..fe45273c887 100644 --- a/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -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..29bde3af23b 100644 --- a/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.php index 48a88a958c5..3f942f24c21 100644 --- a/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/UnhideForUser/UnhideForUserRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php index 78be1758f01..8a293dd1f7d 100644 --- a/src/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php @@ -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..6702591f2f0 100644 --- a/src/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -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..944a2b81f2a 100644 --- a/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ContactFoldersRequestBuilderGetRequestC } $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(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/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.php index 011c10a3d47..663ed4f37ba 100644 --- a/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.php @@ -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/ChildFoldersRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php index 5eab524fd36..2634143c0c9 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ChildFoldersRequestBuilderGetRequestCon } $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(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/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php index 377825947cc..feac695d82e 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php @@ -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/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..b140f287b66 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ContactsRequestBuilderGetRequestConfigu } $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(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/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.php index 44a496fdf1f..3be074e20e2 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 @@ -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/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..e4aea1df6d1 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.php @@ -109,7 +109,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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?ContactFolderItemRequestBuilderGetReque } $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(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/Contacts/ContactsRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.php index 2c359391ae7..4f001fe1a7c 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ContactsRequestBuilderGetRequestConfigu } $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(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/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.php index b0586a033b9..6e82866c3cc 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.php @@ -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/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..7ccfdc42aca 100644 --- a/src/Generated/Users/Item/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/ContactsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ContactsRequestBuilderGetRequestConfigu } $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(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/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.php index 102c2adeb71..a1a605dd20a 100644 --- a/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.php @@ -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/Item/ContactItemRequestBuilder.php b/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.php index ef34bb03885..494077f4c66 100644 --- a/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.php @@ -109,7 +109,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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?ContactItemRequestBuilderGetRequestConf } $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(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/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..b6401c434e5 100644 --- a/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.php +++ b/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.php @@ -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/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..defd37c899e 100644 --- a/src/Generated/Users/Item/Drive/DriveRequestBuilder.php +++ b/src/Generated/Users/Item/Drive/DriveRequestBuilder.php @@ -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/Drives/DrivesRequestBuilder.php b/src/Generated/Users/Item/Drives/DrivesRequestBuilder.php index 4f352ba0ec9..e2fe28992fc 100644 --- a/src/Generated/Users/Item/Drives/DrivesRequestBuilder.php +++ b/src/Generated/Users/Item/Drives/DrivesRequestBuilder.php @@ -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/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..a1c4cfdac06 100644 --- a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php +++ b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php @@ -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/LearningCourseActivitiesRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php index cc5793df04e..eebce3566f5 100644 --- a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php +++ b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php @@ -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/Events/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.php index d080d71cfa0..40626b1d7ca 100644 --- a/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.php @@ -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/EventsRequestBuilder.php b/src/Generated/Users/Item/Events/EventsRequestBuilder.php index 63d67f8d836..b8cbd091b46 100644 --- a/src/Generated/Users/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/EventsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $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(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/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.php index f8d9ffe0405..713ddb3fff4 100644 --- a/src/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.php @@ -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 237903dc8de..bc49694dadb 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 2ca306e6fb6..2c5bd23e6bc 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -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..ce62400c355 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -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..a4fd4a552a1 100644 --- a/src/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.php @@ -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..ce3015e1c86 100644 --- a/src/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.php @@ -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..62ce2bff555 100644 --- a/src/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -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..a991d044ae1 100644 --- a/src/Generated/Users/Item/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/EventItemRequestBuilder.php @@ -181,7 +181,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; } @@ -202,7 +202,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php index da4adc2a773..3299d5ec13b 100644 --- a/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 23eb524cecf..eeaa9147077 100644 --- a/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.php index 198e27d516c..93f46029a2f 100644 --- a/src/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.php @@ -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..13c4c6a60e9 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php @@ -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/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..39a1e3c01c2 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 @@ -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 b202663e33f..79e41ba224f 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 @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * 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. 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. This API is available in the following national cloud deployments. * @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/event-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); @@ -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 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. 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. This API is available in the following national cloud deployments. * @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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 6624c03132e..294bd448d9f 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 @@ -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..4b8bb0d632b 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 @@ -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..96a93a2dba4 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 @@ -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..7d2d3a78854 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 @@ -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..2ef27b33862 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 @@ -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..2c3b1253405 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 99b83cac50e..c3b22c2957d 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 @@ -91,7 +91,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 440f3c4c9b1..22953b05bac 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 @@ -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..035942bf88c 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 @@ -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..4ccacb8c619 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 @@ -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..891176676de 100644 --- a/src/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -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..c6d3a9ce2bf 100644 --- a/src/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -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..9e70bb964c8 100644 --- a/src/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.php +++ b/src/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.php @@ -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..f1ab688b9e9 100644 --- a/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.php +++ b/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.php @@ -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..494e25d36d8 100644 --- a/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.php +++ b/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.php @@ -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/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..ba15f2215e3 100644 --- a/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php +++ b/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php @@ -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..f05bfc0c3bf 100644 --- a/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -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..c7773ef98ab 100644 --- a/src/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -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..3401dedb97c 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php @@ -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,7 +113,7 @@ public function toGetRequestInformation(?InferenceClassificationOverrideItemRequ } $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(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..b9f8873515a 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OverridesRequestBuilderGetRequestConfig } $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(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/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..9063a9e92f8 100644 --- a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php @@ -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/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..c593e6f8570 100644 --- a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php @@ -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/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..24502820671 100644 --- a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php @@ -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/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..3c82ecb66cc 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.php @@ -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/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..322d5493968 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.php @@ -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..ac6e7cceb01 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ChannelsRequestBuilderGetRequestConfigu } $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(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/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..58f280b2266 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -165,7 +165,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; } @@ -186,7 +186,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index f4503f51962..79105de73d5 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 @@ -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..b9f7f63e965 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 @@ -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/Members/Add/AddRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php index 45d1ebc67e3..ad578e38947 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 @@ -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..0244449ddeb 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 @@ -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. This API is available in the following national cloud deployments. * @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); @@ -93,7 +93,7 @@ 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; } @@ -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. This API is available in the following national cloud deployments. * @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/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php index f469d354d31..15e5025555c 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 @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..56ac839153c 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 @@ -140,7 +140,7 @@ 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; } @@ -161,7 +161,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $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(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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 5af6149da16..95795c02239 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..e3241a955f7 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 This API is available in the following national cloud deployments. */ 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..dd99bddc427 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..88ce667ee6b 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 @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 336b2acccfc..f8d9e1d9370 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..8acdcbd5512 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 This API is available in the following national cloud deployments. */ 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..a681e4bb622 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..abaf5cfcbcd 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 @@ -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..24e55003ff1 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 @@ -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 d1654bb7e90..4d2b4d55773 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..4491a973363 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 @@ -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..129fe39bfb0 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 @@ -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..9404e781686 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 @@ -76,12 +76,12 @@ 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. This API is available in the following national cloud deployments. * @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/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php index 8795066fe95..56acee391a5 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 @@ -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..175bde446cb 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 @@ -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..de87ca18b3e 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 @@ -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/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..630cca2fc51 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 @@ -108,7 +108,7 @@ 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; } @@ -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/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..add797736a7 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 @@ -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/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..458e7531a8e 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 @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php index 14c712e34d4..b0a4b134263 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index 05b56627450..923d2ddc80c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..8e7ca28a0d9 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php @@ -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..2ffa77e4160 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php @@ -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/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..d3998ac8168 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $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(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/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..c32fa7fd738 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -116,7 +116,7 @@ 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; } @@ -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/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index 63db11b6a55..f7bda5d5528 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 @@ -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..c2fa06d4df5 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/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/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.php index c1ba2b5af89..8b3c02b2aaa 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $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(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/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php index 66d8ad3a86e..01e6cea6087 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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/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..884ba32192e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -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/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.php index b839c502e65..f8c7fdc0a86 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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. * @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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. * @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 64017d12fb0..22a05fff314 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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. */ 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..c2fa4602a43 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -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..92341378087 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php @@ -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/Members/Add/AddRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php index f764abc2dce..713fecb821e 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 @@ -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..815af25cebe 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 @@ -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. This API is available in the following national cloud deployments. * @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); @@ -93,7 +93,7 @@ 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; } @@ -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. This API is available in the following national cloud deployments. * @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/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php index b784d22831a..df9b8f38631 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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/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..fc1b36415f0 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 @@ -140,7 +140,7 @@ 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; } @@ -161,7 +161,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $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(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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 8285187e3f0..6077fc99638 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..67c5a767c0d 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 This API is available in the following national cloud deployments. */ 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..9915a09dc49 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..060f41ce33f 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 @@ -131,7 +131,7 @@ 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; } @@ -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/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index fe4bc153303..334571e50a8 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 This API is available in the following national cloud deployments. * @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 This API is available in the following national cloud deployments. * @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..4338dacebe6 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 This API is available in the following national cloud deployments. */ 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..ce7e6a2d795 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 @@ -99,7 +99,7 @@ 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; } @@ -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/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..d2c06d90a1a 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 @@ -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..63cda5491e3 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 @@ -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 686e8f4f3dc..4ad38f86f15 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $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(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/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..2e1dc50876e 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 @@ -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..0f2d4c850bb 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 @@ -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..2a64a518c28 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -76,12 +76,12 @@ 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. This API is available in the following national cloud deployments. * @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/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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/PrimaryChannelRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php index 7bcf76c994d..d458c577623 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -163,7 +163,7 @@ 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; } @@ -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/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php index d0aa9fa9894..802e48c240a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -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..c33e77e15a2 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php @@ -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..8a976e3bca7 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 @@ -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/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..a1cc52446a5 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 @@ -108,7 +108,7 @@ 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; } @@ -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/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..ea91fc7590c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -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/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..5221b328357 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 @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $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(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/TabsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php index 124002043d9..71981f48801 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $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(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/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php index 9a55788ea6a..76e1e8a1611 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 @@ -91,7 +91,7 @@ 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; } @@ -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/OfferShiftRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php index 32b2a2bc68a..3776c48b0bf 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OfferShiftRequestsRequestBuilderGetRequ } $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(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/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php index cc99cff0c9d..37bceaf3da5 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 @@ -91,7 +91,7 @@ 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; } @@ -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/OpenShiftChangeRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php index e6bcac35c92..dcd072deea4 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OpenShiftChangeRequestsRequestBuilderGe } $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(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/OpenShifts/Item/OpenShiftItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php index 2de331e0922..6ea6112162e 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 @@ -93,7 +93,7 @@ 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; } @@ -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/OpenShiftsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php index 7145ecbf0e3..41fbe5610a4 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OpenShiftsRequestBuilderGetRequestConfi } $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(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/ScheduleRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php index f9fd7d91636..f1d0bc4bf73 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php @@ -171,7 +171,7 @@ 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; } @@ -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/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index bf59ceaa654..e4e2ad8a51e 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 @@ -93,7 +93,7 @@ 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; } @@ -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/SchedulingGroupsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index bddccbabe20..9610277547c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SchedulingGroupsRequestBuilderGetReques } $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(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/Share/ShareRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.php index 190ba09d4ab..091da61d6ea 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.php @@ -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..74a42c0ff64 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 @@ -93,7 +93,7 @@ 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; } @@ -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/ShiftsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php index bc6175b3d61..f4c2a1348fe 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ShiftsRequestBuilderGetRequestConfigura } $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(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/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php index 864eb9e5c8f..9b150c89a8f 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 @@ -91,7 +91,7 @@ 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; } @@ -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/SwapShiftsChangeRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php index dca89284c53..6d5457647b1 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestsRequestBuilderG } $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(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/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index 4af2342ffed..246eef3c56e 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 @@ -93,7 +93,7 @@ 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; } @@ -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/TimeOffReasonsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index 6c3431b2dd3..877924e5339 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TimeOffReasonsRequestBuilderGetRequestC } $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(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/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index 97a3e9fadb2..6754fb2d2a2 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 @@ -92,7 +92,7 @@ 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; } @@ -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/TimeOffRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index d8ee85320b2..5ea207198bb 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -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/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index 1c41a004713..9aa76036bc5 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 @@ -93,7 +93,7 @@ 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; } @@ -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/TimesOffRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php index 6fba7d63032..8624d243bcf 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TimesOffRequestBuilderGetRequestConfigu } $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(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/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php index 27607f12f47..8ed32fe7f84 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -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..8c861607d10 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 @@ -92,7 +92,7 @@ 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; } @@ -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/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.php index a23888c0c19..a80455ad188 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $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(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/TeamworkTagItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php index 3cf2d7444d5..14446895cc0 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php @@ -101,7 +101,7 @@ 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; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TeamworkTagItemRequestBuilderGetRequest } $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(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/TagsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.php index d5975ac60a8..05af3713749 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TagsRequestBuilderGetRequestConfigurati } $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(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/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..222157106c3 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php @@ -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..ab078dda508 100644 --- a/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.php @@ -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/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..84519829e72 100644 --- a/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.php +++ b/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.php @@ -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/MailFolders/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php index 36f65d13a1f..1e62e2abcef 100644 --- a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php @@ -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/ChildFoldersRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php index 1d68d9ace1f..aab96b7a009 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 } /** - * 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. This API is available in the following national cloud deployments. + * Create a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. * @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/mailfolder-post-childfolders?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/mailsearchfolder-post?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; } /** - * 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. This API is available in the following national cloud deployments. + * Create a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. * @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..16150413f4b 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php @@ -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/Copy/CopyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.php index 5e79b36410e..fa02b879215 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 @@ -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..d103d4c827b 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 @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MessageRuleItemRequestBuilderGetRequest } $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(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/MessageRulesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php index 67c0eace3ad..c92e6139d11 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MessageRulesRequestBuilderGetRequestCon } $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(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/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php index 4a16d41406f..ada075c778e 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 { @@ -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..b9189a14a42 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 @@ -9,6 +9,11 @@ */ 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 ca8fcae9804..4297ec6567f 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,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param AttachmentsRequestBuilderGetRequestConfiguration|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-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. * @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 bec945d134f..3d8348f5ec2 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. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. */ 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..0c1bf137b7c 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 @@ -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..b7d01d5c320 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 @@ -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/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..8fa06197a61 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 @@ -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..1f776f35bfa 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 @@ -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..1ea5fdd6cfe 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 @@ -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..cd3b098c222 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 @@ -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..16710640ef3 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 801dc8f62de..487162ba3af 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 @@ -92,7 +92,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php index 7b27aad274d..7ed8d301f33 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 @@ -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..b19b9094414 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 @@ -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..202995799ef 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 @@ -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..417ade17763 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 @@ -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..25d1943f065 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 @@ -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..67397366715 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $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(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/Move/MoveRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.php index 725f61fc87d..4b76d05851c 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 @@ -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..20c30209ebe 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.php @@ -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..263cc6cba30 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php @@ -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. This API is available in the following national cloud deployments. * @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); @@ -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. This API is available in the following national cloud deployments. * @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..f8eaf0cb892 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MessageRuleItemRequestBuilderGetRequest } $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(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/MessageRulesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php index 5b2ce0761a7..cac22ae9fc8 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MessageRulesRequestBuilderGetRequestCon } $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(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/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php index 9b75aa95bb1..d16db1da3d0 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 { @@ -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..87af793bf6c 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -9,6 +9,11 @@ */ 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 065b4b998c4..366c06c51b7 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,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param AttachmentsRequestBuilderGetRequestConfiguration|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-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. * @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 310e98a0620..b6e484f70a7 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. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. */ 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..52dfb29ef79 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 @@ -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..3b8c0e8c630 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 @@ -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/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php index 24d63c2efc7..5099f728e91 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 @@ -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..6e8e545e623 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 @@ -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..6cb977ce99b 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 @@ -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..bdfd294c8b6 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 @@ -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..7e4f537efe0 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 @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 3e2a52ad5f4..cb5d852d530 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 @@ -92,7 +92,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php index 9f6f978396b..214d74aecda 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 @@ -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..890499eaa4d 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 @@ -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..c29151db0ba 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 @@ -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..b897132efde 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 @@ -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..e659d7e79b1 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 @@ -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..14bafa3129c 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $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(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/Move/MoveRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.php index f922443b675..c3a80cdc58d 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.php @@ -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..2aec72e01c3 100644 --- a/src/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MailFoldersRequestBuilderGetRequestConf } $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(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..b3a6a0f78d4 100644 --- a/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php +++ b/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php @@ -84,7 +84,7 @@ 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; } @@ -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/Ref/RefRequestBuilder.php b/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php index 2bd4500fe94..9760de58778 100644 --- a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php +++ b/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php @@ -95,7 +95,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; } @@ -113,7 +113,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; } @@ -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..629df6b06ed 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 { @@ -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..68d41c04847 100644 --- a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -9,6 +9,11 @@ */ 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 036f1867dc6..83d2e143ea3 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param AttachmentsRequestBuilderGetRequestConfiguration|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-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @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. This API is available in the following national cloud deployments. * @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 5a32e8acbfa..cbd59783ccb 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. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. */ 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..b7e8b478398 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -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..27dc921195f 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -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/Messages/Item/Copy/CopyRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.php index 1b86a594350..50847c34e68 100644 --- a/src/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.php @@ -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..f29a830c268 100644 --- a/src/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php @@ -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..ef1e7c38016 100644 --- a/src/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php @@ -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..d4898250005 100644 --- a/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php @@ -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..4d1dd12c05b 100644 --- a/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $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(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/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 6506cfcac1f..e731e2f712f 100644 --- a/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -92,7 +92,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; } @@ -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/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.php index f3e78ab9f4d..ab066f06cd1 100644 --- a/src/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.php @@ -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 fffb770c124..3b54a389a67 100644 --- a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php @@ -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); @@ -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,7 +210,7 @@ public function toGetRequestInformation(?MessageItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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..ac90b5cb597 100644 --- a/src/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.php @@ -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..ad252a52043 100644 --- a/src/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.php @@ -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..be0297d506e 100644 --- a/src/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php @@ -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..3d2fe4a37e2 100644 --- a/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php @@ -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..c2aad59a8c1 100644 --- a/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ContentRequestBuilderGetRequestConfiguration|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-messages?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(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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 95762a61c05..352089b65aa 100644 --- a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php @@ -64,7 +64,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param MessagesRequestBuilderGetRequestConfiguration|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-messages?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(?MessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -109,7 +109,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $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(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..56fef4f94e7 100644 --- a/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php +++ b/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php @@ -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/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php index d9410eba3e0..600d2cf9da6 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php @@ -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..eef23f5062f 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php @@ -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..0aaceec86cb 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php @@ -115,7 +115,7 @@ 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; } @@ -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/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..d9643638502 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 @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index f72e0c6f7b8..dbda39b057a 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 @@ -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..50dfa552ef0 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 @@ -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..88b19cefad9 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 @@ -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..92a7818ef8e 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..717c9861ee9 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/SectionGroupsRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php index 80c8a0833dc..237c8f0f94c 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $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(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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 01e78322444..03c2a8298dc 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 @@ -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..921295717cf 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 @@ -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..e8d684b90e5 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 @@ -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..c6a0b91a735 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..89eac6d1fd0 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/NotebooksRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.php index 881d86fdc26..426831dd055 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.php @@ -119,7 +119,7 @@ public function toGetRequestInformation(?NotebooksRequestBuilderGetRequestConfig } $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(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/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..8b8dea3fc0e 100644 --- a/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ 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; } @@ -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/OperationsRequestBuilder.php b/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.php index 1424b4a7280..12fbc6ebb06 100644 --- a/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/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(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/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..ed4ec6e498f 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -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..1292a51e7e2 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php @@ -140,7 +140,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; } @@ -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/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..f5e08d41c4f 100644 --- a/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..4a98c2262d9 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -123,7 +123,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; } @@ -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/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..658b40c6b9e 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index e295d68a88c..13828cf26cc 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 @@ -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..b077a89d987 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 @@ -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..b2840bd160b 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 @@ -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..dc8df334e4b 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..017976ea969 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $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(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/SectionGroupsRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php index 74e17bc570c..05794426471 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php @@ -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/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 0ddabe0786d..67e8e23325b 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -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..15558101bd3 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -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..6332c4faa64 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -131,7 +131,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; } @@ -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/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..107eeda2e6a 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 @@ -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..0809286aee4 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $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(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/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..8dba976270b 100644 --- a/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.php @@ -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/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php index 031718a44e1..d2a2499f21c 100644 --- a/src/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php @@ -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..13f41f95b1d 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 @@ -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/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 ee901fea32c..bc53e02450d 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php @@ -9,6 +9,7 @@ use Microsoft\Graph\Generated\Users\Item\OnlineMeetings\Item\AttendanceReports\AttendanceReportsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\OnlineMeetings\Item\AttendeeReport\AttendeeReportRequestBuilder; use Microsoft\Graph\Generated\Users\Item\OnlineMeetings\Item\GetVirtualAppointmentJoinWebUrl\GetVirtualAppointmentJoinWebUrlRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\OnlineMeetings\Item\Recordings\RecordingsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\OnlineMeetings\Item\Transcripts\TranscriptsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -21,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); @@ -41,6 +42,13 @@ public function getVirtualAppointmentJoinWebUrl(): GetVirtualAppointmentJoinWebU return new GetVirtualAppointmentJoinWebUrlRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + */ + public function recordings(): RecordingsRequestBuilder { + return new RecordingsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. */ @@ -125,7 +133,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; } @@ -146,7 +154,7 @@ public function toGetRequestInformation(?OnlineMeetingItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -165,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/Recordings/Count/CountRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..6e5776b3e38 --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/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}/users/{user%2Did}/onlineMeetings/{onlineMeeting%2Did}/recordings/$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/Users/Item/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..56d21870b2d --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..bbaa30a9e6e --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/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/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php new file mode 100644 index 00000000000..503b260cd2b --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php @@ -0,0 +1,156 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CallRecordingItemRequestBuilder 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}/users/{user%2Did}/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property recordings for users + * @param CallRecordingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CallRecordingItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * 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); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property recordings in users + * @param CallRecording $body The request body + * @param CallRecordingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(CallRecording $body, ?CallRecordingItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property recordings for users + * @param CallRecordingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CallRecordingItemRequestBuilderDeleteRequestConfiguration $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 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 + */ + public function toGetRequestInformation(?CallRecordingItemRequestBuilderGetRequestConfiguration $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 recordings in users + * @param CallRecording $body The request body + * @param CallRecordingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(CallRecording $body, ?CallRecordingItemRequestBuilderPatchRequestConfiguration $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 CallRecordingItemRequestBuilder + */ + public function withUrl(string $rawUrl): CallRecordingItemRequestBuilder { + return new CallRecordingItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c14248d1763 --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.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/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2fee314383c --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.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 CallRecordingItemRequestBuilderGetQueryParameters 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/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..76d4b25734d --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CallRecordingItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CallRecordingItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CallRecordingItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CallRecordingItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CallRecordingItemRequestBuilderGetQueryParameters { + return new CallRecordingItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..0ac35eb14a7 --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.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/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php new file mode 100644 index 00000000000..61131950356 --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php @@ -0,0 +1,114 @@ +|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}/users/{user%2Did}/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}/content'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * 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 + */ + public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * 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 + * @throws Exception + */ + public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * 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 + */ + public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + return $requestInfo; + } + + /** + * 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 + */ + public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setStreamContent($body, "application/octet-stream"); + 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 ContentRequestBuilder + */ + public function withUrl(string $rawUrl): ContentRequestBuilder { + return new ContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4489b597e2b --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.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/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..8e576ced604 --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.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/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php new file mode 100644 index 00000000000..c1574e5365c --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + * @param string $callRecordingId The unique identifier of callRecording + * @return CallRecordingItemRequestBuilder + */ + public function byCallRecordingId(string $callRecordingId): CallRecordingItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['callRecording%2Did'] = $callRecordingId; + return new CallRecordingItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RecordingsRequestBuilder 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}/users/{user%2Did}/onlineMeetings/{onlineMeeting%2Did}/recordings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * 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 + */ + public function get(?RecordingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecordingCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to recordings for users + * @param CallRecording $body The request body + * @param RecordingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CallRecording $body, ?RecordingsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * 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 + */ + public function toGetRequestInformation(?RecordingsRequestBuilderGetRequestConfiguration $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 recordings for users + * @param CallRecording $body The request body + * @param RecordingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CallRecording $body, ?RecordingsRequestBuilderPostRequestConfiguration $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 RecordingsRequestBuilder + */ + public function withUrl(string $rawUrl): RecordingsRequestBuilder { + return new RecordingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ffcc6cc04ed --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.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 recordingsRequestBuilderGetQueryParameters 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/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..79c89d43e35 --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RecordingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RecordingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new recordingsRequestBuilderGetQueryParameters. + * @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 RecordingsRequestBuilderGetQueryParameters + */ + 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): RecordingsRequestBuilderGetQueryParameters { + return new RecordingsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..2b94cb266d8 --- /dev/null +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.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/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php index 3be1d7c38e5..d31b234bb31 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php @@ -107,7 +107,7 @@ 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; } @@ -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/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..6b64baccdeb 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php @@ -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/OnlineMeetingsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.php index f45f2383685..61a24b42935 100644 --- a/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?OnlineMeetingsRequestBuilderGetRequestC } $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(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/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php index 8dcb63f9581..32e8ef1e7f8 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?OutlookCategoryItemRequestBuilderGetReq } $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(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/MasterCategoriesRequestBuilder.php b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php index 3c465b41f46..34912edb85b 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MasterCategoriesRequestBuilderGetReques } $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(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/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..690df718872 100644 --- a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php @@ -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/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..1162f5441ff 100644 --- a/src/Generated/Users/Item/People/PeopleRequestBuilder.php +++ b/src/Generated/Users/Item/People/PeopleRequestBuilder.php @@ -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/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php index 524b8982cc8..2cb471bae52 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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. * @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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. * @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 3459c5f1e0d..85d78a441fa 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 are 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 not available, 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 photo will be 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. This API is available in the following national cloud deployments. */ 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 971d372283d..574cfbfd837 100644 --- a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php +++ b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get photos from users + * The collection of the user's profile photos in different sizes. Read-only. * @param ProfilePhotoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -54,7 +54,7 @@ public function get(?ProfilePhotoItemRequestBuilderGetRequestConfiguration $requ } /** - * Get photos from users + * The collection of the user's profile photos in different sizes. Read-only. * @param ProfilePhotoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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/ProfilePhotoItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php index 17f668b0f0f..8058e4f9e0b 100644 --- a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get photos from users + * The collection of the user's profile photos in different sizes. Read-only. */ class ProfilePhotoItemRequestBuilderGetQueryParameters { 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 6773041402b..44f5be5bd67 100644 --- a/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php +++ b/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php @@ -43,7 +43,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get photos from users + * The collection of the user's profile photos in different sizes. Read-only. * @param PhotosRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -58,7 +58,7 @@ public function get(?PhotosRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Get photos from users + * The collection of the user's profile photos in different sizes. Read-only. * @param PhotosRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -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/Photos/PhotosRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetQueryParameters.php index 4d6481a16c1..106f7c40a1d 100644 --- a/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get photos from users + * The collection of the user's profile photos in different sizes. Read-only. */ class PhotosRequestBuilderGetQueryParameters { 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..7cc2de7cdb1 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php @@ -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/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..e21089a011d 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 @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index e6abd596783..aea4ae5a6b8 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 @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php index b236b68270a..4103bd4f166 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 @@ -92,7 +92,7 @@ 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; } @@ -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/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..108475c61d7 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 @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php index 5f84128150c..560ebe30a64 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 @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php index f661e88245b..03da9421695 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/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..cf7906cfa0a 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 @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 1773edcc3bc..6e5f6525a99 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 @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php index c7dfa14874b..eab95c2927a 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 @@ -92,7 +92,7 @@ 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; } @@ -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/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..48531393d09 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 @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php index 4934b665527..4fd1bdeab6e 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php @@ -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/PlansRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.php index a1046a30eba..ce0c73bbc11 100644 --- a/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.php @@ -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/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 49de80bda9d..1a091170e84 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 92468908e50..45c14eb91cc 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/Details/DetailsRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.php index 2d213306a18..7fd51542b9a 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/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..d84e4cdd738 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -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/TasksRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.php index d200abd62d9..44ed9e541f7 100644 --- a/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.php @@ -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/Presence/ClearPresence/ClearPresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.php index 758dacdf8ca..49de3a496dd 100644 --- a/src/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.php @@ -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..4ea8ff81df9 100644 --- a/src/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php @@ -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..79677419f2e 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -131,7 +131,7 @@ 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; } @@ -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/SetPresence/SetPresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.php index 5bb48e5a69b..6e4e4364eb3 100644 --- a/src/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.php @@ -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..773db52e879 100644 --- a/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php @@ -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..9948a359012 100644 --- a/src/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php @@ -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..ce3dd9eb5f3 100644 --- a/src/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.php +++ b/src/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.php @@ -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..d60901c5edd 100644 --- a/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php @@ -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..19d33270a6b 100644 --- a/src/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.php +++ b/src/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.php @@ -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..e32d0382be6 100644 --- a/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php +++ b/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php @@ -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..a9851ea82eb 100644 --- a/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php @@ -100,7 +100,7 @@ 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; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $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(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/ShiftPreferences/ShiftPreferencesRequestBuilder.php b/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.php index ab731486eca..f4c1db15cf2 100644 --- a/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.php @@ -92,7 +92,7 @@ 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; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ShiftPreferencesRequestBuilderGetReques } $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(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/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.php b/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.php index 979245fa989..b9ae96e2b5f 100644 --- a/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.php @@ -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/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..e9ca9705260 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $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(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/Item/Chat/ChatRequestBuilder.php b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.php index 5c95763ef76..dbdd4b57448 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.php @@ -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/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..fbbee0d2d14 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.php @@ -116,7 +116,7 @@ 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; } @@ -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/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.php index 2459abb9a2b..8d425fac7c1 100644 --- a/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -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..d54c6fcc3bc 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 @@ -109,7 +109,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $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(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/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 4200239dcd4..13d8a484d3e 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 @@ -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..1cbcbd365d4 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 @@ -84,7 +84,7 @@ 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; } @@ -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/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..6e1a67f2a28 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ChecklistItemsRequestBuilderGetRequestC } $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(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/Item/ChecklistItemItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.php index c7261c0ee6b..96137715117 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 @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ChecklistItemItemRequestBuilderGetReque } $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(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/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..52c82bf2cee 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 @@ -93,7 +93,7 @@ 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; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?LinkedResourceItemRequestBuilderGetRequ } $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(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/LinkedResourcesRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.php index e0e9c27870a..23b8f30c156 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 @@ -101,7 +101,7 @@ public function toGetRequestInformation(?LinkedResourcesRequestBuilderGetRequest } $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(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/TodoTaskItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.php index a7244efb431..a09816264d5 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 @@ -133,7 +133,7 @@ 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; } @@ -154,7 +154,7 @@ public function toGetRequestInformation(?TodoTaskItemRequestBuilderGetRequestCon } $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(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/TasksRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.php index 51890b1c88f..6d4cddaed0e 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $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(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/TodoTaskListItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.php index d91070f0496..9fbe3795772 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.php @@ -109,7 +109,7 @@ 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; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?TodoTaskListItemRequestBuilderGetReques } $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(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/ListsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.php index 5678d0a3281..8318d7a5cf0 100644 --- a/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ListsRequestBuilderGetRequestConfigurat } $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(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/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..c1a0125c9e0 100644 --- a/src/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.php +++ b/src/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.php @@ -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 f87eb444d58..33174b7aa99 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -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); @@ -640,7 +640,7 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi * @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/intune-mam-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); @@ -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,7 +696,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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..f6839f1b0fa 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-onboarding-user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -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,7 +133,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -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..e86e3feb05b 100644 --- a/src/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -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 9e2494b657f..a50ac17e967 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "72F313C963CA6547BA876157FF9206BFEC0F94A27510D2E038054F24E31BD5F7011E1D40B873910D20D6FF6D91B22842F550B34B7A297E972BC0EEB40943CC35", + "descriptionHash": "AF87CAE79D7CEB70FE7C38A6DEEA63EC4C104D71E93EE8BE09257A6516CA3BECEB145C4AF9688626D8B4380FDB59997E3A999DD4FED236FF20CA2111F7E6C333", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.8.0", + "kiotaVersion": "1.9.0", "clientClassName": "BaseGraphClient", "clientNamespaceName": "Microsoft\\Graph\\Generated", "language": "PHP", @@ -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" diff --git a/src/GraphConstants.php b/src/GraphConstants.php index d9d40e3a3be..ae32e3ee76d 100644 --- a/src/GraphConstants.php +++ b/src/GraphConstants.php @@ -19,5 +19,5 @@ final class GraphConstants { const API_VERSION = "v1.0"; - const SDK_VERSION = "2.0.0-RC27"; + const SDK_VERSION = "2.0.0-RC28"; }