Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated files with build 129423 #1411

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can install the PHP SDK with Composer by editing your `composer.json` file:
```
{
"require": {
"microsoft/microsoft-graph": "^2.0.0"
"microsoft/microsoft-graph": "^2.1.0"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions src/Generated/Admin/AdminRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}
Expand Down
6 changes: 3 additions & 3 deletions src/Generated/Admin/Edge/EdgeRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Generated/Admin/People/PeopleRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function toGetRequestInformation(?PeopleRequestBuilderGetRequestConfigura
}
$requestInfo->addRequestOptions(...$requestConfiguration->options);
}
$requestInfo->tryAddHeader('Accept', "application/json;q=1");
$requestInfo->tryAddHeader('Accept', "application/json");
return $requestInfo;
}

Expand All @@ -106,7 +106,7 @@ public function toPatchRequestInformation(PeopleAdminSettings $body, ?PeopleRequ
$requestInfo->addHeaders($requestConfiguration->headers);
$requestInfo->addRequestOptions(...$requestConfiguration->options);
}
$requestInfo->tryAddHeader('Accept', "application/json;q=1");
$requestInfo->tryAddHeader('Accept', "application/json");
$requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body);
return $requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ProfileCardPropertyItemRequestBuilde
$requestInfo->addHeaders($requestConfiguration->headers);
$requestInfo->addRequestOptions(...$requestConfiguration->options);
}
$requestInfo->tryAddHeader('Accept', "application/json, application/json");
$requestInfo->tryAddHeader('Accept', "application/json");
return $requestInfo;
}

Expand All @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ProfileCardPropertyItemRequestBuilderGe
}
$requestInfo->addRequestOptions(...$requestConfiguration->options);
}
$requestInfo->tryAddHeader('Accept', "application/json;q=1");
$requestInfo->tryAddHeader('Accept', "application/json");
return $requestInfo;
}

Expand All @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ProfileCardProperty $body, ?ProfileCar
$requestInfo->addHeaders($requestConfiguration->headers);
$requestInfo->addRequestOptions(...$requestConfiguration->options);
}
$requestInfo->tryAddHeader('Accept', "application/json;q=1");
$requestInfo->tryAddHeader('Accept', "application/json");
$requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body);
return $requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ProfileCardPropertiesRequestBuilderGetR
}
$requestInfo->addRequestOptions(...$requestConfiguration->options);
}
$requestInfo->tryAddHeader('Accept', "application/json;q=1");
$requestInfo->tryAddHeader('Accept', "application/json");
return $requestInfo;
}

Expand All @@ -120,7 +120,7 @@ public function toPostRequestInformation(ProfileCardProperty $body, ?ProfileCard
$requestInfo->addHeaders($requestConfiguration->headers);
$requestInfo->addRequestOptions(...$requestConfiguration->options);
}
$requestInfo->tryAddHeader('Accept', "application/json;q=1");
$requestInfo->tryAddHeader('Accept', "application/json");
$requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body);
return $requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}
Expand Down
Loading