Skip to content

Commit

Permalink
Merge pull request #1090 from microsoftgraph/fix/generation-issues
Browse files Browse the repository at this point in the history
Generated changes to address missing classes and wrong imports.
  • Loading branch information
SilasKenneth authored Dec 13, 2022
2 parents 7c80fa4 + ef6bb71 commit d06352d
Show file tree
Hide file tree
Showing 7,932 changed files with 8,188 additions and 31,986 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: "Validate Pull Request"

on:
push:
branches: [ main, dev ]
branches: [ main, dev, feat/kiota-preview ]
pull_request:
branches: [ main, dev ]
branches: [ main, dev, feat/kiota-preview ]
# Add assigned to defaults as a hack to easily trigger code-gen PRs to run validation
types: [assigned, opened, synchronize, reopened]

Expand Down
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
includes:
- ./vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
level: 1
polluteScopeWithAlwaysIterableForeach: false
Expand Down
7 changes: 2 additions & 5 deletions src/Generated/Admin/AdminRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class AdminRequestBuilder
{
Expand Down Expand Up @@ -78,7 +75,7 @@ public function createGetRequestInformation(?AdminRequestBuilderGetRequestConfig

/**
* Update admin
* @param Admin $body
* @param Admin $body The request body
* @param AdminRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down Expand Up @@ -121,7 +118,7 @@ public function get(?AdminRequestBuilderGetRequestConfiguration $requestConfigur

/**
* Update admin
* @param Admin $body
* @param Admin $body The request body
* @param AdminRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class CountRequestBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class HealthOverviewsRequestBuilder
{
Expand Down Expand Up @@ -79,7 +76,7 @@ public function createGetRequestInformation(?HealthOverviewsRequestBuilderGetReq

/**
* Create new navigation property to healthOverviews for admin
* @param ServiceHealth $body
* @param ServiceHealth $body The request body
* @param HealthOverviewsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down Expand Up @@ -122,7 +119,7 @@ public function get(?HealthOverviewsRequestBuilderGetRequestConfiguration $reque

/**
* Create new navigation property to healthOverviews for admin
* @param ServiceHealth $body
* @param ServiceHealth $body The request body
* @param HealthOverviewsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class CountRequestBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class IssuesRequestBuilder
{
Expand Down Expand Up @@ -79,7 +76,7 @@ public function createGetRequestInformation(?IssuesRequestBuilderGetRequestConfi

/**
* Create new navigation property to issues for admin
* @param ServiceHealthIssue $body
* @param ServiceHealthIssue $body The request body
* @param IssuesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down Expand Up @@ -122,7 +119,7 @@ public function get(?IssuesRequestBuilderGetRequestConfiguration $requestConfigu

/**
* Create new navigation property to issues for admin
* @param ServiceHealthIssue $body
* @param ServiceHealthIssue $body The request body
* @param IssuesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;
use Psr\Http\Message\StreamInterface;

class IncidentReportRequestBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class ServiceHealthIssueItemRequestBuilder
{
Expand Down Expand Up @@ -92,7 +89,7 @@ public function createGetRequestInformation(?ServiceHealthIssueItemRequestBuilde

/**
* Update the navigation property issues in admin
* @param ServiceHealthIssue $body
* @param ServiceHealthIssue $body The request body
* @param ServiceHealthIssueItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down Expand Up @@ -162,7 +159,7 @@ public function incidentReport(): IncidentReportRequestBuilder {

/**
* Update the navigation property issues in admin
* @param ServiceHealthIssue $body
* @param ServiceHealthIssue $body The request body
* @param ServiceHealthIssueItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class ServiceHealthItemRequestBuilder
{
Expand Down Expand Up @@ -100,7 +97,7 @@ public function createGetRequestInformation(?ServiceHealthItemRequestBuilderGetR

/**
* Update the navigation property healthOverviews in admin
* @param ServiceHealth $body
* @param ServiceHealth $body The request body
* @param ServiceHealthItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down Expand Up @@ -173,7 +170,7 @@ public function issuesById(string $id): ServiceHealthIssueItemRequestBuilder {

/**
* Update the navigation property healthOverviews in admin
* @param ServiceHealth $body
* @param ServiceHealth $body The request body
* @param ServiceHealthItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class CountRequestBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class IssuesRequestBuilder
{
Expand Down Expand Up @@ -79,7 +76,7 @@ public function createGetRequestInformation(?IssuesRequestBuilderGetRequestConfi

/**
* Create new navigation property to issues for admin
* @param ServiceHealthIssue $body
* @param ServiceHealthIssue $body The request body
* @param IssuesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down Expand Up @@ -122,7 +119,7 @@ public function get(?IssuesRequestBuilderGetRequestConfiguration $requestConfigu

/**
* Create new navigation property to issues for admin
* @param ServiceHealthIssue $body
* @param ServiceHealthIssue $body The request body
* @param IssuesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;
use Psr\Http\Message\StreamInterface;

class IncidentReportRequestBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class ServiceHealthIssueItemRequestBuilder
{
Expand Down Expand Up @@ -92,7 +89,7 @@ public function createGetRequestInformation(?ServiceHealthIssueItemRequestBuilde

/**
* Update the navigation property issues in admin
* @param ServiceHealthIssue $body
* @param ServiceHealthIssue $body The request body
* @param ServiceHealthIssueItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down Expand Up @@ -162,7 +159,7 @@ public function incidentReport(): IncidentReportRequestBuilder {

/**
* Update the navigation property issues in admin
* @param ServiceHealthIssue $body
* @param ServiceHealthIssue $body The request body
* @param ServiceHealthIssueItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class ArchiveRequestBuilder
{
Expand Down Expand Up @@ -44,7 +41,7 @@ public function __construct(array $pathParameters, RequestAdapter $requestAdapte

/**
* Archive a list of serviceUpdateMessages for the signed in user.
* @param ArchivePostRequestBody $body
* @param ArchivePostRequestBody $body The request body
* @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -68,7 +65,7 @@ public function createPostRequestInformation(ArchivePostRequestBody $body, ?Arch

/**
* Archive a list of serviceUpdateMessages for the signed in user.
* @param ArchivePostRequestBody $body
* @param ArchivePostRequestBody $body The request body
* @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class CountRequestBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class FavoriteRequestBuilder
{
Expand Down Expand Up @@ -44,7 +41,7 @@ public function __construct(array $pathParameters, RequestAdapter $requestAdapte

/**
* Change the status of a list of serviceUpdateMessages to favorite for the signed in user.
* @param FavoritePostRequestBody $body
* @param FavoritePostRequestBody $body The request body
* @param FavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -68,7 +65,7 @@ public function createPostRequestInformation(FavoritePostRequestBody $body, ?Fav

/**
* Change the status of a list of serviceUpdateMessages to favorite for the signed in user.
* @param FavoritePostRequestBody $body
* @param FavoritePostRequestBody $body The request body
* @param FavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class AttachmentsRequestBuilder
{
Expand Down Expand Up @@ -79,7 +76,7 @@ public function createGetRequestInformation(?AttachmentsRequestBuilderGetRequest

/**
* Create new navigation property to attachments for admin
* @param ServiceAnnouncementAttachment $body
* @param ServiceAnnouncementAttachment $body The request body
* @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down Expand Up @@ -122,7 +119,7 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo

/**
* Create new navigation property to attachments for admin
* @param ServiceAnnouncementAttachment $body
* @param ServiceAnnouncementAttachment $body The request body
* @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ResponseHandler|null $responseHandler Response handler to use in place of the default response handling provided by the core service
* @return Promise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;

class CountRequestBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
use Microsoft\Kiota\Abstractions\HttpMethod;
use Microsoft\Kiota\Abstractions\RequestAdapter;
use Microsoft\Kiota\Abstractions\RequestInformation;
use Microsoft\Kiota\Abstractions\RequestOption;
use Microsoft\Kiota\Abstractions\ResponseHandler;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParsableFactory;
use Psr\Http\Message\StreamInterface;

class ContentRequestBuilder
Expand Down
Loading

0 comments on commit d06352d

Please sign in to comment.