Skip to content
Open
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.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap

/**
* Get a list of the configurationMonitoringResult objects and their properties.
* @param ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ConfigurationMonitoringResultCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/configurationmanagement-list-configurationmonitoringresults?view=graph-rest-1.0 Find more info here
*/
public function get(?ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
public function get(?ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4 $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
$errorMappings = [
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
Expand All @@ -69,11 +69,11 @@ public function get(?ConfigurationMonitoringResultsRequestBuilderGetRequestConfi
/**
* Create new navigation property to configurationMonitoringResults for admin
* @param ConfigurationMonitoringResult $body The request body
* @param ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ConfigurationMonitoringResult|null>
* @throws Exception
*/
public function post(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
public function post(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9 $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
$errorMappings = [
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
Expand All @@ -83,10 +83,10 @@ public function post(ConfigurationMonitoringResult $body, ?ConfigurationMonitori

/**
* Get a list of the configurationMonitoringResult objects and their properties.
* @param ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
public function toGetRequestInformation(?ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation {
public function toGetRequestInformation(?ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4 $requestConfiguration = null): RequestInformation {
$requestInfo = new RequestInformation();
$requestInfo->urlTemplate = $this->urlTemplate;
$requestInfo->pathParameters = $this->pathParameters;
Expand All @@ -105,10 +105,10 @@ public function toGetRequestInformation(?ConfigurationMonitoringResultsRequestBu
/**
* Create new navigation property to configurationMonitoringResults for admin
* @param ConfigurationMonitoringResult $body The request body
* @param ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
public function toPostRequestInformation(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation {
public function toPostRequestInformation(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9 $requestConfiguration = null): RequestInformation {
$requestInfo = new RequestInformation();
$requestInfo->urlTemplate = $this->urlTemplate;
$requestInfo->pathParameters = $this->pathParameters;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php

namespace Microsoft\Graph\Generated\Admin\ConfigurationManagement\ConfigurationMonitoringResults;

use Microsoft\Kiota\Abstractions\BaseRequestConfiguration;
use Microsoft\Kiota\Abstractions\RequestOption;

/**
* Configuration for the request such as headers, query parameters, and middleware options. Original name: configurationMonitoringResultsRequestBuilderGetRequestConfiguration
*/
class ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4 extends BaseRequestConfiguration
{
/**
* @var ConfigurationMonitoringResultsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters
*/
public ?ConfigurationMonitoringResultsRequestBuilderGetQueryParameters $queryParameters = null;

/**
* Instantiates a new ConfigurationMonitoringResultsRequestBuilderGetRequestC_d7f52ef4 and sets the default values.
* @param array<string, array<string>|string>|null $headers Request headers
* @param array<RequestOption>|null $options Request options
* @param ConfigurationMonitoringResultsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters
*/
public function __construct(?array $headers = null, ?array $options = null, ?ConfigurationMonitoringResultsRequestBuilderGetQueryParameters $queryParameters = null) {
parent::__construct($headers ?? [], $options ?? []);
$this->queryParameters = $queryParameters;
}

/**
* Instantiates a new ConfigurationMonitoringResultsRequestBuilderGetQueryParameters.
* @param bool|null $count Include count of items
* @param array<string>|null $expand Expand related entities
* @param string|null $filter Filter items by property values
* @param array<string>|null $orderby Order items by property values
* @param string|null $search Search items by search phrases
* @param array<string>|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 ConfigurationMonitoringResultsRequestBuilderGetQueryParameters
*/
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 {
return new ConfigurationMonitoringResultsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top);
}

}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Microsoft\Graph\Generated\Admin\ConfigurationManagement\ConfigurationMonitoringResults;

use Microsoft\Kiota\Abstractions\BaseRequestConfiguration;
use Microsoft\Kiota\Abstractions\RequestOption;

/**
* Configuration for the request such as headers, query parameters, and middleware options. Original name: configurationMonitoringResultsRequestBuilderPostRequestConfiguration
*/
class ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9 extends BaseRequestConfiguration
{
/**
* Instantiates a new ConfigurationMonitoringResultsRequestBuilderPostRequest_cb2b93f9 and sets the default values.
* @param array<string, array<string>|string>|null $headers Request headers
* @param array<RequestOption>|null $options Request options
*/
public function __construct(?array $headers = null, ?array $options = null) {
parent::__construct($headers ?? [], $options ?? []);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap

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

/**
* Read the properties and relationships of a configurationMonitoringResult object.
* @param ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ConfigurationMonitoringResultItemRequestBuilderGetReque_ce22d56e|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ConfigurationMonitoringResult|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/configurationmonitoringresult-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
public function get(?ConfigurationMonitoringResultItemRequestBuilderGetReque_ce22d56e $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
$errorMappings = [
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
Expand All @@ -62,11 +62,11 @@ public function get(?ConfigurationMonitoringResultItemRequestBuilderGetRequestCo
/**
* Update the navigation property configurationMonitoringResults in admin
* @param ConfigurationMonitoringResult $body The request body
* @param ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ConfigurationMonitoringResultItemRequestBuilderPatchReq_91cee601|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ConfigurationMonitoringResult|null>
* @throws Exception
*/
public function patch(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
public function patch(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultItemRequestBuilderPatchReq_91cee601 $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
$errorMappings = [
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
Expand All @@ -76,10 +76,10 @@ public function patch(ConfigurationMonitoringResult $body, ?ConfigurationMonitor

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

/**
* Read the properties and relationships of a configurationMonitoringResult object.
* @param ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ConfigurationMonitoringResultItemRequestBuilderGetReque_ce22d56e|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
public function toGetRequestInformation(?ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation {
public function toGetRequestInformation(?ConfigurationMonitoringResultItemRequestBuilderGetReque_ce22d56e $requestConfiguration = null): RequestInformation {
$requestInfo = new RequestInformation();
$requestInfo->urlTemplate = $this->urlTemplate;
$requestInfo->pathParameters = $this->pathParameters;
Expand All @@ -116,10 +116,10 @@ public function toGetRequestInformation(?ConfigurationMonitoringResultItemReques
/**
* Update the navigation property configurationMonitoringResults in admin
* @param ConfigurationMonitoringResult $body The request body
* @param ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @param ConfigurationMonitoringResultItemRequestBuilderPatchReq_91cee601|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
public function toPatchRequestInformation(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation {
public function toPatchRequestInformation(ConfigurationMonitoringResult $body, ?ConfigurationMonitoringResultItemRequestBuilderPatchReq_91cee601 $requestConfiguration = null): RequestInformation {
$requestInfo = new RequestInformation();
$requestInfo->urlTemplate = $this->urlTemplate;
$requestInfo->pathParameters = $this->pathParameters;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Microsoft\Graph\Generated\Admin\ConfigurationManagement\ConfigurationMonitoringResults\Item;

use Microsoft\Kiota\Abstractions\BaseRequestConfiguration;
use Microsoft\Kiota\Abstractions\RequestOption;

/**
* Configuration for the request such as headers, query parameters, and middleware options. Original name: ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration
*/
class ConfigurationMonitoringResultItemRequestBuilderDeleteRe_d4b30f6a extends BaseRequestConfiguration
{
/**
* Instantiates a new ConfigurationMonitoringResultItemRequestBuilderDeleteRe_d4b30f6a and sets the default values.
* @param array<string, array<string>|string>|null $headers Request headers
* @param array<RequestOption>|null $options Request options
*/
public function __construct(?array $headers = null, ?array $options = null) {
parent::__construct($headers ?? [], $options ?? []);
}

}
Loading
Loading