Skip to content

Commit 192f355

Browse files
Merge pull request #1791 from microsoftgraph/revert-1789-kiota/v1.0/pipelinebuild/225829
Revert "Generated models and request builders"
2 parents 8a62bb8 + 2da11c5 commit 192f355

6,974 files changed

Lines changed: 101148 additions & 167328 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
5353

5454
/**
5555
* Get a list of the configurationMonitoringResult objects and their properties.
56-
* @param ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
56+
* @param ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5757
* @return Promise<ConfigurationMonitoringResultCollectionResponse|null>
5858
* @throws Exception
5959
* @link https://learn.microsoft.com/graph/api/configurationmanagement-list-configurationmonitoringresults?view=graph-rest-1.0 Find more info here
6060
*/
61-
public function get(?ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4 $requestConfiguration = null): Promise {
61+
public function get(?ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
6262
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
6363
$errorMappings = [
6464
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
@@ -69,11 +69,11 @@ public function get(?ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f
6969
/**
7070
* Create new navigation property to configurationMonitoringResults for admin
7171
* @param ConfigurationMonitoringResult $body The request body
72-
* @param ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
72+
* @param ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7373
* @return Promise<ConfigurationMonitoringResult|null>
7474
* @throws Exception
7575
*/
76-
public function post(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9 $requestConfiguration = null): Promise {
76+
public function post(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
7777
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
7878
$errorMappings = [
7979
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
@@ -83,10 +83,10 @@ public function post(ConfigurationMonitoringResult $body, ?ConfigurationMonitori
8383

8484
/**
8585
* Get a list of the configurationMonitoringResult objects and their properties.
86-
* @param ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
86+
* @param ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8787
* @return RequestInformation
8888
*/
89-
public function toGetRequestInformation(?ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4 $requestConfiguration = null): RequestInformation {
89+
public function toGetRequestInformation(?ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation {
9090
$requestInfo = new RequestInformation();
9191
$requestInfo->urlTemplate = $this->urlTemplate;
9292
$requestInfo->pathParameters = $this->pathParameters;
@@ -105,10 +105,10 @@ public function toGetRequestInformation(?ConfigurationMonitoringResultsRequestBu
105105
/**
106106
* Create new navigation property to configurationMonitoringResults for admin
107107
* @param ConfigurationMonitoringResult $body The request body
108-
* @param ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108+
* @param ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
109109
* @return RequestInformation
110110
*/
111-
public function toPostRequestInformation(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9 $requestConfiguration = null): RequestInformation {
111+
public function toPostRequestInformation(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation {
112112
$requestInfo = new RequestInformation();
113113
$requestInfo->urlTemplate = $this->urlTemplate;
114114
$requestInfo->pathParameters = $this->pathParameters;

src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4.php

Lines changed: 0 additions & 45 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
3+
namespace Microsoft\Graph\Generated\Admin\ConfigurationManagement\ConfigurationMonitoringResults;
4+
5+
use Microsoft\Kiota\Abstractions\BaseRequestConfiguration;
6+
use Microsoft\Kiota\Abstractions\RequestOption;
7+
8+
/**
9+
* Configuration for the request such as headers, query parameters, and middleware options.
10+
*/
11+
class ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration extends BaseRequestConfiguration
12+
{
13+
/**
14+
* @var ConfigurationMonitoringResultsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters
15+
*/
16+
public ?ConfigurationMonitoringResultsRequestBuilderGetQueryParameters $queryParameters = null;
17+
18+
/**
19+
* Instantiates a new ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration and sets the default values.
20+
* @param array<string, array<string>|string>|null $headers Request headers
21+
* @param array<RequestOption>|null $options Request options
22+
* @param ConfigurationMonitoringResultsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters
23+
*/
24+
public function __construct(?array $headers = null, ?array $options = null, ?ConfigurationMonitoringResultsRequestBuilderGetQueryParameters $queryParameters = null) {
25+
parent::__construct($headers ?? [], $options ?? []);
26+
$this->queryParameters = $queryParameters;
27+
}
28+
29+
/**
30+
* Instantiates a new ConfigurationMonitoringResultsRequestBuilderGetQueryParameters.
31+
* @param bool|null $count Include count of items
32+
* @param array<string>|null $expand Expand related entities
33+
* @param string|null $filter Filter items by property values
34+
* @param array<string>|null $orderby Order items by property values
35+
* @param string|null $search Search items by search phrases
36+
* @param array<string>|null $select Select properties to be returned
37+
* @param int|null $skip Skip the first n items
38+
* @param int|null $top Show only the first n items
39+
* @return ConfigurationMonitoringResultsRequestBuilderGetQueryParameters
40+
*/
41+
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): ConfigurationMonitoringResultsRequestBuilderGetQueryParameters {
42+
return new ConfigurationMonitoringResultsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top);
43+
}
44+
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace Microsoft\Graph\Generated\Admin\ConfigurationManagement\ConfigurationMonitoringResults;
4+
5+
use Microsoft\Kiota\Abstractions\BaseRequestConfiguration;
6+
use Microsoft\Kiota\Abstractions\RequestOption;
7+
8+
/**
9+
* Configuration for the request such as headers, query parameters, and middleware options.
10+
*/
11+
class ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration extends BaseRequestConfiguration
12+
{
13+
/**
14+
* Instantiates a new ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration and sets the default values.
15+
* @param array<string, array<string>|string>|null $headers Request headers
16+
* @param array<RequestOption>|null $options Request options
17+
*/
18+
public function __construct(?array $headers = null, ?array $options = null) {
19+
parent::__construct($headers ?? [], $options ?? []);
20+
}
21+
22+
}

src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9.php

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3232

3333
/**
3434
* Delete navigation property configurationMonitoringResults for admin
35-
* @param ConfigurationMonitoringResultItemRequestBuilderDeleteRe_d4b30f6a|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35+
* @param ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @return Promise<void|null>
3737
* @throws Exception
3838
*/
39-
public function delete(?ConfigurationMonitoringResultItemRequestBuilderDeleteRe_d4b30f6a $requestConfiguration = null): Promise {
39+
public function delete(?ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
4040
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
4141
$errorMappings = [
4242
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
@@ -46,12 +46,12 @@ public function delete(?ConfigurationMonitoringResultItemRequestBuilderDeleteRe_
4646

4747
/**
4848
* Read the properties and relationships of a configurationMonitoringResult object.
49-
* @param ConfigurationMonitoringResultItemRequestBuilderGetReque_ce22d56e|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49+
* @param ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @return Promise<ConfigurationMonitoringResult|null>
5151
* @throws Exception
5252
* @link https://learn.microsoft.com/graph/api/configurationmonitoringresult-get?view=graph-rest-1.0 Find more info here
5353
*/
54-
public function get(?ConfigurationMonitoringResultItemRequestBuilderGetReque_ce22d56e $requestConfiguration = null): Promise {
54+
public function get(?ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
5555
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
5656
$errorMappings = [
5757
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
@@ -62,11 +62,11 @@ public function get(?ConfigurationMonitoringResultItemRequestBuilderGetReque_ce2
6262
/**
6363
* Update the navigation property configurationMonitoringResults in admin
6464
* @param ConfigurationMonitoringResult $body The request body
65-
* @param ConfigurationMonitoringResultItemRequestBuilderPatchReq_91cee601|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
65+
* @param ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6666
* @return Promise<ConfigurationMonitoringResult|null>
6767
* @throws Exception
6868
*/
69-
public function patch(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultItemRequestBuilderPatchReq_91cee601 $requestConfiguration = null): Promise {
69+
public function patch(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
7070
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
7171
$errorMappings = [
7272
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
@@ -76,10 +76,10 @@ public function patch(ConfigurationMonitoringResult $body, ?ConfigurationMonitor
7676

7777
/**
7878
* Delete navigation property configurationMonitoringResults for admin
79-
* @param ConfigurationMonitoringResultItemRequestBuilderDeleteRe_d4b30f6a|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
79+
* @param ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8080
* @return RequestInformation
8181
*/
82-
public function toDeleteRequestInformation(?ConfigurationMonitoringResultItemRequestBuilderDeleteRe_d4b30f6a $requestConfiguration = null): RequestInformation {
82+
public function toDeleteRequestInformation(?ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation {
8383
$requestInfo = new RequestInformation();
8484
$requestInfo->urlTemplate = $this->urlTemplate;
8585
$requestInfo->pathParameters = $this->pathParameters;
@@ -94,10 +94,10 @@ public function toDeleteRequestInformation(?ConfigurationMonitoringResultItemReq
9494

9595
/**
9696
* Read the properties and relationships of a configurationMonitoringResult object.
97-
* @param ConfigurationMonitoringResultItemRequestBuilderGetReque_ce22d56e|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
97+
* @param ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9898
* @return RequestInformation
9999
*/
100-
public function toGetRequestInformation(?ConfigurationMonitoringResultItemRequestBuilderGetReque_ce22d56e $requestConfiguration = null): RequestInformation {
100+
public function toGetRequestInformation(?ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation {
101101
$requestInfo = new RequestInformation();
102102
$requestInfo->urlTemplate = $this->urlTemplate;
103103
$requestInfo->pathParameters = $this->pathParameters;
@@ -116,10 +116,10 @@ public function toGetRequestInformation(?ConfigurationMonitoringResultItemReques
116116
/**
117117
* Update the navigation property configurationMonitoringResults in admin
118118
* @param ConfigurationMonitoringResult $body The request body
119-
* @param ConfigurationMonitoringResultItemRequestBuilderPatchReq_91cee601|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
119+
* @param ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
120120
* @return RequestInformation
121121
*/
122-
public function toPatchRequestInformation(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultItemRequestBuilderPatchReq_91cee601 $requestConfiguration = null): RequestInformation {
122+
public function toPatchRequestInformation(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation {
123123
$requestInfo = new RequestInformation();
124124
$requestInfo->urlTemplate = $this->urlTemplate;
125125
$requestInfo->pathParameters = $this->pathParameters;

src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilderDeleteRe_d4b30f6a.php

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)