diff --git a/src/Generated/Admin/AdminRequestBuilder.php b/src/Generated/Admin/AdminRequestBuilder.php index 7bd0f785c48..e25996579b2 100644 --- a/src/Generated/Admin/AdminRequestBuilder.php +++ b/src/Generated/Admin/AdminRequestBuilder.php @@ -5,6 +5,7 @@ use Exception; use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Admin\AppsAndServices\AppsAndServicesRequestBuilder; +use Microsoft\Graph\Beta\Generated\Admin\CloudLicensing\CloudLicensingRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\ConfigurationManagement\ConfigurationManagementRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Dynamics\DynamicsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Edge\EdgeRequestBuilder; @@ -38,6 +39,13 @@ public function appsAndServices(): AppsAndServicesRequestBuilder { return new AppsAndServicesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the cloudLicensing property of the microsoft.graph.admin entity. + */ + public function cloudLicensing(): CloudLicensingRequestBuilder { + return new CloudLicensingRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. */ diff --git a/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilder.php new file mode 100644 index 00000000000..ea5446f5c76 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + * @param string $allotmentId The unique identifier of allotment + * @return AllotmentItemRequestBuilder + */ + public function byAllotmentId(string $allotmentId): AllotmentItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['allotment%2Did'] = $allotmentId; + return new AllotmentItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AllotmentsRequestBuilder 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}/admin/cloudLicensing/allotments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of the allotment objects and their properties. + * @param AllotmentsRequestBuilderGetRequestConfiguration|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/cloudlicensing-admincloudlicensing-list-allotments?view=graph-rest-beta Find more info here + */ + public function get(?AllotmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AllotmentCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to allotments for admin + * @param Allotment $body The request body + * @param AllotmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(Allotment $body, ?AllotmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Allotment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the allotment objects and their properties. + * @param AllotmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AllotmentsRequestBuilderGetRequestConfiguration $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 allotments for admin + * @param Allotment $body The request body + * @param AllotmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Allotment $body, ?AllotmentsRequestBuilderPostRequestConfiguration $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 AllotmentsRequestBuilder + */ + public function withUrl(string $rawUrl): AllotmentsRequestBuilder { + return new AllotmentsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderGetQueryParameters.php similarity index 87% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderGetQueryParameters.php rename to src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderGetQueryParameters.php index 2f1b611009e..9881c757a1b 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8526bba43fd --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AllotmentsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AllotmentsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AllotmentsRequestBuilderGetQueryParameters. + * @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 AllotmentsRequestBuilderGetQueryParameters + */ + 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): AllotmentsRequestBuilderGetQueryParameters { + return new AllotmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderPostRequestConfiguration.php similarity index 62% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderPostRequestConfiguration.php rename to src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderPostRequestConfiguration.php index c93f967bbb3..ded3357140e 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilder.php similarity index 94% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.php rename to src/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilder.php index 2938404ef0f..87f772f96c0 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.php +++ b/src/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilderGetQueryParameters.php index 64f60ee145f..902cd7e54d2 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. + */ + public function waitingMembers(): WaitingMembersRequestBuilder { + return new WaitingMembersRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new AllotmentItemRequestBuilder 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}/admin/cloudLicensing/allotments/{allotment%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property allotments for admin + * @param AllotmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?AllotmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The set of all allotments within the organization. Read-only. + * @param AllotmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AllotmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Allotment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property allotments in admin + * @param Allotment $body The request body + * @param AllotmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(Allotment $body, ?AllotmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Allotment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property allotments for admin + * @param AllotmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AllotmentItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * The set of all allotments within the organization. Read-only. + * @param AllotmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AllotmentItemRequestBuilderGetRequestConfiguration $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 allotments in admin + * @param Allotment $body The request body + * @param AllotmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Allotment $body, ?AllotmentItemRequestBuilderPatchRequestConfiguration $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 AllotmentItemRequestBuilder + */ + public function withUrl(string $rawUrl): AllotmentItemRequestBuilder { + return new AllotmentItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderDeleteRequestConfiguration.php similarity index 61% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderDeleteRequestConfiguration.php index 0358bc37503..f16596c9c95 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderGetQueryParameters.php similarity index 67% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderGetQueryParameters.php rename to src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderGetQueryParameters.php index 9014e401780..7152434499a 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9871fd456e2 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AllotmentItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AllotmentItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AllotmentItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AllotmentItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AllotmentItemRequestBuilderGetQueryParameters { + return new AllotmentItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderPatchRequestConfiguration.php similarity index 61% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderPatchRequestConfiguration.php index 817f72a5459..8e0c7db136b 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilder.php new file mode 100644 index 00000000000..c442e3a3938 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilder.php @@ -0,0 +1,98 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. + * @param string $assignmentId The unique identifier of assignment + * @return AssignmentItemRequestBuilder + */ + public function byAssignmentId(string $assignmentId): AssignmentItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['assignment%2Did'] = $assignmentId; + return new AssignmentItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AssignmentsRequestBuilder 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}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of license assignment objects which consume licenses from this allotment. + * @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/cloudlicensing-allotment-list-assignments?view=graph-rest-beta Find more info here + */ + public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AssignmentCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of license assignment objects which consume licenses from this allotment. + * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConfiguration $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 AssignmentsRequestBuilder + */ + public function withUrl(string $rawUrl): AssignmentsRequestBuilder { + return new AssignmentsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4c3e1aeefc0 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.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 AssignmentsRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..bf19e35676c --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignmentsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignmentsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignmentsRequestBuilderGetQueryParameters. + * @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 AssignmentsRequestBuilderGetQueryParameters + */ + 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): AssignmentsRequestBuilderGetQueryParameters { + return new AssignmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..304b582e127 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e0129911a08 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..881470de7a8 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/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/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilder.php new file mode 100644 index 00000000000..cf32669e264 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilder.php @@ -0,0 +1,77 @@ +|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}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments/{assignment%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The list of license assignments that consume licenses from this allotment. Not nullable. + * @param AssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Assignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The list of license assignments that consume licenses from this allotment. Not nullable. + * @param AssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignmentItemRequestBuilderGetRequestConfiguration $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 AssignmentItemRequestBuilder + */ + public function withUrl(string $rawUrl): AssignmentItemRequestBuilder { + return new AssignmentItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6805d1c0667 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilderGetQueryParameters.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 AssignmentItemRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..faeb816f0bb --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignmentItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignmentItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignmentItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AssignmentItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AssignmentItemRequestBuilderGetQueryParameters { + return new AssignmentItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..9b9951833dd --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9893a266289 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fe422f28b99 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/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/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilder.php new file mode 100644 index 00000000000..879d67bfc8e --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilder.php @@ -0,0 +1,77 @@ +|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}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers/{waitingMember%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. + * @param WaitingMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?WaitingMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WaitingMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. + * @param WaitingMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WaitingMemberItemRequestBuilderGetRequestConfiguration $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 WaitingMemberItemRequestBuilder + */ + public function withUrl(string $rawUrl): WaitingMemberItemRequestBuilder { + return new WaitingMemberItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..90201f1ae22 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilderGetQueryParameters.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 WaitingMemberItemRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..685c47133af --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WaitingMemberItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WaitingMemberItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new WaitingMemberItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return WaitingMemberItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): WaitingMemberItemRequestBuilderGetQueryParameters { + return new WaitingMemberItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilder.php new file mode 100644 index 00000000000..acd456a6f10 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilder.php @@ -0,0 +1,98 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. + * @param string $waitingMemberId The unique identifier of waitingMember + * @return WaitingMemberItemRequestBuilder + */ + public function byWaitingMemberId(string $waitingMemberId): WaitingMemberItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['waitingMember%2Did'] = $waitingMemberId; + return new WaitingMemberItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new WaitingMembersRequestBuilder 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}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for. + * @param WaitingMembersRequestBuilderGetRequestConfiguration|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/cloudlicensing-allotment-list-waitingmembers?view=graph-rest-beta Find more info here + */ + public function get(?WaitingMembersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WaitingMemberCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for. + * @param WaitingMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WaitingMembersRequestBuilderGetRequestConfiguration $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 WaitingMembersRequestBuilder + */ + public function withUrl(string $rawUrl): WaitingMembersRequestBuilder { + return new WaitingMembersRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c37f3468f94 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilderGetQueryParameters.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 WaitingMembersRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4294cbcbe2e --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WaitingMembersRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WaitingMembersRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new WaitingMembersRequestBuilderGetQueryParameters. + * @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 WaitingMembersRequestBuilderGetQueryParameters + */ + 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): WaitingMembersRequestBuilderGetQueryParameters { + return new WaitingMembersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilder.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilder.php new file mode 100644 index 00000000000..1b66a3e8308 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + * @param string $assignmentErrorId The unique identifier of assignmentError + * @return AssignmentErrorItemRequestBuilder + */ + public function byAssignmentErrorId(string $assignmentErrorId): AssignmentErrorItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['assignmentError%2Did'] = $assignmentErrorId; + return new AssignmentErrorItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AssignmentErrorsRequestBuilder 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}/admin/cloudLicensing/assignmentErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of the assignmentError objects within an organization or affecting a specific user. + * @param AssignmentErrorsRequestBuilderGetRequestConfiguration|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/cloudlicensing-admincloudlicensing-list-assignmenterrors?view=graph-rest-beta Find more info here + */ + public function get(?AssignmentErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AssignmentErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to assignmentErrors for admin + * @param AssignmentError $body The request body + * @param AssignmentErrorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(AssignmentError $body, ?AssignmentErrorsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AssignmentError::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the assignmentError objects within an organization or affecting a specific user. + * @param AssignmentErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignmentErrorsRequestBuilderGetRequestConfiguration $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 assignmentErrors for admin + * @param AssignmentError $body The request body + * @param AssignmentErrorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(AssignmentError $body, ?AssignmentErrorsRequestBuilderPostRequestConfiguration $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 AssignmentErrorsRequestBuilder + */ + public function withUrl(string $rawUrl): AssignmentErrorsRequestBuilder { + return new AssignmentErrorsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2332ffb38a8 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderGetQueryParameters.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 AssignmentErrorsRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..bb475fb0317 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignmentErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignmentErrorsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignmentErrorsRequestBuilderGetQueryParameters. + * @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 AssignmentErrorsRequestBuilderGetQueryParameters + */ + 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): AssignmentErrorsRequestBuilderGetQueryParameters { + return new AssignmentErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..21229ee0b5a --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilderPostRequestConfiguration.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/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilder.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..bdf1589e430 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/cloudLicensing/assignmentErrors/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c1f2fa60067 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c71d9c25d51 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/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/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilder.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilder.php new file mode 100644 index 00000000000..745842b9144 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/assignedTo{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a user or group object for a given assignmentError to which licenses are assigned. + * @param AssignedToRequestBuilderGetRequestConfiguration|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/cloudlicensing-assignmenterror-get-assignedto?view=graph-rest-beta Find more info here + */ + public function get(?AssignedToRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DirectoryObject::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a user or group object for a given assignmentError to which licenses are assigned. + * @param AssignedToRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignedToRequestBuilderGetRequestConfiguration $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 AssignedToRequestBuilder + */ + public function withUrl(string $rawUrl): AssignedToRequestBuilder { + return new AssignedToRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4a6c0e7b855 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilderGetQueryParameters.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 AssignedToRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5dfc95f6993 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignedToRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignedToRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignedToRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AssignedToRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AssignedToRequestBuilderGetQueryParameters { + return new AssignedToRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilder.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilder.php new file mode 100644 index 00000000000..c4fa819c1b2 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilder.php @@ -0,0 +1,161 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the usageRight property of the microsoft.graph.cloudLicensing.assignmentError entity. + */ + public function usageRight(): UsageRightRequestBuilder { + return new UsageRightRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new AssignmentErrorItemRequestBuilder 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}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property assignmentErrors for admin + * @param AssignmentErrorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?AssignmentErrorItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the properties and relationships of an assignmentError object. + * @param AssignmentErrorItemRequestBuilderGetRequestConfiguration|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/cloudlicensing-assignmenterror-get?view=graph-rest-beta Find more info here + */ + public function get(?AssignmentErrorItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AssignmentError::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property assignmentErrors in admin + * @param AssignmentError $body The request body + * @param AssignmentErrorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(AssignmentError $body, ?AssignmentErrorItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AssignmentError::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property assignmentErrors for admin + * @param AssignmentErrorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AssignmentErrorItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Read the properties and relationships of an assignmentError object. + * @param AssignmentErrorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignmentErrorItemRequestBuilderGetRequestConfiguration $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 assignmentErrors in admin + * @param AssignmentError $body The request body + * @param AssignmentErrorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(AssignmentError $body, ?AssignmentErrorItemRequestBuilderPatchRequestConfiguration $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 AssignmentErrorItemRequestBuilder + */ + public function withUrl(string $rawUrl): AssignmentErrorItemRequestBuilder { + return new AssignmentErrorItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..595cae08c58 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderDeleteRequestConfiguration.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/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6db47b0f9be --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderGetQueryParameters.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 AssignmentErrorItemRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6d04e54546d --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignmentErrorItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignmentErrorItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignmentErrorItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AssignmentErrorItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AssignmentErrorItemRequestBuilderGetQueryParameters { + return new AssignmentErrorItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..a3077c9d361 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilderPatchRequestConfiguration.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/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilder.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilder.php new file mode 100644 index 00000000000..26d8986aa62 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/usageRight{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a usageRight object affected by an assignmentError. A usageRight object is returned only if a preexisting one is in effect and can't be updated due to this assignmentError. + * @param UsageRightRequestBuilderGetRequestConfiguration|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/cloudlicensing-assignmenterror-get-usageright?view=graph-rest-beta Find more info here + */ + public function get(?UsageRightRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRight::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a usageRight object affected by an assignmentError. A usageRight object is returned only if a preexisting one is in effect and can't be updated due to this assignmentError. + * @param UsageRightRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UsageRightRequestBuilderGetRequestConfiguration $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 UsageRightRequestBuilder + */ + public function withUrl(string $rawUrl): UsageRightRequestBuilder { + return new UsageRightRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f7a245b8257 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilderGetQueryParameters.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 UsageRightRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..cb4a67687bf --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UsageRightRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UsageRightRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UsageRightRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UsageRightRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UsageRightRequestBuilderGetQueryParameters { + return new UsageRightRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilder.php new file mode 100644 index 00000000000..4ed3fd4126f --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilder.php @@ -0,0 +1,143 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the reprocessAssignments method. + */ + public function microsoftGraphCloudLicensingReprocessAssignments(): MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder { + return new MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + * @param string $assignmentId The unique identifier of assignment + * @return AssignmentItemRequestBuilder + */ + public function byAssignmentId(string $assignmentId): AssignmentItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['assignment%2Did'] = $assignmentId; + return new AssignmentItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AssignmentsRequestBuilder 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}/admin/cloudLicensing/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of license assignment objects within an organization. + * @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/cloudlicensing-admincloudlicensing-list-assignments?view=graph-rest-beta Find more info here + */ + public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AssignmentCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new license assignment by posting to the assignments collection of an organization. An assignment must always have a direct relationship to an allotment and to a user or group. If an assignment is created by posting to the central assignments collection located at /admin/cloudLicensing/assignments, both of those relationships must be established in the request body. Assignments can also be created by posting to the assignments collection of an allotment, the assignments collection of a user or the assignments collection of a group. + * @param Assignment $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/cloudlicensing-admincloudlicensing-post-assignments?view=graph-rest-beta Find more info here + */ + public function post(Assignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Assignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of license assignment objects within an organization. + * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConfiguration $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 a new license assignment by posting to the assignments collection of an organization. An assignment must always have a direct relationship to an allotment and to a user or group. If an assignment is created by posting to the central assignments collection located at /admin/cloudLicensing/assignments, both of those relationships must be established in the request body. Assignments can also be created by posting to the assignments collection of an allotment, the assignments collection of a user or the assignments collection of a group. + * @param Assignment $body The request body + * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Assignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $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 AssignmentsRequestBuilder + */ + public function withUrl(string $rawUrl): AssignmentsRequestBuilder { + return new AssignmentsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7a28d690297 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderGetQueryParameters.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 AssignmentsRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..bd8744c1fc0 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignmentsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignmentsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignmentsRequestBuilderGetQueryParameters. + * @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 AssignmentsRequestBuilderGetQueryParameters + */ + 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): AssignmentsRequestBuilderGetQueryParameters { + return new AssignmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1eeb572244f --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilderPostRequestConfiguration.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/Admin/CloudLicensing/Assignments/Count/CountRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..871b3d40f82 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/cloudLicensing/assignments/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/CloudLicensing/Assignments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..cc6a17370d8 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..98a7897cff4 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/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/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilder.php new file mode 100644 index 00000000000..5033feb9946 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/cloudLicensing/assignments/{assignment%2Did}/allotment{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the allotment that is the source of the licenses used in the assignment. + * @param AllotmentRequestBuilderGetRequestConfiguration|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/cloudlicensing-assignment-get-allotment?view=graph-rest-beta Find more info here + */ + public function get(?AllotmentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Allotment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get the allotment that is the source of the licenses used in the assignment. + * @param AllotmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AllotmentRequestBuilderGetRequestConfiguration $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 AllotmentRequestBuilder + */ + public function withUrl(string $rawUrl): AllotmentRequestBuilder { + return new AllotmentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..bb168ffcec5 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilderGetQueryParameters.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 AllotmentRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..af51645c2e1 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AllotmentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AllotmentRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AllotmentRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AllotmentRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AllotmentRequestBuilderGetQueryParameters { + return new AllotmentRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilder.php new file mode 100644 index 00000000000..01d094c9969 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/cloudLicensing/assignments/{assignment%2Did}/assignedTo{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a user or group object for a given assignment to which licenses are assigned. + * @param AssignedToRequestBuilderGetRequestConfiguration|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/cloudlicensing-assignment-get-assignedto?view=graph-rest-beta Find more info here + */ + public function get(?AssignedToRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DirectoryObject::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a user or group object for a given assignment to which licenses are assigned. + * @param AssignedToRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignedToRequestBuilderGetRequestConfiguration $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 AssignedToRequestBuilder + */ + public function withUrl(string $rawUrl): AssignedToRequestBuilder { + return new AssignedToRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9b5d023265f --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilderGetQueryParameters.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 AssignedToRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f6b2af45b60 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignedToRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignedToRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignedToRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AssignedToRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AssignedToRequestBuilderGetQueryParameters { + return new AssignedToRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilder.php new file mode 100644 index 00000000000..4c4eebb7611 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilder.php @@ -0,0 +1,162 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignment entity. + */ + public function assignedTo(): AssignedToRequestBuilder { + return new AssignedToRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new AssignmentItemRequestBuilder 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}/admin/cloudLicensing/assignments/{assignment%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete an assignment object. + * @param AssignmentItemRequestBuilderDeleteRequestConfiguration|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/cloudlicensing-assignment-delete?view=graph-rest-beta Find more info here + */ + public function delete(?AssignmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the properties and relationships of an assignment object. + * @param AssignmentItemRequestBuilderGetRequestConfiguration|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/cloudlicensing-assignment-get?view=graph-rest-beta Find more info here + */ + public function get(?AssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Assignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property assignments in admin + * @param Assignment $body The request body + * @param AssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(Assignment $body, ?AssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Assignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete an assignment object. + * @param AssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AssignmentItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Read the properties and relationships of an assignment object. + * @param AssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignmentItemRequestBuilderGetRequestConfiguration $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 assignments in admin + * @param Assignment $body The request body + * @param AssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Assignment $body, ?AssignmentItemRequestBuilderPatchRequestConfiguration $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 AssignmentItemRequestBuilder + */ + public function withUrl(string $rawUrl): AssignmentItemRequestBuilder { + return new AssignmentItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..d28bf78feb3 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderDeleteRequestConfiguration.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/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..cd96f239645 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderGetQueryParameters.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 AssignmentItemRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2fface49d99 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignmentItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignmentItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignmentItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AssignmentItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AssignmentItemRequestBuilderGetQueryParameters { + return new AssignmentItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..b10a88ada47 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilderPatchRequestConfiguration.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/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.php b/src/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.php new file mode 100644 index 00000000000..bac869ded02 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.php @@ -0,0 +1,73 @@ +|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}/admin/cloudLicensing/assignments/microsoft.graph.cloudLicensing.reprocessAssignments'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action reprocessAssignments + * @param MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(?MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action reprocessAssignments + * @param MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration $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"); + 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 MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder + */ + public function withUrl(string $rawUrl): MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder { + return new MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ec4af8f0e56 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration.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/Admin/CloudLicensing/CloudLicensingRequestBuilder.php b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilder.php new file mode 100644 index 00000000000..7533361d5c8 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilder.php @@ -0,0 +1,168 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + */ + public function assignmentErrors(): AssignmentErrorsRequestBuilder { + return new AssignmentErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + */ + public function assignments(): AssignmentsRequestBuilder { + return new AssignmentsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CloudLicensingRequestBuilder 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}/admin/cloudLicensing{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property cloudLicensing for admin + * @param CloudLicensingRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CloudLicensingRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The root of the cloud licensing API for the entire organization. Read-only. + * @param CloudLicensingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CloudLicensingRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdminCloudLicensing::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property cloudLicensing in admin + * @param AdminCloudLicensing $body The request body + * @param CloudLicensingRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(AdminCloudLicensing $body, ?CloudLicensingRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdminCloudLicensing::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property cloudLicensing for admin + * @param CloudLicensingRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CloudLicensingRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * The root of the cloud licensing API for the entire organization. Read-only. + * @param CloudLicensingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CloudLicensingRequestBuilderGetRequestConfiguration $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 cloudLicensing in admin + * @param AdminCloudLicensing $body The request body + * @param CloudLicensingRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(AdminCloudLicensing $body, ?CloudLicensingRequestBuilderPatchRequestConfiguration $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 CloudLicensingRequestBuilder + */ + public function withUrl(string $rawUrl): CloudLicensingRequestBuilder { + return new CloudLicensingRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..54322265815 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderDeleteRequestConfiguration.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/Admin/CloudLicensing/CloudLicensingRequestBuilderGetQueryParameters.php b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..134ab3c0df2 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderGetQueryParameters.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 CloudLicensingRequestBuilderGetQueryParameters 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/Admin/CloudLicensing/CloudLicensingRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8ddd40a13c5 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CloudLicensingRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CloudLicensingRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CloudLicensingRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CloudLicensingRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CloudLicensingRequestBuilderGetQueryParameters { + return new CloudLicensingRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..950998fec77 --- /dev/null +++ b/src/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilderPatchRequestConfiguration.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/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.php deleted file mode 100644 index 8b175ba45bd..00000000000 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. - * @param string $configurationApplicationId The unique identifier of configurationApplication - * @return ConfigurationApplicationItemRequestBuilder - */ - public function byConfigurationApplicationId(string $configurationApplicationId): ConfigurationApplicationItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['configurationApplication%2Did'] = $configurationApplicationId; - return new ConfigurationApplicationItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ConfigurationApplicationsRequestBuilder 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}/admin/configurationManagement/configurationApplications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get configurationApplications from admin - * @param ConfigurationApplicationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ConfigurationApplicationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConfigurationApplicationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to configurationApplications for admin - * @param ConfigurationApplication $body The request body - * @param ConfigurationApplicationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ConfigurationApplication $body, ?ConfigurationApplicationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConfigurationApplication::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get configurationApplications from admin - * @param ConfigurationApplicationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ConfigurationApplicationsRequestBuilderGetRequestConfiguration $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 configurationApplications for admin - * @param ConfigurationApplication $body The request body - * @param ConfigurationApplicationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ConfigurationApplication $body, ?ConfigurationApplicationsRequestBuilderPostRequestConfiguration $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 ConfigurationApplicationsRequestBuilder - */ - public function withUrl(string $rawUrl): ConfigurationApplicationsRequestBuilder { - return new ConfigurationApplicationsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a8de50e5ab8..00000000000 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ConfigurationApplicationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ConfigurationApplicationItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ConfigurationApplicationItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ConfigurationApplicationItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ConfigurationApplicationItemRequestBuilderGetQueryParameters { - return new ConfigurationApplicationItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.php index 9c55d173201..fe35c766334 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get configurationDrifts from admin + * Get a list of the configurationDrift objects and their properties. * @param ConfigurationDriftsRequestBuilderGetRequestConfiguration|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/configurationmanagement-list-configurationdrifts?view=graph-rest-beta Find more info here */ public function get(?ConfigurationDriftsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(ConfigurationDrift $body, ?ConfigurationDriftsRequestBuilde } /** - * Get configurationDrifts from admin + * Get a list of the configurationDrift objects and their properties. * @param ConfigurationDriftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilderGetQueryParameters.php index 2d4a9dd1c62..625c2ae495b 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationDrifts from admin + * Get a list of the configurationDrift objects and their properties. */ class ConfigurationDriftsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.php index 6b047af1ad9..eccee34c5a1 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ConfigurationDriftItemRequestBuilderDeleteRequestConfigu } /** - * Get configurationDrifts from admin + * Get the properties and relationships of a configurationDrift object. * @param ConfigurationDriftItemRequestBuilderGetRequestConfiguration|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/configurationdrift-get?view=graph-rest-beta Find more info here */ public function get(?ConfigurationDriftItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?ConfigurationDriftItemRequestBuilder } /** - * Get configurationDrifts from admin + * Get the properties and relationships of a configurationDrift object. * @param ConfigurationDriftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilderGetQueryParameters.php index 05d2e425d38..7cf4fbd7793 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationDrifts from admin + * Get the properties and relationships of a configurationDrift object. */ class ConfigurationDriftItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.php index d28b1d71c9d..14b289b01ca 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.php @@ -4,7 +4,6 @@ use Exception; use Http\Promise\Promise; -use Microsoft\Graph\Beta\Generated\Admin\ConfigurationManagement\ConfigurationApplications\ConfigurationApplicationsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\ConfigurationManagement\ConfigurationDrifts\ConfigurationDriftsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\ConfigurationManagement\ConfigurationMonitoringResults\ConfigurationMonitoringResultsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\ConfigurationManagement\ConfigurationMonitors\ConfigurationMonitorsRequestBuilder; @@ -22,13 +21,6 @@ */ class ConfigurationManagementRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. - */ - public function configurationApplications(): ConfigurationApplicationsRequestBuilder { - return new ConfigurationApplicationsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - /** * Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.php index dfc9394233d..86fe78eec06 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get configurationMonitoringResults from admin + * 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. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/configurationmanagement-list-configurationmonitoringresults?view=graph-rest-beta Find more info here */ public function get(?ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(ConfigurationMonitoringResult $body, ?ConfigurationMonitori } /** - * Get configurationMonitoringResults from admin + * 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. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilderGetQueryParameters.php index ef6b7d3d2c0..4fbbbe64e97 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationMonitoringResults from admin + * Get a list of the configurationMonitoringResult objects and their properties. */ class ConfigurationMonitoringResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.php index 484ac567e27..b1c0e19c904 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ConfigurationMonitoringResultItemRequestBuilderDeleteReq } /** - * Get configurationMonitoringResults from admin + * 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. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/configurationmonitoringresult-get?view=graph-rest-beta Find more info here */ public function get(?ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?ConfigurationMonitoringResultItemReq } /** - * Get configurationMonitoringResults from admin + * 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. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters.php index e1296090835..161d98e2d7e 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationMonitoringResults from admin + * Read the properties and relationships of a configurationMonitoringResult object. */ class ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.php index b157367abb3..06b8cce6c08 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get configurationMonitors from admin + * Get a list of the configurationMonitor objects and their properties. * @param ConfigurationMonitorsRequestBuilderGetRequestConfiguration|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/configurationmanagement-list-configurationmonitors?view=graph-rest-beta Find more info here */ public function get(?ConfigurationMonitorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?ConfigurationMonitorsRequestBuilderGetRequestConfiguration } /** - * Create new navigation property to configurationMonitors for admin + * Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency. * @param ConfigurationMonitor $body The request body * @param ConfigurationMonitorsRequestBuilderPostRequestConfiguration|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/configurationmanagement-post-configurationmonitors?view=graph-rest-beta Find more info here */ public function post(ConfigurationMonitor $body, ?ConfigurationMonitorsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(ConfigurationMonitor $body, ?ConfigurationMonitorsRequestBu } /** - * Get configurationMonitors from admin + * Get a list of the configurationMonitor objects and their properties. * @param ConfigurationMonitorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?ConfigurationMonitorsRequestBuilderGetR } /** - * Create new navigation property to configurationMonitors for admin + * Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency. * @param ConfigurationMonitor $body The request body * @param ConfigurationMonitorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilderGetQueryParameters.php index fd60ac2cb74..e13bf7f952e 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationMonitors from admin + * Get a list of the configurationMonitor objects and their properties. */ class ConfigurationMonitorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.php index 3cdbc54305d..326f8a3143d 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?BaselineRequestBuilderDeleteRequestConfiguration $reques } /** - * Get baseline from admin + * Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. * @param BaselineRequestBuilderGetRequestConfiguration|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/configurationbaseline-get?view=graph-rest-beta Find more info here */ public function get(?BaselineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?BaselineRequestBuilderDeleteRequestC } /** - * Get baseline from admin + * Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. * @param BaselineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilderGetQueryParameters.php index bf67aec0cc4..a3e7c73ce9a 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get baseline from admin + * Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. */ class BaselineRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.php index a36a2571109..9cbe0539edc 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.php @@ -39,10 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property configurationMonitors for admin + * Delete a configurationMonitor object permanently. When deleted, the configurationMonitor data can't be restored. * @param ConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration|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/configurationmonitor-delete?view=graph-rest-beta Find more info here */ public function delete(?ConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -53,10 +54,11 @@ public function delete(?ConfigurationMonitorItemRequestBuilderDeleteRequestConfi } /** - * Get configurationMonitors from admin + * Get the properties and relationships of a configurationMonitor object. * @param ConfigurationMonitorItemRequestBuilderGetRequestConfiguration|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/configurationmonitor-get?view=graph-rest-beta Find more info here */ public function get(?ConfigurationMonitorItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,11 +69,12 @@ public function get(?ConfigurationMonitorItemRequestBuilderGetRequestConfigurati } /** - * Update the navigation property configurationMonitors in admin + * Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API. * @param ConfigurationMonitor $body The request body * @param ConfigurationMonitorItemRequestBuilderPatchRequestConfiguration|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/configurationmonitor-update?view=graph-rest-beta Find more info here */ public function patch(ConfigurationMonitor $body, ?ConfigurationMonitorItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -82,7 +85,7 @@ public function patch(ConfigurationMonitor $body, ?ConfigurationMonitorItemReque } /** - * Delete navigation property configurationMonitors for admin + * Delete a configurationMonitor object permanently. When deleted, the configurationMonitor data can't be restored. * @param ConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +103,7 @@ public function toDeleteRequestInformation(?ConfigurationMonitorItemRequestBuild } /** - * Get configurationMonitors from admin + * Get the properties and relationships of a configurationMonitor object. * @param ConfigurationMonitorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +124,7 @@ public function toGetRequestInformation(?ConfigurationMonitorItemRequestBuilderG } /** - * Update the navigation property configurationMonitors in admin + * Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API. * @param ConfigurationMonitor $body The request body * @param ConfigurationMonitorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilderGetQueryParameters.php index 3d55dc0406d..bed5656a147 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationMonitors from admin + * Get the properties and relationships of a configurationMonitor object. */ class ConfigurationMonitorItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.php index 65c62c78b00..1586b7dfa0e 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get configurationSnapshotJobs from admin + * Get a list of the configurationSnapshotJob objects and their properties. * @param ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration|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/configurationmanagement-list-configurationsnapshotjobs?view=graph-rest-beta Find more info here */ public function get(?ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(ConfigurationSnapshotJob $body, ?ConfigurationSnapshotJobsR } /** - * Get configurationSnapshotJobs from admin + * Get a list of the configurationSnapshotJob objects and their properties. * @param ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilderGetQueryParameters.php index b479e3f9b0f..becb4103109 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationSnapshotJobs from admin + * Get a list of the configurationSnapshotJob objects and their properties. */ class ConfigurationSnapshotJobsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.php index 97cc137cffb..cfd470f58dc 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property configurationSnapshotJobs for admin + * Delete a configurationSnapshotJob object. * @param ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration|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/configurationsnapshotjob-delete?view=graph-rest-beta Find more info here */ public function delete(?ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -45,10 +46,11 @@ public function delete(?ConfigurationSnapshotJobItemRequestBuilderDeleteRequestC } /** - * Get configurationSnapshotJobs from admin + * Read the properties and relationships of a configurationSnapshotJob object. * @param ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration|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/configurationsnapshotjob-get?view=graph-rest-beta Find more info here */ public function get(?ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -74,7 +76,7 @@ public function patch(ConfigurationSnapshotJob $body, ?ConfigurationSnapshotJobI } /** - * Delete navigation property configurationSnapshotJobs for admin + * Delete a configurationSnapshotJob object. * @param ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?ConfigurationSnapshotJobItemRequestB } /** - * Get configurationSnapshotJobs from admin + * Read the properties and relationships of a configurationSnapshotJob object. * @param ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters.php index c9b44ccd227..ac40f0d21e8 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationSnapshotJobs from admin + * Read the properties and relationships of a configurationSnapshotJob object. */ class ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.php index 94adc2184db..7845fcbb908 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get configurationSnapshots from admin + * A container for configuration snapshot baselines. * @param ConfigurationSnapshotsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(ConfigurationBaseline $body, ?ConfigurationSnapshotsRequest } /** - * Get configurationSnapshots from admin + * A container for configuration snapshot baselines. * @param ConfigurationSnapshotsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilderGetQueryParameters.php index 96a74928ffb..8108f4c8666 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationSnapshots from admin + * A container for configuration snapshot baselines. */ class ConfigurationSnapshotsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.php index 2c65ded7eb3..e409b1fd3df 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?ConfigurationBaselineItemRequestBuilderDeleteRequestConf } /** - * Get configurationSnapshots from admin + * A container for configuration snapshot baselines. * @param ConfigurationBaselineItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?ConfigurationBaselineItemRequestBuil } /** - * Get configurationSnapshots from admin + * A container for configuration snapshot baselines. * @param ConfigurationBaselineItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilderGetQueryParameters.php index 135ed3bd95f..d85fedadd55 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get configurationSnapshots from admin + * A container for configuration snapshot baselines. */ class ConfigurationBaselineItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.php index 806f9986ff9..fef16fa3306 100644 --- a/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.php +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequest } /** - * Navigation property to the collection of user policy assignments. + * The collection of user policy assignments. * @param TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?TeamsPolicyUserAssignmentItemRequest } /** - * Navigation property to the collection of user policy assignments. + * The collection of user policy assignments. * @param TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters.php index 2f34568e381..b66f01611d0 100644 --- a/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Navigation property to the collection of user policy assignments. + * The collection of user policy assignments. */ class TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.php b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.php index 7857fec9e85..ecfbfdd2a48 100644 --- a/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.php +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Navigation property to the collection of user policy assignments. + * The collection of user policy assignments. * @param UserAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -97,7 +97,7 @@ public function post(TeamsPolicyUserAssignment $body, ?UserAssignmentsRequestBui } /** - * Navigation property to the collection of user policy assignments. + * The collection of user policy assignments. * @param UserAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetQueryParameters.php index 961d70c9008..06c8a493f36 100644 --- a/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Navigation property to the collection of user policy assignments. + * The collection of user policy assignments. */ class UserAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..e28a490dc3d --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/windows/updates/policies/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/Windows/Updates/Policies/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..84c0f976fe8 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b25d620ba0f --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/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/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilder.php new file mode 100644 index 00000000000..8a89b6ee49f --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. + * @param string $applicableContentCatalogEntryId The unique identifier of applicableContent + * @return ApplicableContentCatalogEntryItemRequestBuilder + */ + public function byApplicableContentCatalogEntryId(string $applicableContentCatalogEntryId): ApplicableContentCatalogEntryItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['applicableContent%2DcatalogEntryId'] = $applicableContentCatalogEntryId; + return new ApplicableContentCatalogEntryItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ApplicableContentRequestBuilder 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}/admin/windows/updates/policies/{policy%2Did}/applicableContent{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * List applicable update content to offer to Microsoft Entra groups, Windows Autopatch groups, or both. + * @param ApplicableContentRequestBuilderGetRequestConfiguration|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/windowsupdates-policy-list-applicablecontent?view=graph-rest-beta Find more info here + */ + public function get(?ApplicableContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ApplicableContentCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to applicableContent for admin + * @param ApplicableContent $body The request body + * @param ApplicableContentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ApplicableContent $body, ?ApplicableContentRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ApplicableContent::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * List applicable update content to offer to Microsoft Entra groups, Windows Autopatch groups, or both. + * @param ApplicableContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ApplicableContentRequestBuilderGetRequestConfiguration $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 applicableContent for admin + * @param ApplicableContent $body The request body + * @param ApplicableContentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ApplicableContent $body, ?ApplicableContentRequestBuilderPostRequestConfiguration $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 ApplicableContentRequestBuilder + */ + public function withUrl(string $rawUrl): ApplicableContentRequestBuilder { + return new ApplicableContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..20a655e212a --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderGetQueryParameters.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 ApplicableContentRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ecd7bc6d469 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ApplicableContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ApplicableContentRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ApplicableContentRequestBuilderGetQueryParameters. + * @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 ApplicableContentRequestBuilderGetQueryParameters + */ + 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): ApplicableContentRequestBuilderGetQueryParameters { + return new ApplicableContentRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0b07b3c9d6b --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilderPostRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..77e72ab81e8 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/windows/updates/policies/{policy%2Did}/applicableContent/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8ec9bdaac7d --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0b67debb28b --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.php new file mode 100644 index 00000000000..53e39abd8b4 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.php @@ -0,0 +1,160 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + */ + public function matchedDevices(): MatchedDevicesRequestBuilder { + return new MatchedDevicesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ApplicableContentCatalogEntryItemRequestBuilder 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}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property applicableContent for admin + * @param ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents content applicable for offering to the related collection of devices. + * @param ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ApplicableContent::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property applicableContent in admin + * @param ApplicableContent $body The request body + * @param ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ApplicableContent $body, ?ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ApplicableContent::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property applicableContent for admin + * @param ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Represents content applicable for offering to the related collection of devices. + * @param ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration $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 applicableContent in admin + * @param ApplicableContent $body The request body + * @param ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ApplicableContent $body, ?ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration $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 ApplicableContentCatalogEntryItemRequestBuilder + */ + public function withUrl(string $rawUrl): ApplicableContentCatalogEntryItemRequestBuilder { + return new ApplicableContentCatalogEntryItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..0fc6afb610a --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2661087a182 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters.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 ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..490b89917d1 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters { + return new ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..0a119734901 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilder.php new file mode 100644 index 00000000000..d1e81476054 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilder.php @@ -0,0 +1,77 @@ +|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}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/catalogEntry{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Catalog entry for the update or content. + * @param CatalogEntryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CatalogEntryRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CatalogEntry::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Catalog entry for the update or content. + * @param CatalogEntryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CatalogEntryRequestBuilderGetRequestConfiguration $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 CatalogEntryRequestBuilder + */ + public function withUrl(string $rawUrl): CatalogEntryRequestBuilder { + return new CatalogEntryRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..645caed6216 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilderGetQueryParameters.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 CatalogEntryRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..995719c81e7 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CatalogEntryRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CatalogEntryRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CatalogEntryRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CatalogEntryRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CatalogEntryRequestBuilderGetQueryParameters { + return new CatalogEntryRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..93c375b09f5 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8f01de33b41 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..008a76e97d7 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.php new file mode 100644 index 00000000000..7ac2ac144f2 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.php @@ -0,0 +1,144 @@ +|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}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property matchedDevices for admin + * @param ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Collection of devices and recommendations for applicable catalog content. + * @param ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ApplicableContentDeviceMatch::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property matchedDevices in admin + * @param ApplicableContentDeviceMatch $body The request body + * @param ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ApplicableContentDeviceMatch $body, ?ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ApplicableContentDeviceMatch::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property matchedDevices for admin + * @param ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Collection of devices and recommendations for applicable catalog content. + * @param ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration $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 matchedDevices in admin + * @param ApplicableContentDeviceMatch $body The request body + * @param ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ApplicableContentDeviceMatch $body, ?ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration $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 ApplicableContentDeviceMatchDeviceItemRequestBuilder + */ + public function withUrl(string $rawUrl): ApplicableContentDeviceMatchDeviceItemRequestBuilder { + return new ApplicableContentDeviceMatchDeviceItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..606328e40c8 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3a5fb55ff95 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters.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 ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1bd750726e0 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters { + return new ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..3a5fcbd64fb --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilder.php new file mode 100644 index 00000000000..e9998c68dfb --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + * @param string $applicableContentDeviceMatchDeviceId The unique identifier of applicableContentDeviceMatch + * @return ApplicableContentDeviceMatchDeviceItemRequestBuilder + */ + public function byApplicableContentDeviceMatchDeviceId(string $applicableContentDeviceMatchDeviceId): ApplicableContentDeviceMatchDeviceItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['applicableContentDeviceMatch%2DdeviceId'] = $applicableContentDeviceMatchDeviceId; + return new ApplicableContentDeviceMatchDeviceItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new MatchedDevicesRequestBuilder 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}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Collection of devices and recommendations for applicable catalog content. + * @param MatchedDevicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MatchedDevicesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ApplicableContentDeviceMatchCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to matchedDevices for admin + * @param ApplicableContentDeviceMatch $body The request body + * @param MatchedDevicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ApplicableContentDeviceMatch $body, ?MatchedDevicesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ApplicableContentDeviceMatch::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Collection of devices and recommendations for applicable catalog content. + * @param MatchedDevicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MatchedDevicesRequestBuilderGetRequestConfiguration $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 matchedDevices for admin + * @param ApplicableContentDeviceMatch $body The request body + * @param MatchedDevicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ApplicableContentDeviceMatch $body, ?MatchedDevicesRequestBuilderPostRequestConfiguration $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 MatchedDevicesRequestBuilder + */ + public function withUrl(string $rawUrl): MatchedDevicesRequestBuilder { + return new MatchedDevicesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a3b6d91451a --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderGetQueryParameters.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 MatchedDevicesRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3cfa03a6ed3 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MatchedDevicesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MatchedDevicesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MatchedDevicesRequestBuilderGetQueryParameters. + * @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 MatchedDevicesRequestBuilderGetQueryParameters + */ + 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): MatchedDevicesRequestBuilderGetQueryParameters { + return new MatchedDevicesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..d870d3aa161 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilderPostRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilder.php new file mode 100644 index 00000000000..17636524f54 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. + * @param string $policyApprovalId The unique identifier of policyApproval + * @return PolicyApprovalItemRequestBuilder + */ + public function byPolicyApprovalId(string $policyApprovalId): PolicyApprovalItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['policyApproval%2Did'] = $policyApprovalId; + return new PolicyApprovalItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ApprovalsRequestBuilder 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}/admin/windows/updates/policies/{policy%2Did}/approvals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of the policyApproval objects and their properties. + * @param ApprovalsRequestBuilderGetRequestConfiguration|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/windowsupdates-policy-list-approvals?view=graph-rest-beta Find more info here + */ + public function get(?ApprovalsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [PolicyApprovalCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new policyApproval object. + * @param PolicyApproval $body The request body + * @param ApprovalsRequestBuilderPostRequestConfiguration|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/windowsupdates-policy-post-approvals?view=graph-rest-beta Find more info here + */ + public function post(PolicyApproval $body, ?ApprovalsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [PolicyApproval::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the policyApproval objects and their properties. + * @param ApprovalsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ApprovalsRequestBuilderGetRequestConfiguration $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 a new policyApproval object. + * @param PolicyApproval $body The request body + * @param ApprovalsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(PolicyApproval $body, ?ApprovalsRequestBuilderPostRequestConfiguration $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 ApprovalsRequestBuilder + */ + public function withUrl(string $rawUrl): ApprovalsRequestBuilder { + return new ApprovalsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c0e3dd41505 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderGetQueryParameters.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 ApprovalsRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f4b53ef7d30 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ApprovalsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ApprovalsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ApprovalsRequestBuilderGetQueryParameters. + * @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 ApprovalsRequestBuilderGetQueryParameters + */ + 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): ApprovalsRequestBuilderGetQueryParameters { + return new ApprovalsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..7cbe0d9c6cb --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilderPostRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..b772e2f7a59 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/windows/updates/policies/{policy%2Did}/approvals/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e2bb2cd61b3 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..98f94231b16 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/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/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilder.php new file mode 100644 index 00000000000..b17df08681b --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilder.php @@ -0,0 +1,77 @@ +|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}/admin/windows/updates/policies/{policy%2Did}/approvals/{policyApproval%2Did}/catalogEntry{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The content that you can approve for deployment. Read-only. + * @param CatalogEntryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CatalogEntryRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CatalogEntry::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The content that you can approve for deployment. Read-only. + * @param CatalogEntryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CatalogEntryRequestBuilderGetRequestConfiguration $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 CatalogEntryRequestBuilder + */ + public function withUrl(string $rawUrl): CatalogEntryRequestBuilder { + return new CatalogEntryRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b9ac8ebc938 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilderGetQueryParameters.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 CatalogEntryRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..581a9b69def --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CatalogEntryRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CatalogEntryRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CatalogEntryRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CatalogEntryRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CatalogEntryRequestBuilderGetQueryParameters { + return new CatalogEntryRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilder.php new file mode 100644 index 00000000000..3e1b292ea60 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilder.php @@ -0,0 +1,155 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new PolicyApprovalItemRequestBuilder 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}/admin/windows/updates/policies/{policy%2Did}/approvals/{policyApproval%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a policyApproval object. + * @param PolicyApprovalItemRequestBuilderDeleteRequestConfiguration|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/windowsupdates-policyapproval-delete?view=graph-rest-beta Find more info here + */ + public function delete(?PolicyApprovalItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the properties and relationships of a policyApproval object. + * @param PolicyApprovalItemRequestBuilderGetRequestConfiguration|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/windowsupdates-policyapproval-get?view=graph-rest-beta Find more info here + */ + public function get(?PolicyApprovalItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [PolicyApproval::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a policyApproval object. + * @param PolicyApproval $body The request body + * @param PolicyApprovalItemRequestBuilderPatchRequestConfiguration|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/windowsupdates-policyapproval-update?view=graph-rest-beta Find more info here + */ + public function patch(PolicyApproval $body, ?PolicyApprovalItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [PolicyApproval::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a policyApproval object. + * @param PolicyApprovalItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?PolicyApprovalItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Read the properties and relationships of a policyApproval object. + * @param PolicyApprovalItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?PolicyApprovalItemRequestBuilderGetRequestConfiguration $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 properties of a policyApproval object. + * @param PolicyApproval $body The request body + * @param PolicyApprovalItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(PolicyApproval $body, ?PolicyApprovalItemRequestBuilderPatchRequestConfiguration $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 PolicyApprovalItemRequestBuilder + */ + public function withUrl(string $rawUrl): PolicyApprovalItemRequestBuilder { + return new PolicyApprovalItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..9ac85858586 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderDeleteRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..716229bb3ad --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderGetQueryParameters.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 PolicyApprovalItemRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a69e29615e3 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param PolicyApprovalItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?PolicyApprovalItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new PolicyApprovalItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return PolicyApprovalItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): PolicyApprovalItemRequestBuilderGetQueryParameters { + return new PolicyApprovalItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..b368e771d50 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilderPatchRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.php new file mode 100644 index 00000000000..91d4c696bad --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.php @@ -0,0 +1,171 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. + */ + public function approvals(): ApprovalsRequestBuilder { + return new ApprovalsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. + */ + public function rings(): RingsRequestBuilder { + return new RingsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new PolicyItemRequestBuilder 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}/admin/windows/updates/policies/{policy%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + * @param PolicyItemRequestBuilderDeleteRequestConfiguration|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/windowsupdates-policy-delete?view=graph-rest-beta Find more info here + */ + public function delete(?PolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + * @param PolicyItemRequestBuilderGetRequestConfiguration|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/windowsupdates-policy-get?view=graph-rest-beta Find more info here + */ + public function get(?PolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Policy::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + * @param Policy $body The request body + * @param PolicyItemRequestBuilderPatchRequestConfiguration|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/windowsupdates-policy-update?view=graph-rest-beta Find more info here + */ + public function patch(Policy $body, ?PolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Policy::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + * @param PolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?PolicyItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + * @param PolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?PolicyItemRequestBuilderGetRequestConfiguration $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 properties of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + * @param Policy $body The request body + * @param PolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Policy $body, ?PolicyItemRequestBuilderPatchRequestConfiguration $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 PolicyItemRequestBuilder + */ + public function withUrl(string $rawUrl): PolicyItemRequestBuilder { + return new PolicyItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..10b10043e1a --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderDeleteRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1d2a716ee76 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderGetQueryParameters.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 PolicyItemRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..606e99c0e42 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param PolicyItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?PolicyItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new PolicyItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return PolicyItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): PolicyItemRequestBuilderGetQueryParameters { + return new PolicyItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..1a0cb8dea53 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilderPatchRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..fffc88b1b61 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/admin/windows/updates/policies/{policy%2Did}/rings/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..fcd5bbc45e7 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4b5c661c6bd --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/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/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.php new file mode 100644 index 00000000000..823e6988e5b --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.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}/admin/windows/updates/policies/{policy%2Did}/rings/{ring%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a ring object. You can use this method with the following child object type: qualityUpdateRing. + * @param RingItemRequestBuilderDeleteRequestConfiguration|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/windowsupdates-ring-delete?view=graph-rest-beta Find more info here + */ + public function delete(?RingItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. + * @param RingItemRequestBuilderGetRequestConfiguration|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/windowsupdates-ring-get?view=graph-rest-beta Find more info here + */ + public function get(?RingItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Ring::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a ring object. You can use this method with the following child object type: qualityUpdateRing. + * @param Ring $body The request body + * @param RingItemRequestBuilderPatchRequestConfiguration|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/windowsupdates-ring-update?view=graph-rest-beta Find more info here + */ + public function patch(Ring $body, ?RingItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Ring::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a ring object. You can use this method with the following child object type: qualityUpdateRing. + * @param RingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?RingItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. + * @param RingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RingItemRequestBuilderGetRequestConfiguration $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 properties of a ring object. You can use this method with the following child object type: qualityUpdateRing. + * @param Ring $body The request body + * @param RingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Ring $body, ?RingItemRequestBuilderPatchRequestConfiguration $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 RingItemRequestBuilder + */ + public function withUrl(string $rawUrl): RingItemRequestBuilder { + return new RingItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..b56184917ba --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderDeleteRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..75f8768ec64 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderGetQueryParameters.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 RingItemRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d92fb4bce0d --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RingItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RingItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RingItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RingItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RingItemRequestBuilderGetQueryParameters { + return new RingItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..4ea7d1cc4f5 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilderPatchRequestConfiguration.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/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.php new file mode 100644 index 00000000000..9e92c8d516f --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. + * @param string $ringId The unique identifier of ring + * @return RingItemRequestBuilder + */ + public function byRingId(string $ringId): RingItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['ring%2Did'] = $ringId; + return new RingItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RingsRequestBuilder 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}/admin/windows/updates/policies/{policy%2Did}/rings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. + * @param RingsRequestBuilderGetRequestConfiguration|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/windowsupdates-policy-list-rings?view=graph-rest-beta Find more info here + */ + public function get(?RingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RingCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new ring object. You can use this method with the following child object type: qualityUpdateRing. + * @param Ring $body The request body + * @param RingsRequestBuilderPostRequestConfiguration|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/windowsupdates-policy-post-rings?view=graph-rest-beta Find more info here + */ + public function post(Ring $body, ?RingsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Ring::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. + * @param RingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RingsRequestBuilderGetRequestConfiguration $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 a new ring object. You can use this method with the following child object type: qualityUpdateRing. + * @param Ring $body The request body + * @param RingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Ring $body, ?RingsRequestBuilderPostRequestConfiguration $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 RingsRequestBuilder + */ + public function withUrl(string $rawUrl): RingsRequestBuilder { + return new RingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7c3bd7d7387 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderGetQueryParameters.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 RingsRequestBuilderGetQueryParameters 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/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..09f795ddf56 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RingsRequestBuilderGetQueryParameters. + * @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 RingsRequestBuilderGetQueryParameters + */ + 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): RingsRequestBuilderGetQueryParameters { + return new RingsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..8168c75bd25 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilderPostRequestConfiguration.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/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.php b/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.php new file mode 100644 index 00000000000..bf5c10f4c92 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. + * @param string $policyId The unique identifier of policy + * @return PolicyItemRequestBuilder + */ + public function byPolicyId(string $policyId): PolicyItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['policy%2Did'] = $policyId; + return new PolicyItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new PoliciesRequestBuilder 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}/admin/windows/updates/policies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. + * @param PoliciesRequestBuilderGetRequestConfiguration|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/windowsupdates-adminwindowsupdates-list-policies?view=graph-rest-beta Find more info here + */ + public function get(?PoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [PolicyCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + * @param Policy $body The request body + * @param PoliciesRequestBuilderPostRequestConfiguration|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/windowsupdates-adminwindowsupdates-post-policies?view=graph-rest-beta Find more info here + */ + public function post(Policy $body, ?PoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Policy::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. + * @param PoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?PoliciesRequestBuilderGetRequestConfiguration $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 a new Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + * @param Policy $body The request body + * @param PoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Policy $body, ?PoliciesRequestBuilderPostRequestConfiguration $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 PoliciesRequestBuilder + */ + public function withUrl(string $rawUrl): PoliciesRequestBuilder { + return new PoliciesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b9053c31f27 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderGetQueryParameters.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 PoliciesRequestBuilderGetQueryParameters 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/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderGetRequestConfiguration.php similarity index 55% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderGetRequestConfiguration.php index 2828f8cab10..059078c1427 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ConfigurationApplicationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param PoliciesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ConfigurationApplicationsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?PoliciesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ConfigurationApplicationsRequestBuilderGetQueryParameters. + * Instantiates a new PoliciesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Con * @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 ConfigurationApplicationsRequestBuilderGetQueryParameters + * @return PoliciesRequestBuilderGetQueryParameters */ - 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): ConfigurationApplicationsRequestBuilderGetQueryParameters { - return new ConfigurationApplicationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + 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): PoliciesRequestBuilderGetQueryParameters { + return new PoliciesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..a80fb059d03 --- /dev/null +++ b/src/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilderPostRequestConfiguration.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/Admin/Windows/Updates/UpdatesRequestBuilder.php b/src/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.php index aa619129ca3..981256f71f7 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Beta\Generated\Admin\Windows\Updates\Catalog\CatalogRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Windows\Updates\DeploymentAudiences\DeploymentAudiencesRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Windows\Updates\Deployments\DeploymentsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Admin\Windows\Updates\Policies\PoliciesRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Windows\Updates\Products\ProductsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Windows\Updates\ResourceConnections\ResourceConnectionsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Windows\Updates\UpdatableAssets\UpdatableAssetsRequestBuilder; @@ -44,6 +45,13 @@ public function deployments(): DeploymentsRequestBuilder { return new DeploymentsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. + */ + public function policies(): PoliciesRequestBuilder { + return new PoliciesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the products property of the microsoft.graph.adminWindowsUpdates entity. */ diff --git a/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php index 263777afc03..be3ce16986c 100644 --- a/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param GraphGroupRequestBuilderGetRequestConfiguration|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(?GraphGroupRequestBuilderGetRequestConfiguration $requestCon } /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param GraphGroupRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilderGetQueryParameters.php index e871b0afb17..0a6481572f8 100644 --- a/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. */ class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index e462df9feea..3423454e598 100644 --- a/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param GraphGroupRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?GraphGroupRequestBuilderGetRequestConfiguration $requestCon } /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param GraphGroupRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilderGetQueryParameters.php index f07eac28130..9bbdc544df4 100644 --- a/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. */ class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.php index c2aaf77f214..29a486064d9 100644 --- a/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.php @@ -67,7 +67,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param MemberOfRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -82,7 +82,7 @@ public function get(?MemberOfRequestBuilderGetRequestConfiguration $requestConfi } /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param MemberOfRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilderGetQueryParameters.php index 1f29708cb68..b926f4e6f9b 100644 --- a/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. */ class MemberOfRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php index c5e0efc3128..3bbd835e461 100644 --- a/src/Generated/Groups/Item/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php @@ -4,6 +4,7 @@ use Microsoft\Graph\Beta\Generated\Models\DlpEvaluationInput; use Microsoft\Graph\Beta\Generated\Models\DlpNotification; +use Microsoft\Graph\Beta\Generated\Models\TextClassificationRequest; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -57,6 +58,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the classifyText property value. The classifyText property + * @return TextClassificationRequest|null + */ + public function getClassifyText(): ?TextClassificationRequest { + $val = $this->getBackingStore()->get('classifyText'); + if (is_null($val) || $val instanceof TextClassificationRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'classifyText'"); + } + /** * Gets the evaluationInput property value. The evaluationInput property * @return DlpEvaluationInput|null @@ -76,6 +89,7 @@ public function getEvaluationInput(): ?DlpEvaluationInput { public function getFieldDeserializers(): array { $o = $this; return [ + 'classifyText' => fn(ParseNode $n) => $o->setClassifyText($n->getObjectValue([TextClassificationRequest::class, 'createFromDiscriminatorValue'])), 'evaluationInput' => fn(ParseNode $n) => $o->setEvaluationInput($n->getObjectValue([DlpEvaluationInput::class, 'createFromDiscriminatorValue'])), 'notificationInfo' => fn(ParseNode $n) => $o->setNotificationInfo($n->getObjectValue([DlpNotification::class, 'createFromDiscriminatorValue'])), 'target' => fn(ParseNode $n) => $o->setTarget($n->getStringValue()), @@ -111,6 +125,7 @@ public function getTarget(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('classifyText', $this->getClassifyText()); $writer->writeObjectValue('evaluationInput', $this->getEvaluationInput()); $writer->writeObjectValue('notificationInfo', $this->getNotificationInfo()); $writer->writeStringValue('target', $this->getTarget()); @@ -133,6 +148,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the classifyText property value. The classifyText property + * @param TextClassificationRequest|null $value Value to set for the classifyText property. + */ + public function setClassifyText(?TextClassificationRequest $value): void { + $this->getBackingStore()->set('classifyText', $value); + } + /** * Sets the evaluationInput property value. The evaluationInput property * @param DlpEvaluationInput|null $value Value to set for the evaluationInput property. diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php index bf8dad7dbb5..04fa22a96e6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. * @param AccessPackageAssignmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?AccessPackageAssignmentRequestBuilderGetRequestConfiguratio } /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. * @param AccessPackageAssignmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php index 485b7e50691..732a0ef2903 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. */ class AccessPackageAssignmentRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php index 0b6cc424234..3f0f20e9c26 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. * @param AccessPackageAssignmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?AccessPackageAssignmentRequestBuilderGetRequestConfiguratio } /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. * @param AccessPackageAssignmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php index ca12bb91c33..257b2343176 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. */ class AccessPackageAssignmentRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php index 9aaf08c9643..657c23e97e9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. * @param AccessPackageAssignmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?AccessPackageAssignmentRequestBuilderGetRequestConfiguratio } /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. * @param AccessPackageAssignmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php index ce755772485..2ea7db3e398 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. */ class AccessPackageAssignmentRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.php index da62c95f60b..379596a4e14 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.php @@ -22,6 +22,7 @@ use Microsoft\Graph\Beta\Generated\IdentityGovernance\EntitlementManagement\AvailableAccessPackages\AvailableAccessPackagesRequestBuilder; use Microsoft\Graph\Beta\Generated\IdentityGovernance\EntitlementManagement\ConnectedOrganizations\ConnectedOrganizationsRequestBuilder; use Microsoft\Graph\Beta\Generated\IdentityGovernance\EntitlementManagement\ControlConfigurations\ControlConfigurationsRequestBuilder; +use Microsoft\Graph\Beta\Generated\IdentityGovernance\EntitlementManagement\ExternalOriginResourceConnectors\ExternalOriginResourceConnectorsRequestBuilder; use Microsoft\Graph\Beta\Generated\IdentityGovernance\EntitlementManagement\Settings\SettingsRequestBuilder; use Microsoft\Graph\Beta\Generated\IdentityGovernance\EntitlementManagement\Subjects\SubjectsRequestBuilder; use Microsoft\Graph\Beta\Generated\IdentityGovernance\EntitlementManagement\SubjectsWithObjectId\SubjectsWithObjectIdRequestBuilder; @@ -149,6 +150,13 @@ public function controlConfigurations(): ControlConfigurationsRequestBuilder { return new ControlConfigurationsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. + */ + public function externalOriginResourceConnectors(): ExternalOriginResourceConnectorsRequestBuilder { + return new ExternalOriginResourceConnectorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the settings property of the microsoft.graph.entitlementManagement entity. */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..9872fa446e9 --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/identityGovernance/entitlementManagement/externalOriginResourceConnectors/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e022e0b875a --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f6247ffc185 --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/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/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilder.php new file mode 100644 index 00000000000..c77017e17d4 --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. + * @param string $externalOriginResourceConnectorId The unique identifier of externalOriginResourceConnector + * @return ExternalOriginResourceConnectorItemRequestBuilder + */ + public function byExternalOriginResourceConnectorId(string $externalOriginResourceConnectorId): ExternalOriginResourceConnectorItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['externalOriginResourceConnector%2Did'] = $externalOriginResourceConnectorId; + return new ExternalOriginResourceConnectorItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ExternalOriginResourceConnectorsRequestBuilder 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}/identityGovernance/entitlementManagement/externalOriginResourceConnectors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get externalOriginResourceConnectors from identityGovernance + * @param ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExternalOriginResourceConnectorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to externalOriginResourceConnectors for identityGovernance + * @param ExternalOriginResourceConnector $body The request body + * @param ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ExternalOriginResourceConnector $body, ?ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExternalOriginResourceConnector::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get externalOriginResourceConnectors from identityGovernance + * @param ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration $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 externalOriginResourceConnectors for identityGovernance + * @param ExternalOriginResourceConnector $body The request body + * @param ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ExternalOriginResourceConnector $body, ?ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration $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 ExternalOriginResourceConnectorsRequestBuilder + */ + public function withUrl(string $rawUrl): ExternalOriginResourceConnectorsRequestBuilder { + return new ExternalOriginResourceConnectorsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..06de672eb17 --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters.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 ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters 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/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a3d60253afd --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters. + * @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 ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters + */ + 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): ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters { + return new ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..d890733b13f --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration.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/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilder.php new file mode 100644 index 00000000000..2595d2c639c --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilder.php @@ -0,0 +1,144 @@ +|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}/identityGovernance/entitlementManagement/externalOriginResourceConnectors/{externalOriginResourceConnector%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property externalOriginResourceConnectors for identityGovernance + * @param ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get externalOriginResourceConnectors from identityGovernance + * @param ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExternalOriginResourceConnector::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property externalOriginResourceConnectors in identityGovernance + * @param ExternalOriginResourceConnector $body The request body + * @param ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ExternalOriginResourceConnector $body, ?ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExternalOriginResourceConnector::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property externalOriginResourceConnectors for identityGovernance + * @param ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration $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 externalOriginResourceConnectors from identityGovernance + * @param ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration $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 externalOriginResourceConnectors in identityGovernance + * @param ExternalOriginResourceConnector $body The request body + * @param ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ExternalOriginResourceConnector $body, ?ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration $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 ExternalOriginResourceConnectorItemRequestBuilder + */ + public function withUrl(string $rawUrl): ExternalOriginResourceConnectorItemRequestBuilder { + return new ExternalOriginResourceConnectorItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..df50ed7e906 --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration.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/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..23625c95adf --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters.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 ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters 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/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..79a7e9b372d --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters { + return new ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..481789fd318 --- /dev/null +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration.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/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php b/src/Generated/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php index f29fe0fe450..7f37c8652ac 100644 --- a/src/Generated/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php +++ b/src/Generated/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php @@ -4,6 +4,7 @@ use Microsoft\Graph\Beta\Generated\Models\DlpEvaluationInput; use Microsoft\Graph\Beta\Generated\Models\DlpNotification; +use Microsoft\Graph\Beta\Generated\Models\TextClassificationRequest; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -57,6 +58,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the classifyText property value. The classifyText property + * @return TextClassificationRequest|null + */ + public function getClassifyText(): ?TextClassificationRequest { + $val = $this->getBackingStore()->get('classifyText'); + if (is_null($val) || $val instanceof TextClassificationRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'classifyText'"); + } + /** * Gets the evaluationInput property value. The evaluationInput property * @return DlpEvaluationInput|null @@ -76,6 +89,7 @@ public function getEvaluationInput(): ?DlpEvaluationInput { public function getFieldDeserializers(): array { $o = $this; return [ + 'classifyText' => fn(ParseNode $n) => $o->setClassifyText($n->getObjectValue([TextClassificationRequest::class, 'createFromDiscriminatorValue'])), 'evaluationInput' => fn(ParseNode $n) => $o->setEvaluationInput($n->getObjectValue([DlpEvaluationInput::class, 'createFromDiscriminatorValue'])), 'notificationInfo' => fn(ParseNode $n) => $o->setNotificationInfo($n->getObjectValue([DlpNotification::class, 'createFromDiscriminatorValue'])), 'target' => fn(ParseNode $n) => $o->setTarget($n->getStringValue()), @@ -111,6 +125,7 @@ public function getTarget(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('classifyText', $this->getClassifyText()); $writer->writeObjectValue('evaluationInput', $this->getEvaluationInput()); $writer->writeObjectValue('notificationInfo', $this->getNotificationInfo()); $writer->writeStringValue('target', $this->getTarget()); @@ -133,6 +148,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the classifyText property value. The classifyText property + * @param TextClassificationRequest|null $value Value to set for the classifyText property. + */ + public function setClassifyText(?TextClassificationRequest $value): void { + $this->getBackingStore()->set('classifyText', $value); + } + /** * Sets the evaluationInput property value. The evaluationInput property * @param DlpEvaluationInput|null $value Value to set for the evaluationInput property. diff --git a/src/Generated/Models/AccessPackageAssignmentRequest.php b/src/Generated/Models/AccessPackageAssignmentRequest.php index 75dfa5f067c..1064ad483db 100644 --- a/src/Generated/Models/AccessPackageAssignmentRequest.php +++ b/src/Generated/Models/AccessPackageAssignmentRequest.php @@ -39,7 +39,7 @@ public function getAccessPackage(): ?AccessPackage { } /** - * Gets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * Gets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. * @return AccessPackageAssignment|null */ public function getAccessPackageAssignment(): ?AccessPackageAssignment { @@ -230,7 +230,7 @@ public function getRequestStatus(): ?string { } /** - * Gets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. + * Gets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, ApproverRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. * @return string|null */ public function getRequestType(): ?string { @@ -301,7 +301,7 @@ public function setAccessPackage(?AccessPackage $value): void { } /** - * Sets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + * Sets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. * @param AccessPackageAssignment|null $value Value to set for the accessPackageAssignment property. */ public function setAccessPackageAssignment(?AccessPackageAssignment $value): void { @@ -405,7 +405,7 @@ public function setRequestStatus(?string $value): void { } /** - * Sets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. + * Sets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, ApproverRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. * @param string|null $value Value to set for the requestType property. */ public function setRequestType(?string $value): void { diff --git a/src/Generated/Models/Admin.php b/src/Generated/Models/Admin.php index ba347be72ba..f9850260133 100644 --- a/src/Generated/Models/Admin.php +++ b/src/Generated/Models/Admin.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Beta\Generated\Models; +use Microsoft\Graph\Beta\Generated\Models\CloudLicensing\AdminCloudLicensing; use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TeamsAdminRoot; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; @@ -68,6 +69,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the cloudLicensing property value. The root of the cloud licensing API for the entire organization. Read-only. + * @return AdminCloudLicensing|null + */ + public function getCloudLicensing(): ?AdminCloudLicensing { + $val = $this->getBackingStore()->get('cloudLicensing'); + if (is_null($val) || $val instanceof AdminCloudLicensing) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudLicensing'"); + } + /** * Gets the configurationManagement property value. The configurationManagement property * @return ConfigurationManagement|null @@ -136,6 +149,7 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'appsAndServices' => fn(ParseNode $n) => $o->setAppsAndServices($n->getObjectValue([AdminAppsAndServices::class, 'createFromDiscriminatorValue'])), + 'cloudLicensing' => fn(ParseNode $n) => $o->setCloudLicensing($n->getObjectValue([AdminCloudLicensing::class, 'createFromDiscriminatorValue'])), 'configurationManagement' => fn(ParseNode $n) => $o->setConfigurationManagement($n->getObjectValue([ConfigurationManagement::class, 'createFromDiscriminatorValue'])), 'dynamics' => fn(ParseNode $n) => $o->setDynamics($n->getObjectValue([AdminDynamics::class, 'createFromDiscriminatorValue'])), 'edge' => fn(ParseNode $n) => $o->setEdge($n->getObjectValue([Edge::class, 'createFromDiscriminatorValue'])), @@ -280,6 +294,7 @@ public function getWindows(): ?AdminWindows { */ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('appsAndServices', $this->getAppsAndServices()); + $writer->writeObjectValue('cloudLicensing', $this->getCloudLicensing()); $writer->writeObjectValue('configurationManagement', $this->getConfigurationManagement()); $writer->writeObjectValue('dynamics', $this->getDynamics()); $writer->writeObjectValue('edge', $this->getEdge()); @@ -322,6 +337,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the cloudLicensing property value. The root of the cloud licensing API for the entire organization. Read-only. + * @param AdminCloudLicensing|null $value Value to set for the cloudLicensing property. + */ + public function setCloudLicensing(?AdminCloudLicensing $value): void { + $this->getBackingStore()->set('cloudLicensing', $value); + } + /** * Sets the configurationManagement property value. The configurationManagement property * @param ConfigurationManagement|null $value Value to set for the configurationManagement property. diff --git a/src/Generated/Models/AdminWindowsUpdates.php b/src/Generated/Models/AdminWindowsUpdates.php index 6a6e90baba8..3f88de6e734 100644 --- a/src/Generated/Models/AdminWindowsUpdates.php +++ b/src/Generated/Models/AdminWindowsUpdates.php @@ -5,6 +5,7 @@ use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\Catalog; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\Deployment; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\DeploymentAudience; +use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\Policy; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\Product; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\ResourceConnection; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\UpdatableAsset; @@ -82,6 +83,7 @@ public function getFieldDeserializers(): array { 'catalog' => fn(ParseNode $n) => $o->setCatalog($n->getObjectValue([Catalog::class, 'createFromDiscriminatorValue'])), 'deploymentAudiences' => fn(ParseNode $n) => $o->setDeploymentAudiences($n->getCollectionOfObjectValues([DeploymentAudience::class, 'createFromDiscriminatorValue'])), 'deployments' => fn(ParseNode $n) => $o->setDeployments($n->getCollectionOfObjectValues([Deployment::class, 'createFromDiscriminatorValue'])), + 'policies' => fn(ParseNode $n) => $o->setPolicies($n->getCollectionOfObjectValues([Policy::class, 'createFromDiscriminatorValue'])), 'products' => fn(ParseNode $n) => $o->setProducts($n->getCollectionOfObjectValues([Product::class, 'createFromDiscriminatorValue'])), 'resourceConnections' => fn(ParseNode $n) => $o->setResourceConnections($n->getCollectionOfObjectValues([ResourceConnection::class, 'createFromDiscriminatorValue'])), 'updatableAssets' => fn(ParseNode $n) => $o->setUpdatableAssets($n->getCollectionOfObjectValues([UpdatableAsset::class, 'createFromDiscriminatorValue'])), @@ -89,6 +91,20 @@ public function getFieldDeserializers(): array { ]); } + /** + * Gets the policies property value. A collection of policies for approving the deployment of different content to an audience over time. + * @return array|null + */ + public function getPolicies(): ?array { + $val = $this->getBackingStore()->get('policies'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Policy::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policies'"); + } + /** * Gets the products property value. A collection of Windows products. * @return array|null @@ -154,6 +170,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('catalog', $this->getCatalog()); $writer->writeCollectionOfObjectValues('deploymentAudiences', $this->getDeploymentAudiences()); $writer->writeCollectionOfObjectValues('deployments', $this->getDeployments()); + $writer->writeCollectionOfObjectValues('policies', $this->getPolicies()); $writer->writeCollectionOfObjectValues('products', $this->getProducts()); $writer->writeCollectionOfObjectValues('resourceConnections', $this->getResourceConnections()); $writer->writeCollectionOfObjectValues('updatableAssets', $this->getUpdatableAssets()); @@ -184,6 +201,14 @@ public function setDeployments(?array $value): void { $this->getBackingStore()->set('deployments', $value); } + /** + * Sets the policies property value. A collection of policies for approving the deployment of different content to an audience over time. + * @param array|null $value Value to set for the policies property. + */ + public function setPolicies(?array $value): void { + $this->getBackingStore()->set('policies', $value); + } + /** * Sets the products property value. A collection of Windows products. * @param array|null $value Value to set for the products property. diff --git a/src/Generated/Models/AgentIdentityType.php b/src/Generated/Models/AgentIdentityType.php new file mode 100644 index 00000000000..f4566c93b57 --- /dev/null +++ b/src/Generated/Models/AgentIdentityType.php @@ -0,0 +1,12 @@ + fn(ParseNode $n) => $o->setAgentId($n->getStringValue()), 'detectedDateTime' => fn(ParseNode $n) => $o->setDetectedDateTime($n->getDateTimeValue()), 'detectionTimingType' => fn(ParseNode $n) => $o->setDetectionTimingType($n->getEnumValue(RiskDetectionTimingType::class)), + 'identityType' => fn(ParseNode $n) => $o->setIdentityType($n->getEnumValue(AgentIdentityType::class)), 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), 'riskDetail' => fn(ParseNode $n) => $o->setRiskDetail($n->getEnumValue(RiskDetail::class)), 'riskEventType' => fn(ParseNode $n) => $o->setRiskEventType($n->getStringValue()), @@ -119,6 +120,18 @@ public function getFieldDeserializers(): array { ]); } + /** + * Gets the identityType property value. The identityType property + * @return AgentIdentityType|null + */ + public function getIdentityType(): ?AgentIdentityType { + $val = $this->getBackingStore()->get('identityType'); + if (is_null($val) || $val instanceof AgentIdentityType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identityType'"); + } + /** * Gets the lastModifiedDateTime property value. Date and time that the risk detection was last updated. Supports $filter (eq, le, and ge). * @return DateTime|null @@ -203,6 +216,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('agentId', $this->getAgentId()); $writer->writeDateTimeValue('detectedDateTime', $this->getDetectedDateTime()); $writer->writeEnumValue('detectionTimingType', $this->getDetectionTimingType()); + $writer->writeEnumValue('identityType', $this->getIdentityType()); $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); $writer->writeEnumValue('riskDetail', $this->getRiskDetail()); $writer->writeStringValue('riskEventType', $this->getRiskEventType()); @@ -259,6 +273,14 @@ public function setDetectionTimingType(?RiskDetectionTimingType $value): void { $this->getBackingStore()->set('detectionTimingType', $value); } + /** + * Sets the identityType property value. The identityType property + * @param AgentIdentityType|null $value Value to set for the identityType property. + */ + public function setIdentityType(?AgentIdentityType $value): void { + $this->getBackingStore()->set('identityType', $value); + } + /** * Sets the lastModifiedDateTime property value. Date and time that the risk detection was last updated. Supports $filter (eq, le, and ge). * @param DateTime|null $value Value to set for the lastModifiedDateTime property. diff --git a/src/Generated/Models/AllowedTenantsAudience.php b/src/Generated/Models/AllowedTenantsAudience.php index 66fd3d40be4..12e6c178c9b 100644 --- a/src/Generated/Models/AllowedTenantsAudience.php +++ b/src/Generated/Models/AllowedTenantsAudience.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Allow } /** - * Gets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. + * Gets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). This property must contain at least one value and can't include more than 20 values. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. * @return array|null */ public function getAllowedTenantIds(): ?array { @@ -82,7 +82,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. + * Sets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). This property must contain at least one value and can't include more than 20 values. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. * @param array|null $value Value to set for the allowedTenantIds property. */ public function setAllowedTenantIds(?array $value): void { diff --git a/src/Generated/Models/AppManagementApplicationConfiguration.php b/src/Generated/Models/AppManagementApplicationConfiguration.php index 5aabf72c84f..8d562d86169 100644 --- a/src/Generated/Models/AppManagementApplicationConfiguration.php +++ b/src/Generated/Models/AppManagementApplicationConfiguration.php @@ -46,6 +46,7 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'audiences' => fn(ParseNode $n) => $o->setAudiences($n->getObjectValue([AudiencesConfiguration::class, 'createFromDiscriminatorValue'])), 'identifierUris' => fn(ParseNode $n) => $o->setIdentifierUris($n->getObjectValue([IdentifierUriConfiguration::class, 'createFromDiscriminatorValue'])), + 'redirectUris' => fn(ParseNode $n) => $o->setRedirectUris($n->getObjectValue([RedirectUriConfiguration::class, 'createFromDiscriminatorValue'])), ]); } @@ -61,6 +62,18 @@ public function getIdentifierUris(): ?IdentifierUriConfiguration { throw new \UnexpectedValueException("Invalid type found in backing store for 'identifierUris'"); } + /** + * Gets the redirectUris property value. The redirectUris property + * @return RedirectUriConfiguration|null + */ + public function getRedirectUris(): ?RedirectUriConfiguration { + $val = $this->getBackingStore()->get('redirectUris'); + if (is_null($val) || $val instanceof RedirectUriConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'redirectUris'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -69,6 +82,7 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('audiences', $this->getAudiences()); $writer->writeObjectValue('identifierUris', $this->getIdentifierUris()); + $writer->writeObjectValue('redirectUris', $this->getRedirectUris()); } /** @@ -87,4 +101,12 @@ public function setIdentifierUris(?IdentifierUriConfiguration $value): void { $this->getBackingStore()->set('identifierUris', $value); } + /** + * Sets the redirectUris property value. The redirectUris property + * @param RedirectUriConfiguration|null $value Value to set for the redirectUris property. + */ + public function setRedirectUris(?RedirectUriConfiguration $value): void { + $this->getBackingStore()->set('redirectUris', $value); + } + } diff --git a/src/Generated/Models/AuthenticationEventListener.php b/src/Generated/Models/AuthenticationEventListener.php index dbbe09372fe..d841f5d4f16 100644 --- a/src/Generated/Models/AuthenticationEventListener.php +++ b/src/Generated/Models/AuthenticationEventListener.php @@ -32,6 +32,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Authe case '#microsoft.graph.onEmailOtpSendListener': return new OnEmailOtpSendListener(); case '#microsoft.graph.onFraudProtectionLoadStartListener': return new OnFraudProtectionLoadStartListener(); case '#microsoft.graph.onInteractiveAuthFlowStartListener': return new OnInteractiveAuthFlowStartListener(); + case '#microsoft.graph.onPasswordSubmitListener': return new OnPasswordSubmitListener(); case '#microsoft.graph.onPhoneMethodLoadStartListener': return new OnPhoneMethodLoadStartListener(); case '#microsoft.graph.onTokenIssuanceStartListener': return new OnTokenIssuanceStartListener(); case '#microsoft.graph.onUserCreateStartListener': return new OnUserCreateStartListener(); diff --git a/src/Generated/Models/BackupRestoreRoot.php b/src/Generated/Models/BackupRestoreRoot.php index 8ab7de60a94..146ae714611 100644 --- a/src/Generated/Models/BackupRestoreRoot.php +++ b/src/Generated/Models/BackupRestoreRoot.php @@ -62,7 +62,7 @@ public function getAllSitesBackup(): ?AllSitesBackup { } /** - * Gets the browseSessions property value. The browseSessions property + * Gets the browseSessions property value. The list of browse sessions in the tenant. * @return array|null */ public function getBrowseSessions(): ?array { @@ -238,7 +238,7 @@ public function getMailboxProtectionUnitsBulkAdditionJobs(): ?array { } /** - * Gets the oneDriveForBusinessBrowseSessions property value. The oneDriveForBusinessBrowseSessions property + * Gets the oneDriveForBusinessBrowseSessions property value. The list of onedriveforbusiness browse sessions in the tenant. * @return array|null */ public function getOneDriveForBusinessBrowseSessions(): ?array { @@ -362,7 +362,7 @@ public function getServiceStatus(): ?ServiceStatus { } /** - * Gets the sharePointBrowseSessions property value. The sharePointBrowseSessions property + * Gets the sharePointBrowseSessions property value. The list of sharepoint browse sessions in the tenant. * @return array|null */ public function getSharePointBrowseSessions(): ?array { @@ -506,7 +506,7 @@ public function setAllSitesBackup(?AllSitesBackup $value): void { } /** - * Sets the browseSessions property value. The browseSessions property + * Sets the browseSessions property value. The list of browse sessions in the tenant. * @param array|null $value Value to set for the browseSessions property. */ public function setBrowseSessions(?array $value): void { @@ -586,7 +586,7 @@ public function setMailboxProtectionUnitsBulkAdditionJobs(?array $value): void { } /** - * Sets the oneDriveForBusinessBrowseSessions property value. The oneDriveForBusinessBrowseSessions property + * Sets the oneDriveForBusinessBrowseSessions property value. The list of onedriveforbusiness browse sessions in the tenant. * @param array|null $value Value to set for the oneDriveForBusinessBrowseSessions property. */ public function setOneDriveForBusinessBrowseSessions(?array $value): void { @@ -658,7 +658,7 @@ public function setServiceStatus(?ServiceStatus $value): void { } /** - * Sets the sharePointBrowseSessions property value. The sharePointBrowseSessions property + * Sets the sharePointBrowseSessions property value. The list of sharepoint browse sessions in the tenant. * @param array|null $value Value to set for the sharePointBrowseSessions property. */ public function setSharePointBrowseSessions(?array $value): void { diff --git a/src/Generated/Models/BaselineParameter.php b/src/Generated/Models/BaselineParameter.php index 10789a122b1..1109dd7097e 100644 --- a/src/Generated/Models/BaselineParameter.php +++ b/src/Generated/Models/BaselineParameter.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the description property value. The description property + * Gets the description property value. User-friendly description of the parameter. * @return string|null */ public function getDescription(): ?string { @@ -68,7 +68,7 @@ public function getDescription(): ?string { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. Parameter names such as FQDN and Tenant ID. * @return string|null */ public function getDisplayName(): ?string { @@ -146,7 +146,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the description property value. The description property + * Sets the description property value. User-friendly description of the parameter. * @param string|null $value Value to set for the description property. */ public function setDescription(?string $value): void { @@ -154,7 +154,7 @@ public function setDescription(?string $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. Parameter names such as FQDN and Tenant ID. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { diff --git a/src/Generated/Models/BaselineResource.php b/src/Generated/Models/BaselineResource.php index 5a84422747e..434bd79733d 100644 --- a/src/Generated/Models/BaselineResource.php +++ b/src/Generated/Models/BaselineResource.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. Unique name of the resource. * @return string|null */ public function getDisplayName(): ?string { @@ -106,7 +106,7 @@ public function getProperties(): ?OpenComplexDictionaryType { } /** - * Gets the resourceType property value. The resourceType property + * Gets the resourceType property value. Name of the resource type. * @return string|null */ public function getResourceType(): ?string { @@ -146,7 +146,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. Unique name of the resource. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -170,7 +170,7 @@ public function setProperties(?OpenComplexDictionaryType $value): void { } /** - * Sets the resourceType property value. The resourceType property + * Sets the resourceType property value. Name of the resource type. * @param string|null $value Value to set for the resourceType property. */ public function setResourceType(?string $value): void { diff --git a/src/Generated/Models/BrowseQueryResponseItem.php b/src/Generated/Models/BrowseQueryResponseItem.php index a005aa71f1e..0340d73d8c9 100644 --- a/src/Generated/Models/BrowseQueryResponseItem.php +++ b/src/Generated/Models/BrowseQueryResponseItem.php @@ -73,7 +73,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the itemKey property value. The itemKey property + * Gets the itemKey property value. Unique identifier of the returned item. * @return string|null */ public function getItemKey(): ?string { @@ -85,7 +85,7 @@ public function getItemKey(): ?string { } /** - * Gets the itemsCount property value. The itemsCount property + * Gets the itemsCount property value. The count of items present within the items; for example, the count of files in a folder. * @return int|null */ public function getItemsCount(): ?int { @@ -97,7 +97,7 @@ public function getItemsCount(): ?int { } /** - * Gets the name property value. The name property + * Gets the name property value. The name of the item. * @return string|null */ public function getName(): ?string { @@ -121,7 +121,7 @@ public function getOdataType(): ?string { } /** - * Gets the sizeInBytes property value. The sizeInBytes property + * Gets the sizeInBytes property value. The size of the item in bytes. * @return string|null */ public function getSizeInBytes(): ?string { @@ -145,7 +145,7 @@ public function getType(): ?BrowseQueryResponseItemType { } /** - * Gets the webUrl property value. The webUrl property + * Gets the webUrl property value. The web URL of the item. * @return string|null */ public function getWebUrl(): ?string { @@ -188,7 +188,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the itemKey property value. The itemKey property + * Sets the itemKey property value. Unique identifier of the returned item. * @param string|null $value Value to set for the itemKey property. */ public function setItemKey(?string $value): void { @@ -196,7 +196,7 @@ public function setItemKey(?string $value): void { } /** - * Sets the itemsCount property value. The itemsCount property + * Sets the itemsCount property value. The count of items present within the items; for example, the count of files in a folder. * @param int|null $value Value to set for the itemsCount property. */ public function setItemsCount(?int $value): void { @@ -204,7 +204,7 @@ public function setItemsCount(?int $value): void { } /** - * Sets the name property value. The name property + * Sets the name property value. The name of the item. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -220,7 +220,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the sizeInBytes property value. The sizeInBytes property + * Sets the sizeInBytes property value. The size of the item in bytes. * @param string|null $value Value to set for the sizeInBytes property. */ public function setSizeInBytes(?string $value): void { @@ -236,7 +236,7 @@ public function setType(?BrowseQueryResponseItemType $value): void { } /** - * Sets the webUrl property value. The webUrl property + * Sets the webUrl property value. The web URL of the item. * @param string|null $value Value to set for the webUrl property. */ public function setWebUrl(?string $value): void { diff --git a/src/Generated/Models/BrowseSessionBase.php b/src/Generated/Models/BrowseSessionBase.php index b943b2f20f5..bd934ae2905 100644 --- a/src/Generated/Models/BrowseSessionBase.php +++ b/src/Generated/Models/BrowseSessionBase.php @@ -34,7 +34,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Brows } /** - * Gets the backupSizeInBytes property value. The backupSizeInBytes property + * Gets the backupSizeInBytes property value. The size of the backup in bytes. * @return string|null */ public function getBackupSizeInBytes(): ?string { @@ -46,7 +46,7 @@ public function getBackupSizeInBytes(): ?string { } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. The date and time when the browse session 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. * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -58,7 +58,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the error property value. The error property + * Gets the error property value. Contains the error details if the browse session creation fails. * @return PublicError|null */ public function getError(): ?PublicError { @@ -70,7 +70,7 @@ public function getError(): ?PublicError { } /** - * Gets the expirationDateTime property value. The expirationDateTime property + * Gets the expirationDateTime property value. The date and time after which the browse session is deleted automatically. * @return DateTime|null */ public function getExpirationDateTime(): ?DateTime { @@ -98,7 +98,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the restorePointDateTime property value. The restorePointDateTime property + * Gets the restorePointDateTime property value. The date and time of the restore point on which the browse session is created. * @return DateTime|null */ public function getRestorePointDateTime(): ?DateTime { @@ -136,7 +136,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the backupSizeInBytes property value. The backupSizeInBytes property + * Sets the backupSizeInBytes property value. The size of the backup in bytes. * @param string|null $value Value to set for the backupSizeInBytes property. */ public function setBackupSizeInBytes(?string $value): void { @@ -144,7 +144,7 @@ public function setBackupSizeInBytes(?string $value): void { } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when the browse session 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. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -152,7 +152,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the error property value. The error property + * Sets the error property value. Contains the error details if the browse session creation fails. * @param PublicError|null $value Value to set for the error property. */ public function setError(?PublicError $value): void { @@ -160,7 +160,7 @@ public function setError(?PublicError $value): void { } /** - * Sets the expirationDateTime property value. The expirationDateTime property + * Sets the expirationDateTime property value. The date and time after which the browse session is deleted automatically. * @param DateTime|null $value Value to set for the expirationDateTime property. */ public function setExpirationDateTime(?DateTime $value): void { @@ -168,7 +168,7 @@ public function setExpirationDateTime(?DateTime $value): void { } /** - * Sets the restorePointDateTime property value. The restorePointDateTime property + * Sets the restorePointDateTime property value. The date and time of the restore point on which the browse session is created. * @param DateTime|null $value Value to set for the restorePointDateTime property. */ public function setRestorePointDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/CloudLicensing/AdminCloudLicensing.php b/src/Generated/Models/CloudLicensing/AdminCloudLicensing.php new file mode 100644 index 00000000000..0dcea90d7aa --- /dev/null +++ b/src/Generated/Models/CloudLicensing/AdminCloudLicensing.php @@ -0,0 +1,119 @@ +|null + */ + public function getAllotments(): ?array { + $val = $this->getBackingStore()->get('allotments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Allotment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allotments'"); + } + + /** + * Gets the assignmentErrors property value. The set of all asynchronous allotment assignment errors that affect the organization. Read-only. + * @return array|null + */ + public function getAssignmentErrors(): ?array { + $val = $this->getBackingStore()->get('assignmentErrors'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AssignmentError::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignmentErrors'"); + } + + /** + * Gets the assignments property value. The set of all license assignments within the organization. Not nullable. + * @return array|null + */ + public function getAssignments(): ?array { + $val = $this->getBackingStore()->get('assignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Assignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignments'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'allotments' => fn(ParseNode $n) => $o->setAllotments($n->getCollectionOfObjectValues([Allotment::class, 'createFromDiscriminatorValue'])), + 'assignmentErrors' => fn(ParseNode $n) => $o->setAssignmentErrors($n->getCollectionOfObjectValues([AssignmentError::class, 'createFromDiscriminatorValue'])), + 'assignments' => fn(ParseNode $n) => $o->setAssignments($n->getCollectionOfObjectValues([Assignment::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * 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('allotments', $this->getAllotments()); + $writer->writeCollectionOfObjectValues('assignmentErrors', $this->getAssignmentErrors()); + $writer->writeCollectionOfObjectValues('assignments', $this->getAssignments()); + } + + /** + * Sets the allotments property value. The set of all allotments within the organization. Read-only. + * @param array|null $value Value to set for the allotments property. + */ + public function setAllotments(?array $value): void { + $this->getBackingStore()->set('allotments', $value); + } + + /** + * Sets the assignmentErrors property value. The set of all asynchronous allotment assignment errors that affect the organization. Read-only. + * @param array|null $value Value to set for the assignmentErrors property. + */ + public function setAssignmentErrors(?array $value): void { + $this->getBackingStore()->set('assignmentErrors', $value); + } + + /** + * Sets the assignments property value. The set of all license assignments within the organization. Not nullable. + * @param array|null $value Value to set for the assignments property. + */ + public function setAssignments(?array $value): void { + $this->getBackingStore()->set('assignments', $value); + } + +} diff --git a/src/Generated/Models/CloudLicensing/Allotment.php b/src/Generated/Models/CloudLicensing/Allotment.php new file mode 100644 index 00000000000..1bb322962e1 --- /dev/null +++ b/src/Generated/Models/CloudLicensing/Allotment.php @@ -0,0 +1,253 @@ +getBackingStore()->get('allottedUnits'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allottedUnits'"); + } + + /** + * Gets the assignableTo property value. The assignableTo property + * @return AssigneeTypes|null + */ + public function getAssignableTo(): ?AssigneeTypes { + $val = $this->getBackingStore()->get('assignableTo'); + if (is_null($val) || $val instanceof AssigneeTypes) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignableTo'"); + } + + /** + * Gets the assignments property value. The list of license assignments that consume licenses from this allotment. Not nullable. + * @return array|null + */ + public function getAssignments(): ?array { + $val = $this->getBackingStore()->get('assignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Assignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignments'"); + } + + /** + * Gets the consumedUnits property value. The number of licenses that are currently consumed by assignments from this allotment. Not nullable. Read-only. + * @return int|null + */ + public function getConsumedUnits(): ?int { + $val = $this->getBackingStore()->get('consumedUnits'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'consumedUnits'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'allottedUnits' => fn(ParseNode $n) => $o->setAllottedUnits($n->getIntegerValue()), + 'assignableTo' => fn(ParseNode $n) => $o->setAssignableTo($n->getEnumValue(AssigneeTypes::class)), + 'assignments' => fn(ParseNode $n) => $o->setAssignments($n->getCollectionOfObjectValues([Assignment::class, 'createFromDiscriminatorValue'])), + 'consumedUnits' => fn(ParseNode $n) => $o->setConsumedUnits($n->getIntegerValue()), + 'services' => fn(ParseNode $n) => $o->setServices($n->getCollectionOfObjectValues([Service::class, 'createFromDiscriminatorValue'])), + 'skuId' => fn(ParseNode $n) => $o->setSkuId($n->getStringValue()), + 'skuPartNumber' => fn(ParseNode $n) => $o->setSkuPartNumber($n->getStringValue()), + 'subscriptions' => fn(ParseNode $n) => $o->setSubscriptions($n->getCollectionOfObjectValues([Subscription::class, 'createFromDiscriminatorValue'])), + 'waitingMembers' => fn(ParseNode $n) => $o->setWaitingMembers($n->getCollectionOfObjectValues([WaitingMember::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the services property value. The list of services that might be enabled or disabled for assignments from this allotment. Not nullable. Read-only. + * @return array|null + */ + public function getServices(): ?array { + $val = $this->getBackingStore()->get('services'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Service::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'services'"); + } + + /** + * Gets the skuId property value. Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. + * @return string|null + */ + public function getSkuId(): ?string { + $val = $this->getBackingStore()->get('skuId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'skuId'"); + } + + /** + * Gets the skuPartNumber property value. Unique SKU display name that is equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only. + * @return string|null + */ + public function getSkuPartNumber(): ?string { + $val = $this->getBackingStore()->get('skuPartNumber'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'skuPartNumber'"); + } + + /** + * Gets the subscriptions property value. Basic information about the subscriptions that supports this allotment. + * @return array|null + */ + public function getSubscriptions(): ?array { + $val = $this->getBackingStore()->get('subscriptions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Subscription::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subscriptions'"); + } + + /** + * Gets the waitingMembers property value. List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. + * @return array|null + */ + public function getWaitingMembers(): ?array { + $val = $this->getBackingStore()->get('waitingMembers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WaitingMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'waitingMembers'"); + } + + /** + * 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->writeIntegerValue('allottedUnits', $this->getAllottedUnits()); + $writer->writeEnumValue('assignableTo', $this->getAssignableTo()); + $writer->writeCollectionOfObjectValues('assignments', $this->getAssignments()); + $writer->writeIntegerValue('consumedUnits', $this->getConsumedUnits()); + $writer->writeCollectionOfObjectValues('services', $this->getServices()); + $writer->writeStringValue('skuId', $this->getSkuId()); + $writer->writeStringValue('skuPartNumber', $this->getSkuPartNumber()); + $writer->writeCollectionOfObjectValues('subscriptions', $this->getSubscriptions()); + $writer->writeCollectionOfObjectValues('waitingMembers', $this->getWaitingMembers()); + } + + /** + * Sets the allottedUnits property value. The number of licenses contained within the allotment. Not nullable. Read-only. + * @param int|null $value Value to set for the allottedUnits property. + */ + public function setAllottedUnits(?int $value): void { + $this->getBackingStore()->set('allottedUnits', $value); + } + + /** + * Sets the assignableTo property value. The assignableTo property + * @param AssigneeTypes|null $value Value to set for the assignableTo property. + */ + public function setAssignableTo(?AssigneeTypes $value): void { + $this->getBackingStore()->set('assignableTo', $value); + } + + /** + * Sets the assignments property value. The list of license assignments that consume licenses from this allotment. Not nullable. + * @param array|null $value Value to set for the assignments property. + */ + public function setAssignments(?array $value): void { + $this->getBackingStore()->set('assignments', $value); + } + + /** + * Sets the consumedUnits property value. The number of licenses that are currently consumed by assignments from this allotment. Not nullable. Read-only. + * @param int|null $value Value to set for the consumedUnits property. + */ + public function setConsumedUnits(?int $value): void { + $this->getBackingStore()->set('consumedUnits', $value); + } + + /** + * Sets the services property value. The list of services that might be enabled or disabled for assignments from this allotment. Not nullable. Read-only. + * @param array|null $value Value to set for the services property. + */ + public function setServices(?array $value): void { + $this->getBackingStore()->set('services', $value); + } + + /** + * Sets the skuId property value. Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. + * @param string|null $value Value to set for the skuId property. + */ + public function setSkuId(?string $value): void { + $this->getBackingStore()->set('skuId', $value); + } + + /** + * Sets the skuPartNumber property value. Unique SKU display name that is equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only. + * @param string|null $value Value to set for the skuPartNumber property. + */ + public function setSkuPartNumber(?string $value): void { + $this->getBackingStore()->set('skuPartNumber', $value); + } + + /** + * Sets the subscriptions property value. Basic information about the subscriptions that supports this allotment. + * @param array|null $value Value to set for the subscriptions property. + */ + public function setSubscriptions(?array $value): void { + $this->getBackingStore()->set('subscriptions', $value); + } + + /** + * Sets the waitingMembers property value. List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. + * @param array|null $value Value to set for the waitingMembers property. + */ + public function setWaitingMembers(?array $value): void { + $this->getBackingStore()->set('waitingMembers', $value); + } + +} diff --git a/src/Generated/Models/CloudLicensing/AllotmentCollectionResponse.php b/src/Generated/Models/CloudLicensing/AllotmentCollectionResponse.php new file mode 100644 index 00000000000..813432956dc --- /dev/null +++ b/src/Generated/Models/CloudLicensing/AllotmentCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Allotment::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, Allotment::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/CloudLicensing/Assignment.php b/src/Generated/Models/CloudLicensing/Assignment.php new file mode 100644 index 00000000000..e6243469a71 --- /dev/null +++ b/src/Generated/Models/CloudLicensing/Assignment.php @@ -0,0 +1,123 @@ +getBackingStore()->get('allotment'); + if (is_null($val) || $val instanceof Allotment) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allotment'"); + } + + /** + * Gets the assignedTo property value. The assignedTo property + * @return DirectoryObject|null + */ + public function getAssignedTo(): ?DirectoryObject { + $val = $this->getBackingStore()->get('assignedTo'); + if (is_null($val) || $val instanceof DirectoryObject) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignedTo'"); + } + + /** + * Gets the disabledServicePlanIds property value. The list of disabled service plans for this assignment. Not nullable. + * @return array|null + */ + public function getDisabledServicePlanIds(): ?array { + $val = $this->getBackingStore()->get('disabledServicePlanIds'); + 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 'disabledServicePlanIds'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'allotment' => fn(ParseNode $n) => $o->setAllotment($n->getObjectValue([Allotment::class, 'createFromDiscriminatorValue'])), + 'assignedTo' => fn(ParseNode $n) => $o->setAssignedTo($n->getObjectValue([DirectoryObject::class, 'createFromDiscriminatorValue'])), + 'disabledServicePlanIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setDisabledServicePlanIds($val); + }, + ]); + } + + /** + * 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('allotment', $this->getAllotment()); + $writer->writeObjectValue('assignedTo', $this->getAssignedTo()); + $writer->writeCollectionOfPrimitiveValues('disabledServicePlanIds', $this->getDisabledServicePlanIds()); + } + + /** + * Sets the allotment property value. The allotment from which licenses are assigned. Not nullable. + * @param Allotment|null $value Value to set for the allotment property. + */ + public function setAllotment(?Allotment $value): void { + $this->getBackingStore()->set('allotment', $value); + } + + /** + * Sets the assignedTo property value. The assignedTo property + * @param DirectoryObject|null $value Value to set for the assignedTo property. + */ + public function setAssignedTo(?DirectoryObject $value): void { + $this->getBackingStore()->set('assignedTo', $value); + } + + /** + * Sets the disabledServicePlanIds property value. The list of disabled service plans for this assignment. Not nullable. + * @param array|null $value Value to set for the disabledServicePlanIds property. + */ + public function setDisabledServicePlanIds(?array $value): void { + $this->getBackingStore()->set('disabledServicePlanIds', $value); + } + +} diff --git a/src/Generated/Models/CloudLicensing/AssignmentCollectionResponse.php b/src/Generated/Models/CloudLicensing/AssignmentCollectionResponse.php new file mode 100644 index 00000000000..cd98b1739e7 --- /dev/null +++ b/src/Generated/Models/CloudLicensing/AssignmentCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Assignment::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, Assignment::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/CloudLicensing/AssignmentError.php b/src/Generated/Models/CloudLicensing/AssignmentError.php new file mode 100644 index 00000000000..f33fa9a99ed --- /dev/null +++ b/src/Generated/Models/CloudLicensing/AssignmentError.php @@ -0,0 +1,180 @@ +getBackingStore()->get('assignedTo'); + if (is_null($val) || $val instanceof DirectoryObject) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignedTo'"); + } + + /** + * Gets the code property value. The error code associated with the assignment synchronization failure. + * @return string|null + */ + public function getCode(): ?string { + $val = $this->getBackingStore()->get('code'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'code'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'assignedTo' => fn(ParseNode $n) => $o->setAssignedTo($n->getObjectValue([DirectoryObject::class, 'createFromDiscriminatorValue'])), + 'code' => fn(ParseNode $n) => $o->setCode($n->getStringValue()), + 'message' => fn(ParseNode $n) => $o->setMessage($n->getStringValue()), + 'occurrenceDateTime' => fn(ParseNode $n) => $o->setOccurrenceDateTime($n->getDateTimeValue()), + 'skuId' => fn(ParseNode $n) => $o->setSkuId($n->getStringValue()), + 'usageRight' => fn(ParseNode $n) => $o->setUsageRight($n->getObjectValue([UsageRight::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the message property value. The error message associated with the assignment synchronization failure. + * @return string|null + */ + public function getMessage(): ?string { + $val = $this->getBackingStore()->get('message'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'message'"); + } + + /** + * Gets the occurrenceDateTime property value. The date and time at which the error most recently occurred. 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. + * @return DateTime|null + */ + public function getOccurrenceDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('occurrenceDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'occurrenceDateTime'"); + } + + /** + * Gets the skuId property value. Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. + * @return string|null + */ + public function getSkuId(): ?string { + $val = $this->getBackingStore()->get('skuId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'skuId'"); + } + + /** + * Gets the usageRight property value. The affected usageRight, if one exists. Read-only. + * @return UsageRight|null + */ + public function getUsageRight(): ?UsageRight { + $val = $this->getBackingStore()->get('usageRight'); + if (is_null($val) || $val instanceof UsageRight) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'usageRight'"); + } + + /** + * 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('assignedTo', $this->getAssignedTo()); + $writer->writeStringValue('code', $this->getCode()); + $writer->writeStringValue('message', $this->getMessage()); + $writer->writeDateTimeValue('occurrenceDateTime', $this->getOccurrenceDateTime()); + $writer->writeStringValue('skuId', $this->getSkuId()); + $writer->writeObjectValue('usageRight', $this->getUsageRight()); + } + + /** + * Sets the assignedTo property value. The assignedTo property + * @param DirectoryObject|null $value Value to set for the assignedTo property. + */ + public function setAssignedTo(?DirectoryObject $value): void { + $this->getBackingStore()->set('assignedTo', $value); + } + + /** + * Sets the code property value. The error code associated with the assignment synchronization failure. + * @param string|null $value Value to set for the code property. + */ + public function setCode(?string $value): void { + $this->getBackingStore()->set('code', $value); + } + + /** + * Sets the message property value. The error message associated with the assignment synchronization failure. + * @param string|null $value Value to set for the message property. + */ + public function setMessage(?string $value): void { + $this->getBackingStore()->set('message', $value); + } + + /** + * Sets the occurrenceDateTime property value. The date and time at which the error most recently occurred. 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. + * @param DateTime|null $value Value to set for the occurrenceDateTime property. + */ + public function setOccurrenceDateTime(?DateTime $value): void { + $this->getBackingStore()->set('occurrenceDateTime', $value); + } + + /** + * Sets the skuId property value. Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. + * @param string|null $value Value to set for the skuId property. + */ + public function setSkuId(?string $value): void { + $this->getBackingStore()->set('skuId', $value); + } + + /** + * Sets the usageRight property value. The affected usageRight, if one exists. Read-only. + * @param UsageRight|null $value Value to set for the usageRight property. + */ + public function setUsageRight(?UsageRight $value): void { + $this->getBackingStore()->set('usageRight', $value); + } + +} diff --git a/src/Generated/Models/CloudLicensing/AssignmentErrorCollectionResponse.php b/src/Generated/Models/CloudLicensing/AssignmentErrorCollectionResponse.php new file mode 100644 index 00000000000..917a4e82603 --- /dev/null +++ b/src/Generated/Models/CloudLicensing/AssignmentErrorCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([AssignmentError::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, AssignmentError::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/CloudLicensing/GroupCloudLicensing.php b/src/Generated/Models/CloudLicensing/GroupCloudLicensing.php index 451396170c9..15aa89bde94 100644 --- a/src/Generated/Models/CloudLicensing/GroupCloudLicensing.php +++ b/src/Generated/Models/CloudLicensing/GroupCloudLicensing.php @@ -48,6 +48,20 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } + /** + * Gets the assignments property value. The assignments property + * @return array|null + */ + public function getAssignments(): ?array { + $val = $this->getBackingStore()->get('assignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Assignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignments'"); + } + /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -63,6 +77,7 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ + 'assignments' => fn(ParseNode $n) => $o->setAssignments($n->getCollectionOfObjectValues([Assignment::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'usageRights' => fn(ParseNode $n) => $o->setUsageRights($n->getCollectionOfObjectValues([UsageRight::class, 'createFromDiscriminatorValue'])), ]; @@ -99,6 +114,7 @@ public function getUsageRights(): ?array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('assignments', $this->getAssignments()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeCollectionOfObjectValues('usageRights', $this->getUsageRights()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -112,6 +128,14 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } + /** + * Sets the assignments property value. The assignments property + * @param array|null $value Value to set for the assignments property. + */ + public function setAssignments(?array $value): void { + $this->getBackingStore()->set('assignments', $value); + } + /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Models/CloudLicensing/Subscription.php b/src/Generated/Models/CloudLicensing/Subscription.php new file mode 100644 index 00000000000..4786d9b6215 --- /dev/null +++ b/src/Generated/Models/CloudLicensing/Subscription.php @@ -0,0 +1,225 @@ +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 Subscription + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Subscription { + return new Subscription(); + } + + /** + * 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 [ + 'nextLifecycleDate' => fn(ParseNode $n) => $o->setNextLifecycleDate($n->getDateValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getDateValue()), + 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(SubscriptionState::class)), + 'subscriptionId' => fn(ParseNode $n) => $o->setSubscriptionId($n->getStringValue()), + 'tags' => fn(ParseNode $n) => $o->setTags($n->getEnumValue(SubscriptionTags::class)), + ]; + } + + /** + * Gets the nextLifecycleDate property value. The date on which the current state transitions to the next state. + * @return Date|null + */ + public function getNextLifecycleDate(): ?Date { + $val = $this->getBackingStore()->get('nextLifecycleDate'); + if (is_null($val) || $val instanceof Date) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'nextLifecycleDate'"); + } + + /** + * 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 startDate property value. The date when the subscription started. + * @return Date|null + */ + public function getStartDate(): ?Date { + $val = $this->getBackingStore()->get('startDate'); + if (is_null($val) || $val instanceof Date) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); + } + + /** + * Gets the state property value. The state property + * @return SubscriptionState|null + */ + public function getState(): ?SubscriptionState { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || $val instanceof SubscriptionState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Gets the subscriptionId property value. Identifier for the subscription object. + * @return string|null + */ + public function getSubscriptionId(): ?string { + $val = $this->getBackingStore()->get('subscriptionId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subscriptionId'"); + } + + /** + * Gets the tags property value. The tags property + * @return SubscriptionTags|null + */ + public function getTags(): ?SubscriptionTags { + $val = $this->getBackingStore()->get('tags'); + if (is_null($val) || $val instanceof SubscriptionTags) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tags'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateValue('nextLifecycleDate', $this->getNextLifecycleDate()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeDateValue('startDate', $this->getStartDate()); + $writer->writeEnumValue('state', $this->getState()); + $writer->writeStringValue('subscriptionId', $this->getSubscriptionId()); + $writer->writeEnumValue('tags', $this->getTags()); + $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 nextLifecycleDate property value. The date on which the current state transitions to the next state. + * @param Date|null $value Value to set for the nextLifecycleDate property. + */ + public function setNextLifecycleDate(?Date $value): void { + $this->getBackingStore()->set('nextLifecycleDate', $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 startDate property value. The date when the subscription started. + * @param Date|null $value Value to set for the startDate property. + */ + public function setStartDate(?Date $value): void { + $this->getBackingStore()->set('startDate', $value); + } + + /** + * Sets the state property value. The state property + * @param SubscriptionState|null $value Value to set for the state property. + */ + public function setState(?SubscriptionState $value): void { + $this->getBackingStore()->set('state', $value); + } + + /** + * Sets the subscriptionId property value. Identifier for the subscription object. + * @param string|null $value Value to set for the subscriptionId property. + */ + public function setSubscriptionId(?string $value): void { + $this->getBackingStore()->set('subscriptionId', $value); + } + + /** + * Sets the tags property value. The tags property + * @param SubscriptionTags|null $value Value to set for the tags property. + */ + public function setTags(?SubscriptionTags $value): void { + $this->getBackingStore()->set('tags', $value); + } + +} diff --git a/src/Generated/Models/CloudLicensing/SubscriptionState.php b/src/Generated/Models/CloudLicensing/SubscriptionState.php new file mode 100644 index 00000000000..2b8bcc3d6f2 --- /dev/null +++ b/src/Generated/Models/CloudLicensing/SubscriptionState.php @@ -0,0 +1,14 @@ +|null + */ + public function getAllotments(): ?array { + $val = $this->getBackingStore()->get('allotments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Allotment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allotments'"); + } + + /** + * Gets the assignments property value. The set of assignments that combine to form this usageRight, including both direct assignments and assignments inherited through group membership. + * @return array|null + */ + public function getAssignments(): ?array { + $val = $this->getBackingStore()->get('assignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Assignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignments'"); + } + /** * The deserialization information for the current model * @return array @@ -33,6 +61,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Usage public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'allotments' => fn(ParseNode $n) => $o->setAllotments($n->getCollectionOfObjectValues([Allotment::class, 'createFromDiscriminatorValue'])), + 'assignments' => fn(ParseNode $n) => $o->setAssignments($n->getCollectionOfObjectValues([Assignment::class, 'createFromDiscriminatorValue'])), 'services' => fn(ParseNode $n) => $o->setServices($n->getCollectionOfObjectValues([Service::class, 'createFromDiscriminatorValue'])), 'skuId' => fn(ParseNode $n) => $o->setSkuId($n->getStringValue()), 'skuPartNumber' => fn(ParseNode $n) => $o->setSkuPartNumber($n->getStringValue()), @@ -83,11 +113,29 @@ public function getSkuPartNumber(): ?string { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeCollectionOfObjectValues('allotments', $this->getAllotments()); + $writer->writeCollectionOfObjectValues('assignments', $this->getAssignments()); $writer->writeCollectionOfObjectValues('services', $this->getServices()); $writer->writeStringValue('skuId', $this->getSkuId()); $writer->writeStringValue('skuPartNumber', $this->getSkuPartNumber()); } + /** + * Sets the allotments property value. The set of allotments associated with the assignments that combine to form this usageRight. + * @param array|null $value Value to set for the allotments property. + */ + public function setAllotments(?array $value): void { + $this->getBackingStore()->set('allotments', $value); + } + + /** + * Sets the assignments property value. The set of assignments that combine to form this usageRight, including both direct assignments and assignments inherited through group membership. + * @param array|null $value Value to set for the assignments property. + */ + public function setAssignments(?array $value): void { + $this->getBackingStore()->set('assignments', $value); + } + /** * Sets the services property value. Information about the services associated with the usageRight. Not nullable. Read-only. Supports $filter on the planId property. * @param array|null $value Value to set for the services property. diff --git a/src/Generated/Models/CloudLicensing/UserCloudLicensing.php b/src/Generated/Models/CloudLicensing/UserCloudLicensing.php index f134cafe359..d7cf0d1a5cb 100644 --- a/src/Generated/Models/CloudLicensing/UserCloudLicensing.php +++ b/src/Generated/Models/CloudLicensing/UserCloudLicensing.php @@ -48,6 +48,34 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } + /** + * Gets the assignmentErrors property value. The assignmentErrors property + * @return array|null + */ + public function getAssignmentErrors(): ?array { + $val = $this->getBackingStore()->get('assignmentErrors'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AssignmentError::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignmentErrors'"); + } + + /** + * Gets the assignments property value. The assignments property + * @return array|null + */ + public function getAssignments(): ?array { + $val = $this->getBackingStore()->get('assignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Assignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignments'"); + } + /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -63,8 +91,11 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ + 'assignmentErrors' => fn(ParseNode $n) => $o->setAssignmentErrors($n->getCollectionOfObjectValues([AssignmentError::class, 'createFromDiscriminatorValue'])), + 'assignments' => fn(ParseNode $n) => $o->setAssignments($n->getCollectionOfObjectValues([Assignment::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'usageRights' => fn(ParseNode $n) => $o->setUsageRights($n->getCollectionOfObjectValues([UsageRight::class, 'createFromDiscriminatorValue'])), + 'waitingMembers' => fn(ParseNode $n) => $o->setWaitingMembers($n->getCollectionOfObjectValues([WaitingMember::class, 'createFromDiscriminatorValue'])), ]; } @@ -94,13 +125,30 @@ public function getUsageRights(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'usageRights'"); } + /** + * Gets the waitingMembers property value. The waitingMembers property + * @return array|null + */ + public function getWaitingMembers(): ?array { + $val = $this->getBackingStore()->get('waitingMembers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WaitingMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'waitingMembers'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('assignmentErrors', $this->getAssignmentErrors()); + $writer->writeCollectionOfObjectValues('assignments', $this->getAssignments()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeCollectionOfObjectValues('usageRights', $this->getUsageRights()); + $writer->writeCollectionOfObjectValues('waitingMembers', $this->getWaitingMembers()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -112,6 +160,22 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } + /** + * Sets the assignmentErrors property value. The assignmentErrors property + * @param array|null $value Value to set for the assignmentErrors property. + */ + public function setAssignmentErrors(?array $value): void { + $this->getBackingStore()->set('assignmentErrors', $value); + } + + /** + * Sets the assignments property value. The assignments property + * @param array|null $value Value to set for the assignments property. + */ + public function setAssignments(?array $value): void { + $this->getBackingStore()->set('assignments', $value); + } + /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -136,4 +200,12 @@ public function setUsageRights(?array $value): void { $this->getBackingStore()->set('usageRights', $value); } + /** + * Sets the waitingMembers property value. The waitingMembers property + * @param array|null $value Value to set for the waitingMembers property. + */ + public function setWaitingMembers(?array $value): void { + $this->getBackingStore()->set('waitingMembers', $value); + } + } diff --git a/src/Generated/Models/CloudLicensing/WaitingMember.php b/src/Generated/Models/CloudLicensing/WaitingMember.php new file mode 100644 index 00000000000..6178a15a190 --- /dev/null +++ b/src/Generated/Models/CloudLicensing/WaitingMember.php @@ -0,0 +1,114 @@ +getBackingStore()->get('allotment'); + if (is_null($val) || $val instanceof Allotment) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allotment'"); + } + + /** + * Gets the assignedTo property value. The assignedTo property + * @return DirectoryObject|null + */ + public function getAssignedTo(): ?DirectoryObject { + $val = $this->getBackingStore()->get('assignedTo'); + if (is_null($val) || $val instanceof DirectoryObject) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignedTo'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'allotment' => fn(ParseNode $n) => $o->setAllotment($n->getObjectValue([Allotment::class, 'createFromDiscriminatorValue'])), + 'assignedTo' => fn(ParseNode $n) => $o->setAssignedTo($n->getObjectValue([DirectoryObject::class, 'createFromDiscriminatorValue'])), + 'waitingSinceDateTime' => fn(ParseNode $n) => $o->setWaitingSinceDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the waitingSinceDateTime property value. Indicates the moment when the user or device first waited for this license. 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. + * @return DateTime|null + */ + public function getWaitingSinceDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('waitingSinceDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'waitingSinceDateTime'"); + } + + /** + * 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('allotment', $this->getAllotment()); + $writer->writeObjectValue('assignedTo', $this->getAssignedTo()); + $writer->writeDateTimeValue('waitingSinceDateTime', $this->getWaitingSinceDateTime()); + } + + /** + * Sets the allotment property value. The allotment property + * @param Allotment|null $value Value to set for the allotment property. + */ + public function setAllotment(?Allotment $value): void { + $this->getBackingStore()->set('allotment', $value); + } + + /** + * Sets the assignedTo property value. The assignedTo property + * @param DirectoryObject|null $value Value to set for the assignedTo property. + */ + public function setAssignedTo(?DirectoryObject $value): void { + $this->getBackingStore()->set('assignedTo', $value); + } + + /** + * Sets the waitingSinceDateTime property value. Indicates the moment when the user or device first waited for this license. 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. + * @param DateTime|null $value Value to set for the waitingSinceDateTime property. + */ + public function setWaitingSinceDateTime(?DateTime $value): void { + $this->getBackingStore()->set('waitingSinceDateTime', $value); + } + +} diff --git a/src/Generated/Models/CloudLicensing/WaitingMemberCollectionResponse.php b/src/Generated/Models/CloudLicensing/WaitingMemberCollectionResponse.php new file mode 100644 index 00000000000..0b9aead9ade --- /dev/null +++ b/src/Generated/Models/CloudLicensing/WaitingMemberCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WaitingMember::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, WaitingMember::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/CloudPcDeviceImageErrorCode.php b/src/Generated/Models/CloudPcDeviceImageErrorCode.php index 9fa1a5a6c3a..75d3afd43d6 100644 --- a/src/Generated/Models/CloudPcDeviceImageErrorCode.php +++ b/src/Generated/Models/CloudPcDeviceImageErrorCode.php @@ -18,4 +18,6 @@ class CloudPcDeviceImageErrorCode extends Enum { public const SOURCE_IMAGE_WITH_DATA_DISK_NOT_SUPPORTED = "sourceImageWithDataDiskNotSupported"; public const SOURCE_IMAGE_WITH_DISK_ENCRYPTION_SET_NOT_SUPPORTED = "sourceImageWithDiskEncryptionSetNotSupported"; public const SOURCE_IMAGE_WITH_AZURE_DISK_ENCRYPTION_NOT_SUPPORTED = "sourceImageWithAzureDiskEncryptionNotSupported"; + public const F_S_LOGIX_INSTALLED_SOURCE_IMAGE_NOT_SUPPORTED = "fSLogixInstalledSourceImageNotSupported"; + public const START_MENU_APP_LIMIT_EXCEEDED = "startMenuAppLimitExceeded"; } diff --git a/src/Generated/Models/CloudPcDomainJoinConfiguration.php b/src/Generated/Models/CloudPcDomainJoinConfiguration.php index b4359a342f6..1dfb9052877 100644 --- a/src/Generated/Models/CloudPcDomainJoinConfiguration.php +++ b/src/Generated/Models/CloudPcDomainJoinConfiguration.php @@ -85,7 +85,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the geographicLocationType property value. The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. + * Gets the geographicLocationType property value. The geographic location where the region is located. Read-only. * @return CloudPcGeographicLocationType|null */ public function getGeographicLocationType(): ?CloudPcGeographicLocationType { @@ -121,7 +121,7 @@ public function getOnPremisesConnectionId(): ?string { } /** - * Gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. The possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Read-only. + * Gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. * @return CloudPcRegionGroup|null */ public function getRegionGroup(): ?CloudPcRegionGroup { @@ -196,7 +196,7 @@ public function setDomainJoinType(?CloudPcDomainJoinType $value): void { } /** - * Sets the geographicLocationType property value. The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. + * Sets the geographicLocationType property value. The geographic location where the region is located. Read-only. * @param CloudPcGeographicLocationType|null $value Value to set for the geographicLocationType property. */ public function setGeographicLocationType(?CloudPcGeographicLocationType $value): void { @@ -220,7 +220,7 @@ public function setOnPremisesConnectionId(?string $value): void { } /** - * Sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. The possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Read-only. + * Sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. * @param CloudPcRegionGroup|null $value Value to set for the regionGroup property. */ public function setRegionGroup(?CloudPcRegionGroup $value): void { diff --git a/src/Generated/Models/CloudPcExportJob.php b/src/Generated/Models/CloudPcExportJob.php index e5aa32e6266..801454d42c7 100644 --- a/src/Generated/Models/CloudPcExportJob.php +++ b/src/Generated/Models/CloudPcExportJob.php @@ -112,7 +112,7 @@ public function getFormat(): ?string { } /** - * Gets the reportName property value. The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport,, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. + * Gets the reportName property value. The report name. * @return CloudPcReportName|null */ public function getReportName(): ?CloudPcReportName { @@ -206,7 +206,7 @@ public function setFormat(?string $value): void { } /** - * Sets the reportName property value. The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport,, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. + * Sets the reportName property value. The report name. * @param CloudPcReportName|null $value Value to set for the reportName property. */ public function setReportName(?CloudPcReportName $value): void { diff --git a/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php b/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php index 4628f24c140..147965e94bd 100644 --- a/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php +++ b/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php @@ -117,7 +117,7 @@ public function getEndDateTime(): ?DateTime { } /** - * Gets the errorType property value. The type of error that occurred during this health check. For the list of possible values, see cloudPcOnPremisesConnectionHealthCheckErrorType. + * Gets the errorType property value. The type of error that occurred during this health check. * @return CloudPcOnPremisesConnectionHealthCheckErrorType|null */ public function getErrorType(): ?CloudPcOnPremisesConnectionHealthCheckErrorType { @@ -271,7 +271,7 @@ public function setEndDateTime(?DateTime $value): void { } /** - * Sets the errorType property value. The type of error that occurred during this health check. For the list of possible values, see cloudPcOnPremisesConnectionHealthCheckErrorType. + * Sets the errorType property value. The type of error that occurred during this health check. * @param CloudPcOnPremisesConnectionHealthCheckErrorType|null $value Value to set for the errorType property. */ public function setErrorType(?CloudPcOnPremisesConnectionHealthCheckErrorType $value): void { diff --git a/src/Generated/Models/CloudPcReportName.php b/src/Generated/Models/CloudPcReportName.php index c959caf518c..8b205eae5f9 100644 --- a/src/Generated/Models/CloudPcReportName.php +++ b/src/Generated/Models/CloudPcReportName.php @@ -33,4 +33,5 @@ class CloudPcReportName extends Enum { public const CLOUD_PC_INSIGHT_REPORT = "cloudPcInsightReport"; public const REGIONAL_INACCESSIBLE_CLOUD_PC_TREND_REPORT = "regionalInaccessibleCloudPcTrendReport"; public const CLOUD_PC_USAGE_CATEGORY_REPORT = "cloudPcUsageCategoryReport"; + public const CLOUD_P_C_INVENTORY_REPORT = "cloudPCInventoryReport"; } diff --git a/src/Generated/Models/CloudPcSourceDeviceImage.php b/src/Generated/Models/CloudPcSourceDeviceImage.php index 940a2243d17..6f9a024ce0f 100644 --- a/src/Generated/Models/CloudPcSourceDeviceImage.php +++ b/src/Generated/Models/CloudPcSourceDeviceImage.php @@ -55,6 +55,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the category property value. The category property + * @return CloudPcSourceImageCategory|null + */ + public function getCategory(): ?CloudPcSourceImageCategory { + $val = $this->getBackingStore()->get('category'); + if (is_null($val) || $val instanceof CloudPcSourceImageCategory) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'category'"); + } + /** * Gets the displayName property value. The display name for the source image. Read-only. * @return string|null @@ -74,6 +86,7 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return [ + 'category' => fn(ParseNode $n) => $o->setCategory($n->getEnumValue(CloudPcSourceImageCategory::class)), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'id' => fn(ParseNode $n) => $o->setId($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), @@ -148,6 +161,7 @@ public function getSubscriptionId(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('category', $this->getCategory()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('id', $this->getId()); $writer->writeStringValue('@odata.type', $this->getOdataType()); @@ -173,6 +187,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the category property value. The category property + * @param CloudPcSourceImageCategory|null $value Value to set for the category property. + */ + public function setCategory(?CloudPcSourceImageCategory $value): void { + $this->getBackingStore()->set('category', $value); + } + /** * Sets the displayName property value. The display name for the source image. Read-only. * @param string|null $value Value to set for the displayName property. diff --git a/src/Generated/Models/MonitorRunType.php b/src/Generated/Models/CloudPcSourceImageCategory.php similarity index 50% rename from src/Generated/Models/MonitorRunType.php rename to src/Generated/Models/CloudPcSourceImageCategory.php index 1019fd7c0aa..99a69c31376 100644 --- a/src/Generated/Models/MonitorRunType.php +++ b/src/Generated/Models/CloudPcSourceImageCategory.php @@ -4,8 +4,8 @@ use Microsoft\Kiota\Abstractions\Enum; -class MonitorRunType extends Enum { - public const MONITOR = "monitor"; - public const APPLY = "apply"; +class CloudPcSourceImageCategory extends Enum { + public const MANAGED_IMAGE = "managedImage"; + public const AZURE_COMPUTE_GALLERY = "azureComputeGallery"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/CloudPcStatus.php b/src/Generated/Models/CloudPcStatus.php index 5c486d551ef..7a2efeae881 100644 --- a/src/Generated/Models/CloudPcStatus.php +++ b/src/Generated/Models/CloudPcStatus.php @@ -20,5 +20,6 @@ class CloudPcStatus extends Enum { public const RESIZE_PENDING_LICENSE = "resizePendingLicense"; public const UPDATING_SINGLE_SIGN_ON = "updatingSingleSignOn"; public const MODIFYING_SINGLE_SIGN_ON = "modifyingSingleSignOn"; + public const REFRESH_POLICY_CONFIGURATION = "refreshPolicyConfiguration"; public const PREPARING = "preparing"; } diff --git a/src/Generated/Models/CloudPcSupportedRegion.php b/src/Generated/Models/CloudPcSupportedRegion.php index aba2b12bedb..aaa18c12d8d 100644 --- a/src/Generated/Models/CloudPcSupportedRegion.php +++ b/src/Generated/Models/CloudPcSupportedRegion.php @@ -53,7 +53,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the geographicLocationType property value. The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. + * Gets the geographicLocationType property value. The geographic location where the region is located. Read-only. * @return CloudPcGeographicLocationType|null */ public function getGeographicLocationType(): ?CloudPcGeographicLocationType { @@ -135,7 +135,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the geographicLocationType property value. The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. + * Sets the geographicLocationType property value. The geographic location where the region is located. Read-only. * @param CloudPcGeographicLocationType|null $value Value to set for the geographicLocationType property. */ public function setGeographicLocationType(?CloudPcGeographicLocationType $value): void { diff --git a/src/Generated/Models/ConditionalAccessGrantControls.php b/src/Generated/Models/ConditionalAccessGrantControls.php index 8792f9b3022..a3110512440 100644 --- a/src/Generated/Models/ConditionalAccessGrantControls.php +++ b/src/Generated/Models/ConditionalAccessGrantControls.php @@ -69,7 +69,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + * Gets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue, riskRemediation. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: riskRemediation. * @return array|null */ public function getBuiltInControls(): ?array { @@ -83,7 +83,7 @@ public function getBuiltInControls(): ?array { } /** - * Gets the customAuthenticationFactors property value. List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). + * Gets the customAuthenticationFactors property value. List of custom controls IDs required by the policy. For more information, see Custom controls. * @return array|null */ public function getCustomAuthenticationFactors(): ?array { @@ -203,7 +203,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + * Sets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue, riskRemediation. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: riskRemediation. * @param array|null $value Value to set for the builtInControls property. */ public function setBuiltInControls(?array $value): void { @@ -211,7 +211,7 @@ public function setBuiltInControls(?array $value): void { } /** - * Sets the customAuthenticationFactors property value. List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). + * Sets the customAuthenticationFactors property value. List of custom controls IDs required by the policy. For more information, see Custom controls. * @param array|null $value Value to set for the customAuthenticationFactors property. */ public function setCustomAuthenticationFactors(?array $value): void { diff --git a/src/Generated/Models/ConfigurationApplication.php b/src/Generated/Models/ConfigurationApplication.php deleted file mode 100644 index d3bf46ffb0f..00000000000 --- a/src/Generated/Models/ConfigurationApplication.php +++ /dev/null @@ -1,263 +0,0 @@ -getBackingStore()->get('appId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'appId'"); - } - - /** - * Gets the appOwnerOrganizationId property value. The appOwnerOrganizationId property - * @return string|null - */ - public function getAppOwnerOrganizationId(): ?string { - $val = $this->getBackingStore()->get('appOwnerOrganizationId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'appOwnerOrganizationId'"); - } - - /** - * Gets the clientCredentials property value. The clientCredentials property - * @return ClientCredentials|null - */ - public function getClientCredentials(): ?ClientCredentials { - $val = $this->getBackingStore()->get('clientCredentials'); - if (is_null($val) || $val instanceof ClientCredentials) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'clientCredentials'"); - } - - /** - * Gets the createdBy property value. The createdBy property - * @return IdentitySet|null - */ - public function getCreatedBy(): ?IdentitySet { - $val = $this->getBackingStore()->get('createdBy'); - if (is_null($val) || $val instanceof IdentitySet) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'createdBy'"); - } - - /** - * Gets the createdDateTime property value. The createdDateTime property - * @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'"); - } - - /** - * Gets the description property value. The description property - * @return string|null - */ - public function getDescription(): ?string { - $val = $this->getBackingStore()->get('description'); - if (is_null($val) || is_string($val)) { - 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'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'appId' => fn(ParseNode $n) => $o->setAppId($n->getStringValue()), - 'appOwnerOrganizationId' => fn(ParseNode $n) => $o->setAppOwnerOrganizationId($n->getStringValue()), - 'clientCredentials' => fn(ParseNode $n) => $o->setClientCredentials($n->getObjectValue([ClientCredentials::class, 'createFromDiscriminatorValue'])), - 'createdBy' => fn(ParseNode $n) => $o->setCreatedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), - 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), - 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), - 'lastModifiedBy' => fn(ParseNode $n) => $o->setLastModifiedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), - 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), - 'tenantId' => fn(ParseNode $n) => $o->setTenantId($n->getStringValue()), - ]); - } - - /** - * Gets the lastModifiedBy property value. The lastModifiedBy property - * @return IdentitySet|null - */ - public function getLastModifiedBy(): ?IdentitySet { - $val = $this->getBackingStore()->get('lastModifiedBy'); - if (is_null($val) || $val instanceof IdentitySet) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedBy'"); - } - - /** - * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property - * @return DateTime|null - */ - public function getLastModifiedDateTime(): ?DateTime { - $val = $this->getBackingStore()->get('lastModifiedDateTime'); - if (is_null($val) || $val instanceof DateTime) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedDateTime'"); - } - - /** - * Gets the tenantId property value. The tenantId property - * @return string|null - */ - public function getTenantId(): ?string { - $val = $this->getBackingStore()->get('tenantId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'tenantId'"); - } - - /** - * 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('appId', $this->getAppId()); - $writer->writeStringValue('appOwnerOrganizationId', $this->getAppOwnerOrganizationId()); - $writer->writeObjectValue('clientCredentials', $this->getClientCredentials()); - $writer->writeObjectValue('createdBy', $this->getCreatedBy()); - $writer->writeStringValue('description', $this->getDescription()); - $writer->writeStringValue('displayName', $this->getDisplayName()); - $writer->writeObjectValue('lastModifiedBy', $this->getLastModifiedBy()); - } - - /** - * Sets the appId property value. The appId property - * @param string|null $value Value to set for the appId property. - */ - public function setAppId(?string $value): void { - $this->getBackingStore()->set('appId', $value); - } - - /** - * Sets the appOwnerOrganizationId property value. The appOwnerOrganizationId property - * @param string|null $value Value to set for the appOwnerOrganizationId property. - */ - public function setAppOwnerOrganizationId(?string $value): void { - $this->getBackingStore()->set('appOwnerOrganizationId', $value); - } - - /** - * Sets the clientCredentials property value. The clientCredentials property - * @param ClientCredentials|null $value Value to set for the clientCredentials property. - */ - public function setClientCredentials(?ClientCredentials $value): void { - $this->getBackingStore()->set('clientCredentials', $value); - } - - /** - * Sets the createdBy property value. The createdBy property - * @param IdentitySet|null $value Value to set for the createdBy property. - */ - public function setCreatedBy(?IdentitySet $value): void { - $this->getBackingStore()->set('createdBy', $value); - } - - /** - * Sets the createdDateTime property value. The createdDateTime property - * @param DateTime|null $value Value to set for the createdDateTime property. - */ - public function setCreatedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('createdDateTime', $value); - } - - /** - * Sets the description property value. The description property - * @param string|null $value Value to set for the description property. - */ - public function setDescription(?string $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 lastModifiedBy property value. The lastModifiedBy property - * @param IdentitySet|null $value Value to set for the lastModifiedBy property. - */ - public function setLastModifiedBy(?IdentitySet $value): void { - $this->getBackingStore()->set('lastModifiedBy', $value); - } - - /** - * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property - * @param DateTime|null $value Value to set for the lastModifiedDateTime property. - */ - public function setLastModifiedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('lastModifiedDateTime', $value); - } - - /** - * Sets the tenantId property value. The tenantId property - * @param string|null $value Value to set for the tenantId property. - */ - public function setTenantId(?string $value): void { - $this->getBackingStore()->set('tenantId', $value); - } - -} diff --git a/src/Generated/Models/ConfigurationBaseline.php b/src/Generated/Models/ConfigurationBaseline.php index a68c5062a94..cbb0bb40f32 100644 --- a/src/Generated/Models/ConfigurationBaseline.php +++ b/src/Generated/Models/ConfigurationBaseline.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Confi } /** - * Gets the description property value. The description property + * Gets the description property value. User-friendly description of the baseline given by the user. * @return string|null */ public function getDescription(): ?string { @@ -38,7 +38,7 @@ public function getDescription(): ?string { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. User-friendly name given by the user to the baseline. * @return string|null */ public function getDisplayName(): ?string { @@ -64,7 +64,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the parameters property value. The parameters property + * Gets the parameters property value. Collection of parameters attached to the baseline. * @return array|null */ public function getParameters(): ?array { @@ -78,7 +78,7 @@ public function getParameters(): ?array { } /** - * Gets the resources property value. The resources property + * Gets the resources property value. Collection of resources and their properties that are added to the baseline. At least one property of one resource must be present in the baseline. * @return array|null */ public function getResources(): ?array { @@ -104,7 +104,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the description property value. The description property + * Sets the description property value. User-friendly description of the baseline given by the user. * @param string|null $value Value to set for the description property. */ public function setDescription(?string $value): void { @@ -112,7 +112,7 @@ public function setDescription(?string $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. User-friendly name given by the user to the baseline. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -120,7 +120,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the parameters property value. The parameters property + * Sets the parameters property value. Collection of parameters attached to the baseline. * @param array|null $value Value to set for the parameters property. */ public function setParameters(?array $value): void { @@ -128,7 +128,7 @@ public function setParameters(?array $value): void { } /** - * Sets the resources property value. The resources property + * Sets the resources property value. Collection of resources and their properties that are added to the baseline. At least one property of one resource must be present in the baseline. * @param array|null $value Value to set for the resources property. */ public function setResources(?array $value): void { diff --git a/src/Generated/Models/ConfigurationDrift.php b/src/Generated/Models/ConfigurationDrift.php index 07033b2293a..b90ba9d78f9 100644 --- a/src/Generated/Models/ConfigurationDrift.php +++ b/src/Generated/Models/ConfigurationDrift.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Confi } /** - * Gets the baselineResourceDisplayName property value. The baselineResourceDisplayName property + * Gets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. * @return string|null */ public function getBaselineResourceDisplayName(): ?string { @@ -39,7 +39,7 @@ public function getBaselineResourceDisplayName(): ?string { } /** - * Gets the driftedProperties property value. The driftedProperties property + * Gets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. * @return array|null */ public function getDriftedProperties(): ?array { @@ -71,7 +71,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the firstReportedDateTime property value. The firstReportedDateTime property + * Gets the firstReportedDateTime property value. The date and time at which drift is first detected. 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. * @return DateTime|null */ public function getFirstReportedDateTime(): ?DateTime { @@ -83,7 +83,7 @@ public function getFirstReportedDateTime(): ?DateTime { } /** - * Gets the monitorId property value. The monitorId property + * Gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. * @return string|null */ public function getMonitorId(): ?string { @@ -107,7 +107,7 @@ public function getResourceInstanceIdentifier(): ?OpenComplexDictionaryType { } /** - * Gets the resourceType property value. The resourceType property + * Gets the resourceType property value. Resource for which the drift is detected. * @return string|null */ public function getResourceType(): ?string { @@ -131,7 +131,7 @@ public function getStatus(): ?DriftStatus { } /** - * Gets the tenantId property value. The tenantId property + * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. * @return string|null */ public function getTenantId(): ?string { @@ -153,7 +153,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the baselineResourceDisplayName property value. The baselineResourceDisplayName property + * Sets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. * @param string|null $value Value to set for the baselineResourceDisplayName property. */ public function setBaselineResourceDisplayName(?string $value): void { @@ -161,7 +161,7 @@ public function setBaselineResourceDisplayName(?string $value): void { } /** - * Sets the driftedProperties property value. The driftedProperties property + * Sets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. * @param array|null $value Value to set for the driftedProperties property. */ public function setDriftedProperties(?array $value): void { @@ -169,7 +169,7 @@ public function setDriftedProperties(?array $value): void { } /** - * Sets the firstReportedDateTime property value. The firstReportedDateTime property + * Sets the firstReportedDateTime property value. The date and time at which drift is first detected. 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. * @param DateTime|null $value Value to set for the firstReportedDateTime property. */ public function setFirstReportedDateTime(?DateTime $value): void { @@ -177,7 +177,7 @@ public function setFirstReportedDateTime(?DateTime $value): void { } /** - * Sets the monitorId property value. The monitorId property + * Sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. * @param string|null $value Value to set for the monitorId property. */ public function setMonitorId(?string $value): void { @@ -193,7 +193,7 @@ public function setResourceInstanceIdentifier(?OpenComplexDictionaryType $value) } /** - * Sets the resourceType property value. The resourceType property + * Sets the resourceType property value. Resource for which the drift is detected. * @param string|null $value Value to set for the resourceType property. */ public function setResourceType(?string $value): void { @@ -209,7 +209,7 @@ public function setStatus(?DriftStatus $value): void { } /** - * Sets the tenantId property value. The tenantId property + * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. * @param string|null $value Value to set for the tenantId property. */ public function setTenantId(?string $value): void { diff --git a/src/Generated/Models/ConfigurationManagement.php b/src/Generated/Models/ConfigurationManagement.php index 486eb5302af..b539a781f6e 100644 --- a/src/Generated/Models/ConfigurationManagement.php +++ b/src/Generated/Models/ConfigurationManagement.php @@ -26,21 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Confi } /** - * Gets the configurationApplications property value. The configurationApplications property - * @return array|null - */ - public function getConfigurationApplications(): ?array { - $val = $this->getBackingStore()->get('configurationApplications'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConfigurationApplication::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'configurationApplications'"); - } - - /** - * Gets the configurationDrifts property value. The configurationDrifts property + * Gets the configurationDrifts property value. A container for configuration drift resources. * @return array|null */ public function getConfigurationDrifts(): ?array { @@ -54,7 +40,7 @@ public function getConfigurationDrifts(): ?array { } /** - * Gets the configurationMonitoringResults property value. The configurationMonitoringResults property + * Gets the configurationMonitoringResults property value. A container for configuration monitoring results resources. * @return array|null */ public function getConfigurationMonitoringResults(): ?array { @@ -68,7 +54,7 @@ public function getConfigurationMonitoringResults(): ?array { } /** - * Gets the configurationMonitors property value. The configurationMonitors property + * Gets the configurationMonitors property value. A container for configuration monitor resources. * @return array|null */ public function getConfigurationMonitors(): ?array { @@ -82,7 +68,7 @@ public function getConfigurationMonitors(): ?array { } /** - * Gets the configurationSnapshotJobs property value. The configurationSnapshotJobs property + * Gets the configurationSnapshotJobs property value. A container for snapshot job resources. * @return array|null */ public function getConfigurationSnapshotJobs(): ?array { @@ -96,7 +82,7 @@ public function getConfigurationSnapshotJobs(): ?array { } /** - * Gets the configurationSnapshots property value. The configurationSnapshots property + * Gets the configurationSnapshots property value. A container for configuration snapshot baselines. * @return array|null */ public function getConfigurationSnapshots(): ?array { @@ -116,7 +102,6 @@ public function getConfigurationSnapshots(): ?array { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'configurationApplications' => fn(ParseNode $n) => $o->setConfigurationApplications($n->getCollectionOfObjectValues([ConfigurationApplication::class, 'createFromDiscriminatorValue'])), 'configurationDrifts' => fn(ParseNode $n) => $o->setConfigurationDrifts($n->getCollectionOfObjectValues([ConfigurationDrift::class, 'createFromDiscriminatorValue'])), 'configurationMonitoringResults' => fn(ParseNode $n) => $o->setConfigurationMonitoringResults($n->getCollectionOfObjectValues([ConfigurationMonitoringResult::class, 'createFromDiscriminatorValue'])), 'configurationMonitors' => fn(ParseNode $n) => $o->setConfigurationMonitors($n->getCollectionOfObjectValues([ConfigurationMonitor::class, 'createFromDiscriminatorValue'])), @@ -131,7 +116,6 @@ public function getFieldDeserializers(): array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeCollectionOfObjectValues('configurationApplications', $this->getConfigurationApplications()); $writer->writeCollectionOfObjectValues('configurationDrifts', $this->getConfigurationDrifts()); $writer->writeCollectionOfObjectValues('configurationMonitoringResults', $this->getConfigurationMonitoringResults()); $writer->writeCollectionOfObjectValues('configurationMonitors', $this->getConfigurationMonitors()); @@ -140,15 +124,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the configurationApplications property value. The configurationApplications property - * @param array|null $value Value to set for the configurationApplications property. - */ - public function setConfigurationApplications(?array $value): void { - $this->getBackingStore()->set('configurationApplications', $value); - } - - /** - * Sets the configurationDrifts property value. The configurationDrifts property + * Sets the configurationDrifts property value. A container for configuration drift resources. * @param array|null $value Value to set for the configurationDrifts property. */ public function setConfigurationDrifts(?array $value): void { @@ -156,7 +132,7 @@ public function setConfigurationDrifts(?array $value): void { } /** - * Sets the configurationMonitoringResults property value. The configurationMonitoringResults property + * Sets the configurationMonitoringResults property value. A container for configuration monitoring results resources. * @param array|null $value Value to set for the configurationMonitoringResults property. */ public function setConfigurationMonitoringResults(?array $value): void { @@ -164,7 +140,7 @@ public function setConfigurationMonitoringResults(?array $value): void { } /** - * Sets the configurationMonitors property value. The configurationMonitors property + * Sets the configurationMonitors property value. A container for configuration monitor resources. * @param array|null $value Value to set for the configurationMonitors property. */ public function setConfigurationMonitors(?array $value): void { @@ -172,7 +148,7 @@ public function setConfigurationMonitors(?array $value): void { } /** - * Sets the configurationSnapshotJobs property value. The configurationSnapshotJobs property + * Sets the configurationSnapshotJobs property value. A container for snapshot job resources. * @param array|null $value Value to set for the configurationSnapshotJobs property. */ public function setConfigurationSnapshotJobs(?array $value): void { @@ -180,7 +156,7 @@ public function setConfigurationSnapshotJobs(?array $value): void { } /** - * Sets the configurationSnapshots property value. The configurationSnapshots property + * Sets the configurationSnapshots property value. A container for configuration snapshot baselines. * @param array|null $value Value to set for the configurationSnapshots property. */ public function setConfigurationSnapshots(?array $value): void { diff --git a/src/Generated/Models/ConfigurationMonitor.php b/src/Generated/Models/ConfigurationMonitor.php index ac9308e9f6b..a4672515064 100644 --- a/src/Generated/Models/ConfigurationMonitor.php +++ b/src/Generated/Models/ConfigurationMonitor.php @@ -50,7 +50,7 @@ public function getCreatedBy(): ?IdentitySet { } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. The date and time when the monitor 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. * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -62,7 +62,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the description property value. The description property + * Gets the description property value. User-friendly description of the monitor given by the user. * @return string|null */ public function getDescription(): ?string { @@ -74,7 +74,7 @@ public function getDescription(): ?string { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. User-friendly name given by the user to the monitor. * @return string|null */ public function getDisplayName(): ?string { @@ -103,15 +103,13 @@ public function getFieldDeserializers(): array { 'mode' => fn(ParseNode $n) => $o->setMode($n->getEnumValue(MonitorMode::class)), 'monitorRunFrequencyInHours' => fn(ParseNode $n) => $o->setMonitorRunFrequencyInHours($n->getIntegerValue()), 'parameters' => fn(ParseNode $n) => $o->setParameters($n->getObjectValue([OpenComplexDictionaryType::class, 'createFromDiscriminatorValue'])), - 'runAsUTCMServicePrincipal' => fn(ParseNode $n) => $o->setRunAsUTCMServicePrincipal($n->getBooleanValue()), - 'runningOnBehalfOf' => fn(ParseNode $n) => $o->setRunningOnBehalfOf($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(MonitorStatus::class)), 'tenantId' => fn(ParseNode $n) => $o->setTenantId($n->getStringValue()), ]); } /** - * Gets the inactivationReason property value. The inactivationReason property + * Gets the inactivationReason property value. The reason for the monitor's inactivation. * @return string|null */ public function getInactivationReason(): ?string { @@ -135,7 +133,7 @@ public function getLastModifiedBy(): ?IdentitySet { } /** - * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Gets the lastModifiedDateTime property value. The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. 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. * @return DateTime|null */ public function getLastModifiedDateTime(): ?DateTime { @@ -159,7 +157,7 @@ public function getMode(): ?MonitorMode { } /** - * Gets the monitorRunFrequencyInHours property value. The monitorRunFrequencyInHours property + * Gets the monitorRunFrequencyInHours property value. Frequency at which the monitor runs. The default frequency is six hours. Regardless of when you create or update a monitor, it gets triggered within the next 6 hours. Currently, monitors are picked up at fixed times: 6 AM, 12 PM, 6 PM, and 12 AM (all in GMT). For example, if you create a monitor at 9 AM, it gets triggered around 12 PM. If you update a monitor at 4 PM, it gets triggered around 6 PM. * @return int|null */ public function getMonitorRunFrequencyInHours(): ?int { @@ -171,7 +169,7 @@ public function getMonitorRunFrequencyInHours(): ?int { } /** - * Gets the parameters property value. The parameters property + * Gets the parameters property value. Key-value pairs that contain parameter values which might be used in the baseline. * @return OpenComplexDictionaryType|null */ public function getParameters(): ?OpenComplexDictionaryType { @@ -182,30 +180,6 @@ public function getParameters(): ?OpenComplexDictionaryType { throw new \UnexpectedValueException("Invalid type found in backing store for 'parameters'"); } - /** - * Gets the runAsUTCMServicePrincipal property value. The runAsUTCMServicePrincipal property - * @return bool|null - */ - public function getRunAsUTCMServicePrincipal(): ?bool { - $val = $this->getBackingStore()->get('runAsUTCMServicePrincipal'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'runAsUTCMServicePrincipal'"); - } - - /** - * Gets the runningOnBehalfOf property value. The runningOnBehalfOf property - * @return IdentitySet|null - */ - public function getRunningOnBehalfOf(): ?IdentitySet { - $val = $this->getBackingStore()->get('runningOnBehalfOf'); - if (is_null($val) || $val instanceof IdentitySet) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'runningOnBehalfOf'"); - } - /** * Gets the status property value. The status property * @return MonitorStatus|null @@ -219,7 +193,7 @@ public function getStatus(): ?MonitorStatus { } /** - * Gets the tenantId property value. The tenantId property + * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. * @return string|null */ public function getTenantId(): ?string { @@ -242,10 +216,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeObjectValue('lastModifiedBy', $this->getLastModifiedBy()); $writer->writeEnumValue('mode', $this->getMode()); - $writer->writeIntegerValue('monitorRunFrequencyInHours', $this->getMonitorRunFrequencyInHours()); $writer->writeObjectValue('parameters', $this->getParameters()); - $writer->writeBooleanValue('runAsUTCMServicePrincipal', $this->getRunAsUTCMServicePrincipal()); - $writer->writeObjectValue('runningOnBehalfOf', $this->getRunningOnBehalfOf()); $writer->writeEnumValue('status', $this->getStatus()); } @@ -266,7 +237,7 @@ public function setCreatedBy(?IdentitySet $value): void { } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when the monitor 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. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -274,7 +245,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the description property value. The description property + * Sets the description property value. User-friendly description of the monitor given by the user. * @param string|null $value Value to set for the description property. */ public function setDescription(?string $value): void { @@ -282,7 +253,7 @@ public function setDescription(?string $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. User-friendly name given by the user to the monitor. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -290,7 +261,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the inactivationReason property value. The inactivationReason property + * Sets the inactivationReason property value. The reason for the monitor's inactivation. * @param string|null $value Value to set for the inactivationReason property. */ public function setInactivationReason(?string $value): void { @@ -306,7 +277,7 @@ public function setLastModifiedBy(?IdentitySet $value): void { } /** - * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Sets the lastModifiedDateTime property value. The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. 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. * @param DateTime|null $value Value to set for the lastModifiedDateTime property. */ public function setLastModifiedDateTime(?DateTime $value): void { @@ -322,7 +293,7 @@ public function setMode(?MonitorMode $value): void { } /** - * Sets the monitorRunFrequencyInHours property value. The monitorRunFrequencyInHours property + * Sets the monitorRunFrequencyInHours property value. Frequency at which the monitor runs. The default frequency is six hours. Regardless of when you create or update a monitor, it gets triggered within the next 6 hours. Currently, monitors are picked up at fixed times: 6 AM, 12 PM, 6 PM, and 12 AM (all in GMT). For example, if you create a monitor at 9 AM, it gets triggered around 12 PM. If you update a monitor at 4 PM, it gets triggered around 6 PM. * @param int|null $value Value to set for the monitorRunFrequencyInHours property. */ public function setMonitorRunFrequencyInHours(?int $value): void { @@ -330,29 +301,13 @@ public function setMonitorRunFrequencyInHours(?int $value): void { } /** - * Sets the parameters property value. The parameters property + * Sets the parameters property value. Key-value pairs that contain parameter values which might be used in the baseline. * @param OpenComplexDictionaryType|null $value Value to set for the parameters property. */ public function setParameters(?OpenComplexDictionaryType $value): void { $this->getBackingStore()->set('parameters', $value); } - /** - * Sets the runAsUTCMServicePrincipal property value. The runAsUTCMServicePrincipal property - * @param bool|null $value Value to set for the runAsUTCMServicePrincipal property. - */ - public function setRunAsUTCMServicePrincipal(?bool $value): void { - $this->getBackingStore()->set('runAsUTCMServicePrincipal', $value); - } - - /** - * Sets the runningOnBehalfOf property value. The runningOnBehalfOf property - * @param IdentitySet|null $value Value to set for the runningOnBehalfOf property. - */ - public function setRunningOnBehalfOf(?IdentitySet $value): void { - $this->getBackingStore()->set('runningOnBehalfOf', $value); - } - /** * Sets the status property value. The status property * @param MonitorStatus|null $value Value to set for the status property. @@ -362,7 +317,7 @@ public function setStatus(?MonitorStatus $value): void { } /** - * Sets the tenantId property value. The tenantId property + * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. * @param string|null $value Value to set for the tenantId property. */ public function setTenantId(?string $value): void { diff --git a/src/Generated/Models/ConfigurationMonitoringResult.php b/src/Generated/Models/ConfigurationMonitoringResult.php index a61d27b182f..5e42c23fa95 100644 --- a/src/Generated/Models/ConfigurationMonitoringResult.php +++ b/src/Generated/Models/ConfigurationMonitoringResult.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Confi } /** - * Gets the driftsCount property value. The driftsCount property + * Gets the driftsCount property value. Number of drifts observed during a monitor run. * @return int|null */ public function getDriftsCount(): ?int { @@ -39,19 +39,7 @@ public function getDriftsCount(): ?int { } /** - * Gets the driftsFixed property value. The driftsFixed property - * @return int|null - */ - public function getDriftsFixed(): ?int { - $val = $this->getBackingStore()->get('driftsFixed'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'driftsFixed'"); - } - - /** - * Gets the errorDetails property value. The errorDetails property + * Gets the errorDetails property value. All the error details that prevent the monitor from running successfully. The error details are a contained entity. * @return array|null */ public function getErrorDetails(): ?array { @@ -72,19 +60,17 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'driftsCount' => fn(ParseNode $n) => $o->setDriftsCount($n->getIntegerValue()), - 'driftsFixed' => fn(ParseNode $n) => $o->setDriftsFixed($n->getIntegerValue()), 'errorDetails' => fn(ParseNode $n) => $o->setErrorDetails($n->getCollectionOfObjectValues([ErrorDetail::class, 'createFromDiscriminatorValue'])), 'monitorId' => fn(ParseNode $n) => $o->setMonitorId($n->getStringValue()), 'runCompletionDateTime' => fn(ParseNode $n) => $o->setRunCompletionDateTime($n->getDateTimeValue()), 'runInitiationDateTime' => fn(ParseNode $n) => $o->setRunInitiationDateTime($n->getDateTimeValue()), 'runStatus' => fn(ParseNode $n) => $o->setRunStatus($n->getEnumValue(MonitorRunStatus::class)), - 'runType' => fn(ParseNode $n) => $o->setRunType($n->getEnumValue(MonitorRunType::class)), 'tenantId' => fn(ParseNode $n) => $o->setTenantId($n->getStringValue()), ]); } /** - * Gets the monitorId property value. The monitorId property + * Gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. * @return string|null */ public function getMonitorId(): ?string { @@ -96,7 +82,7 @@ public function getMonitorId(): ?string { } /** - * Gets the runCompletionDateTime property value. The runCompletionDateTime property + * Gets the runCompletionDateTime property value. Date and time at which the monitor run completed. 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. * @return DateTime|null */ public function getRunCompletionDateTime(): ?DateTime { @@ -108,7 +94,7 @@ public function getRunCompletionDateTime(): ?DateTime { } /** - * Gets the runInitiationDateTime property value. The runInitiationDateTime property + * Gets the runInitiationDateTime property value. Date and time at which the monitor run initiated. 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. * @return DateTime|null */ public function getRunInitiationDateTime(): ?DateTime { @@ -132,19 +118,7 @@ public function getRunStatus(): ?MonitorRunStatus { } /** - * Gets the runType property value. The runType property - * @return MonitorRunType|null - */ - public function getRunType(): ?MonitorRunType { - $val = $this->getBackingStore()->get('runType'); - if (is_null($val) || $val instanceof MonitorRunType) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'runType'"); - } - - /** - * Gets the tenantId property value. The tenantId property + * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. * @return string|null */ public function getTenantId(): ?string { @@ -162,11 +136,10 @@ public function getTenantId(): ?string { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeEnumValue('runStatus', $this->getRunStatus()); - $writer->writeEnumValue('runType', $this->getRunType()); } /** - * Sets the driftsCount property value. The driftsCount property + * Sets the driftsCount property value. Number of drifts observed during a monitor run. * @param int|null $value Value to set for the driftsCount property. */ public function setDriftsCount(?int $value): void { @@ -174,15 +147,7 @@ public function setDriftsCount(?int $value): void { } /** - * Sets the driftsFixed property value. The driftsFixed property - * @param int|null $value Value to set for the driftsFixed property. - */ - public function setDriftsFixed(?int $value): void { - $this->getBackingStore()->set('driftsFixed', $value); - } - - /** - * Sets the errorDetails property value. The errorDetails property + * Sets the errorDetails property value. All the error details that prevent the monitor from running successfully. The error details are a contained entity. * @param array|null $value Value to set for the errorDetails property. */ public function setErrorDetails(?array $value): void { @@ -190,7 +155,7 @@ public function setErrorDetails(?array $value): void { } /** - * Sets the monitorId property value. The monitorId property + * Sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. * @param string|null $value Value to set for the monitorId property. */ public function setMonitorId(?string $value): void { @@ -198,7 +163,7 @@ public function setMonitorId(?string $value): void { } /** - * Sets the runCompletionDateTime property value. The runCompletionDateTime property + * Sets the runCompletionDateTime property value. Date and time at which the monitor run completed. 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. * @param DateTime|null $value Value to set for the runCompletionDateTime property. */ public function setRunCompletionDateTime(?DateTime $value): void { @@ -206,7 +171,7 @@ public function setRunCompletionDateTime(?DateTime $value): void { } /** - * Sets the runInitiationDateTime property value. The runInitiationDateTime property + * Sets the runInitiationDateTime property value. Date and time at which the monitor run initiated. 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. * @param DateTime|null $value Value to set for the runInitiationDateTime property. */ public function setRunInitiationDateTime(?DateTime $value): void { @@ -222,15 +187,7 @@ public function setRunStatus(?MonitorRunStatus $value): void { } /** - * Sets the runType property value. The runType property - * @param MonitorRunType|null $value Value to set for the runType property. - */ - public function setRunType(?MonitorRunType $value): void { - $this->getBackingStore()->set('runType', $value); - } - - /** - * Sets the tenantId property value. The tenantId property + * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. * @param string|null $value Value to set for the tenantId property. */ public function setTenantId(?string $value): void { diff --git a/src/Generated/Models/ConfigurationSnapshotJob.php b/src/Generated/Models/ConfigurationSnapshotJob.php index e76f8927e0a..a8f94e096b0 100644 --- a/src/Generated/Models/ConfigurationSnapshotJob.php +++ b/src/Generated/Models/ConfigurationSnapshotJob.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Confi } /** - * Gets the completedDateTime property value. The completedDateTime property + * Gets the completedDateTime property value. The date and time when the snapshot job was completed. 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. * @return DateTime|null */ public function getCompletedDateTime(): ?DateTime { @@ -51,7 +51,7 @@ public function getCreatedBy(): ?IdentitySet { } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. The date and time when the snapshot job 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. * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -63,7 +63,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the description property value. The description property + * Gets the description property value. User-friendly description of the snapshot given by the user. * @return string|null */ public function getDescription(): ?string { @@ -75,7 +75,7 @@ public function getDescription(): ?string { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. User-friendly name provided by the user during snapshot creation. * @return string|null */ public function getDisplayName(): ?string { @@ -87,7 +87,7 @@ public function getDisplayName(): ?string { } /** - * Gets the errorDetails property value. The errorDetails property + * Gets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. * @return array|null */ public function getErrorDetails(): ?array { @@ -135,7 +135,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the resourceLocation property value. The resourceLocation property + * Gets the resourceLocation property value. The URL at which the snapshot file resides. * @return string|null */ public function getResourceLocation(): ?string { @@ -147,7 +147,7 @@ public function getResourceLocation(): ?string { } /** - * Gets the resources property value. The resources property + * Gets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. * @return array|null */ public function getResources(): ?array { @@ -173,7 +173,7 @@ public function getStatus(): ?SnapshotJobStatus { } /** - * Gets the tenantId property value. The tenantId property + * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. * @return string|null */ public function getTenantId(): ?string { @@ -198,7 +198,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the completedDateTime property value. The completedDateTime property + * Sets the completedDateTime property value. The date and time when the snapshot job was completed. 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. * @param DateTime|null $value Value to set for the completedDateTime property. */ public function setCompletedDateTime(?DateTime $value): void { @@ -214,7 +214,7 @@ public function setCreatedBy(?IdentitySet $value): void { } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when the snapshot job 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. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -222,7 +222,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the description property value. The description property + * Sets the description property value. User-friendly description of the snapshot given by the user. * @param string|null $value Value to set for the description property. */ public function setDescription(?string $value): void { @@ -230,7 +230,7 @@ public function setDescription(?string $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. User-friendly name provided by the user during snapshot creation. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -238,7 +238,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the errorDetails property value. The errorDetails property + * Sets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. * @param array|null $value Value to set for the errorDetails property. */ public function setErrorDetails(?array $value): void { @@ -246,7 +246,7 @@ public function setErrorDetails(?array $value): void { } /** - * Sets the resourceLocation property value. The resourceLocation property + * Sets the resourceLocation property value. The URL at which the snapshot file resides. * @param string|null $value Value to set for the resourceLocation property. */ public function setResourceLocation(?string $value): void { @@ -254,7 +254,7 @@ public function setResourceLocation(?string $value): void { } /** - * Sets the resources property value. The resources property + * Sets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. * @param array|null $value Value to set for the resources property. */ public function setResources(?array $value): void { @@ -270,7 +270,7 @@ public function setStatus(?SnapshotJobStatus $value): void { } /** - * Sets the tenantId property value. The tenantId property + * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. * @param string|null $value Value to set for the tenantId property. */ public function setTenantId(?string $value): void { diff --git a/src/Generated/Models/CopilotPackage.php b/src/Generated/Models/CopilotPackage.php index 1569cac2dee..a9717ef59fc 100644 --- a/src/Generated/Models/CopilotPackage.php +++ b/src/Generated/Models/CopilotPackage.php @@ -7,6 +7,7 @@ use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; use Microsoft\Kiota\Abstractions\Types\TypeUtils; +use Psr\Http\Message\StreamInterface; class CopilotPackage extends Entity implements Parsable { @@ -114,6 +115,7 @@ public function getFieldDeserializers(): array { $this->setSupportedHosts($val); }, 'type' => fn(ParseNode $n) => $o->setType($n->getEnumValue(PackageType::class)), + 'zipFile' => fn(ParseNode $n) => $o->setZipFile($n->getBinaryContent()), ]); } @@ -191,6 +193,18 @@ public function getType(): ?PackageType { throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); } + /** + * Gets the zipFile property value. The zipFile property + * @return StreamInterface|null + */ + public function getZipFile(): ?StreamInterface { + $val = $this->getBackingStore()->get('zipFile'); + if (is_null($val) || $val instanceof StreamInterface) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'zipFile'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -207,6 +221,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('shortDescription', $this->getShortDescription()); $writer->writeCollectionOfPrimitiveValues('supportedHosts', $this->getSupportedHosts()); $writer->writeEnumValue('type', $this->getType()); + $writer->writeBinaryContent('zipFile', $this->getZipFile()); } /** @@ -289,4 +304,12 @@ public function setType(?PackageType $value): void { $this->getBackingStore()->set('type', $value); } + /** + * Sets the zipFile property value. The zipFile property + * @param StreamInterface|null $value Value to set for the zipFile property. + */ + public function setZipFile(?StreamInterface $value): void { + $this->getBackingStore()->set('zipFile', $value); + } + } diff --git a/src/Generated/Models/CopilotPackageDetail.php b/src/Generated/Models/CopilotPackageDetail.php index fab8a1a50ff..7f1e1382d47 100644 --- a/src/Generated/Models/CopilotPackageDetail.php +++ b/src/Generated/Models/CopilotPackageDetail.php @@ -14,6 +14,7 @@ class CopilotPackageDetail extends CopilotPackage implements Parsable */ public function __construct() { parent::__construct(); + $this->setOdataType('#microsoft.graph.copilotPackageDetail'); } /** diff --git a/src/Generated/Models/CrossTenantGroupSyncInbound.php b/src/Generated/Models/CrossTenantGroupSyncInbound.php index 0f06b49b6f5..0d1834a29f8 100644 --- a/src/Generated/Models/CrossTenantGroupSyncInbound.php +++ b/src/Generated/Models/CrossTenantGroupSyncInbound.php @@ -68,7 +68,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isSyncAllowed property value. The isSyncAllowed property + * Gets the isSyncAllowed property value. Defines whether group objects should be synchronized from the partner tenant. false stops any current group synchronization from the source tenant to the target tenant. This property has no impact on existing groups that were synchronized. * @return bool|null */ public function getIsSyncAllowed(): ?bool { @@ -118,7 +118,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isSyncAllowed property value. The isSyncAllowed property + * Sets the isSyncAllowed property value. Defines whether group objects should be synchronized from the partner tenant. false stops any current group synchronization from the source tenant to the target tenant. This property has no impact on existing groups that were synchronized. * @param bool|null $value Value to set for the isSyncAllowed property. */ public function setIsSyncAllowed(?bool $value): void { diff --git a/src/Generated/Models/CrossTenantIdentitySyncPolicyPartner.php b/src/Generated/Models/CrossTenantIdentitySyncPolicyPartner.php index 2db01a0219d..220cbb80499 100644 --- a/src/Generated/Models/CrossTenantIdentitySyncPolicyPartner.php +++ b/src/Generated/Models/CrossTenantIdentitySyncPolicyPartner.php @@ -65,7 +65,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the groupSyncInbound property value. The groupSyncInbound property + * Gets the groupSyncInbound property value. Defines whether groups can be synchronized from a partner tenant. Key. * @return CrossTenantGroupSyncInbound|null */ public function getGroupSyncInbound(): ?CrossTenantGroupSyncInbound { @@ -130,7 +130,7 @@ public function setExternalCloudAuthorizedApplicationId(?string $value): void { } /** - * Sets the groupSyncInbound property value. The groupSyncInbound property + * Sets the groupSyncInbound property value. Defines whether groups can be synchronized from a partner tenant. Key. * @param CrossTenantGroupSyncInbound|null $value Value to set for the groupSyncInbound property. */ public function setGroupSyncInbound(?CrossTenantGroupSyncInbound $value): void { diff --git a/src/Generated/Models/CustomAppManagementApplicationConfiguration.php b/src/Generated/Models/CustomAppManagementApplicationConfiguration.php index efe17c686ac..b8bf8236558 100644 --- a/src/Generated/Models/CustomAppManagementApplicationConfiguration.php +++ b/src/Generated/Models/CustomAppManagementApplicationConfiguration.php @@ -77,6 +77,7 @@ public function getFieldDeserializers(): array { 'audiences' => fn(ParseNode $n) => $o->setAudiences($n->getObjectValue([AudiencesConfiguration::class, 'createFromDiscriminatorValue'])), 'identifierUris' => fn(ParseNode $n) => $o->setIdentifierUris($n->getObjectValue([IdentifierUriConfiguration::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'redirectUris' => fn(ParseNode $n) => $o->setRedirectUris($n->getObjectValue([RedirectUriConfiguration::class, 'createFromDiscriminatorValue'])), ]; } @@ -104,6 +105,18 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } + /** + * Gets the redirectUris property value. The redirectUris property + * @return RedirectUriConfiguration|null + */ + public function getRedirectUris(): ?RedirectUriConfiguration { + $val = $this->getBackingStore()->get('redirectUris'); + if (is_null($val) || $val instanceof RedirectUriConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'redirectUris'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,6 +125,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('audiences', $this->getAudiences()); $writer->writeObjectValue('identifierUris', $this->getIdentifierUris()); $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('redirectUris', $this->getRedirectUris()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -155,4 +169,12 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } + /** + * Sets the redirectUris property value. The redirectUris property + * @param RedirectUriConfiguration|null $value Value to set for the redirectUris property. + */ + public function setRedirectUris(?RedirectUriConfiguration $value): void { + $this->getBackingStore()->set('redirectUris', $value); + } + } diff --git a/src/Generated/Models/CustomAuthenticationExtension.php b/src/Generated/Models/CustomAuthenticationExtension.php index 7fce3d6c9dc..2e34611aae8 100644 --- a/src/Generated/Models/CustomAuthenticationExtension.php +++ b/src/Generated/Models/CustomAuthenticationExtension.php @@ -29,6 +29,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Custo case '#microsoft.graph.onAttributeCollectionStartCustomExtension': return new OnAttributeCollectionStartCustomExtension(); case '#microsoft.graph.onAttributeCollectionSubmitCustomExtension': return new OnAttributeCollectionSubmitCustomExtension(); case '#microsoft.graph.onOtpSendCustomExtension': return new OnOtpSendCustomExtension(); + case '#microsoft.graph.onPasswordSubmitCustomExtension': return new OnPasswordSubmitCustomExtension(); case '#microsoft.graph.onTokenIssuanceStartCustomExtension': return new OnTokenIssuanceStartCustomExtension(); } } diff --git a/src/Generated/Models/CustomCalloutExtension.php b/src/Generated/Models/CustomCalloutExtension.php index 11e2687a817..8bd8a9a4904 100644 --- a/src/Generated/Models/CustomCalloutExtension.php +++ b/src/Generated/Models/CustomCalloutExtension.php @@ -34,6 +34,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Custo case '#microsoft.graph.onAttributeCollectionStartCustomExtension': return new OnAttributeCollectionStartCustomExtension(); case '#microsoft.graph.onAttributeCollectionSubmitCustomExtension': return new OnAttributeCollectionSubmitCustomExtension(); case '#microsoft.graph.onOtpSendCustomExtension': return new OnOtpSendCustomExtension(); + case '#microsoft.graph.onPasswordSubmitCustomExtension': return new OnPasswordSubmitCustomExtension(); case '#microsoft.graph.onTokenIssuanceStartCustomExtension': return new OnTokenIssuanceStartCustomExtension(); } } diff --git a/src/Generated/Models/DriftedProperty.php b/src/Generated/Models/DriftedProperty.php index edce57259c8..0bd5eb5667a 100644 --- a/src/Generated/Models/DriftedProperty.php +++ b/src/Generated/Models/DriftedProperty.php @@ -80,7 +80,7 @@ public function getOdataType(): ?string { } /** - * Gets the propertyName property value. The propertyName property + * Gets the propertyName property value. The name of the property. * @return string|null */ public function getPropertyName(): ?string { @@ -125,7 +125,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the propertyName property value. The propertyName property + * Sets the propertyName property value. The name of the property. * @param string|null $value Value to set for the propertyName property. */ public function setPropertyName(?string $value): void { diff --git a/src/Generated/Models/EntitlementManagement.php b/src/Generated/Models/EntitlementManagement.php index 53b6f3640de..84a2dfc29f4 100644 --- a/src/Generated/Models/EntitlementManagement.php +++ b/src/Generated/Models/EntitlementManagement.php @@ -249,6 +249,20 @@ public function getControlConfigurations(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'controlConfigurations'"); } + /** + * Gets the externalOriginResourceConnectors property value. The externalOriginResourceConnectors property + * @return array|null + */ + public function getExternalOriginResourceConnectors(): ?array { + $val = $this->getBackingStore()->get('externalOriginResourceConnectors'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ExternalOriginResourceConnector::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'externalOriginResourceConnectors'"); + } + /** * The deserialization information for the current model * @return array @@ -272,6 +286,7 @@ public function getFieldDeserializers(): array { 'availableAccessPackages' => fn(ParseNode $n) => $o->setAvailableAccessPackages($n->getCollectionOfObjectValues([AvailableAccessPackage::class, 'createFromDiscriminatorValue'])), 'connectedOrganizations' => fn(ParseNode $n) => $o->setConnectedOrganizations($n->getCollectionOfObjectValues([ConnectedOrganization::class, 'createFromDiscriminatorValue'])), 'controlConfigurations' => fn(ParseNode $n) => $o->setControlConfigurations($n->getCollectionOfObjectValues([ControlConfiguration::class, 'createFromDiscriminatorValue'])), + 'externalOriginResourceConnectors' => fn(ParseNode $n) => $o->setExternalOriginResourceConnectors($n->getCollectionOfObjectValues([ExternalOriginResourceConnector::class, 'createFromDiscriminatorValue'])), 'settings' => fn(ParseNode $n) => $o->setSettings($n->getObjectValue([EntitlementManagementSettings::class, 'createFromDiscriminatorValue'])), 'subjects' => fn(ParseNode $n) => $o->setSubjects($n->getCollectionOfObjectValues([AccessPackageSubject::class, 'createFromDiscriminatorValue'])), ]); @@ -325,6 +340,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('availableAccessPackages', $this->getAvailableAccessPackages()); $writer->writeCollectionOfObjectValues('connectedOrganizations', $this->getConnectedOrganizations()); $writer->writeCollectionOfObjectValues('controlConfigurations', $this->getControlConfigurations()); + $writer->writeCollectionOfObjectValues('externalOriginResourceConnectors', $this->getExternalOriginResourceConnectors()); $writer->writeObjectValue('settings', $this->getSettings()); $writer->writeCollectionOfObjectValues('subjects', $this->getSubjects()); } @@ -457,6 +473,14 @@ public function setControlConfigurations(?array $value): void { $this->getBackingStore()->set('controlConfigurations', $value); } + /** + * Sets the externalOriginResourceConnectors property value. The externalOriginResourceConnectors property + * @param array|null $value Value to set for the externalOriginResourceConnectors property. + */ + public function setExternalOriginResourceConnectors(?array $value): void { + $this->getBackingStore()->set('externalOriginResourceConnectors', $value); + } + /** * Sets the settings property value. Represents the settings that control the behavior of Microsoft Entra entitlement management. * @param EntitlementManagementSettings|null $value Value to set for the settings property. diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 6d221758914..14f8ff483cc 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -7,7 +7,12 @@ use Microsoft\Graph\Beta\Generated\Models\CallRecords\Participant; use Microsoft\Graph\Beta\Generated\Models\CallRecords\ParticipantBase; use Microsoft\Graph\Beta\Generated\Models\CallRecords\Segment; +use Microsoft\Graph\Beta\Generated\Models\CloudLicensing\AdminCloudLicensing; +use Microsoft\Graph\Beta\Generated\Models\CloudLicensing\Allotment; +use Microsoft\Graph\Beta\Generated\Models\CloudLicensing\Assignment; +use Microsoft\Graph\Beta\Generated\Models\CloudLicensing\AssignmentError; use Microsoft\Graph\Beta\Generated\Models\CloudLicensing\UsageRight; +use Microsoft\Graph\Beta\Generated\Models\CloudLicensing\WaitingMember; use Microsoft\Graph\Beta\Generated\Models\DeviceManagement\AlertRecord; use Microsoft\Graph\Beta\Generated\Models\DeviceManagement\AlertRule; use Microsoft\Graph\Beta\Generated\Models\DeviceManagement\DeviceManagement; @@ -138,7 +143,6 @@ use Microsoft\Graph\Beta\Generated\Models\Networkaccess\Logs; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\M365ForwardingRule; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\NetworkAccessRoot; -use Microsoft\Graph\Beta\Generated\Models\Networkaccess\Policy; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\PolicyLink; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\PolicyRule; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\PrivateAccessForwardingRule; @@ -191,6 +195,7 @@ use Microsoft\Graph\Beta\Generated\Models\Security\AuditLogQuery; use Microsoft\Graph\Beta\Generated\Models\Security\AuditLogRecord; use Microsoft\Graph\Beta\Generated\Models\Security\AuthorityTemplate; +use Microsoft\Graph\Beta\Generated\Models\Security\AutoAuditingConfiguration; use Microsoft\Graph\Beta\Generated\Models\Security\CasesRoot; use Microsoft\Graph\Beta\Generated\Models\Security\CategoryTemplate; use Microsoft\Graph\Beta\Generated\Models\Security\CitationTemplate; @@ -229,6 +234,7 @@ use Microsoft\Graph\Beta\Generated\Models\Security\EmailThreatSubmissionPolicy; use Microsoft\Graph\Beta\Generated\Models\Security\EmailUrlThreatSubmission; use Microsoft\Graph\Beta\Generated\Models\Security\EndpointDiscoveredCloudAppDetail; +use Microsoft\Graph\Beta\Generated\Models\Security\Environment; use Microsoft\Graph\Beta\Generated\Models\Security\File; use Microsoft\Graph\Beta\Generated\Models\Security\FileContentThreatSubmission; use Microsoft\Graph\Beta\Generated\Models\Security\FilePlanDescriptor; @@ -291,6 +297,7 @@ use Microsoft\Graph\Beta\Generated\Models\Security\WhoisBaseRecord; use Microsoft\Graph\Beta\Generated\Models\Security\WhoisHistoryRecord; use Microsoft\Graph\Beta\Generated\Models\Security\WhoisRecord; +use Microsoft\Graph\Beta\Generated\Models\Security\Zone; use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\NumberAssignment; use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\PolicyIdentifierDetail; use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TeamsAdminRoot; @@ -299,6 +306,7 @@ use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TeamsUserConfiguration; use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TelephoneNumberLongRunningOperation; use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TelephoneNumberManagementRoot; +use Microsoft\Graph\Beta\Generated\Models\TenantGovernanceServices\LongRunningOperation; use Microsoft\Graph\Beta\Generated\Models\TermStore\Group; use Microsoft\Graph\Beta\Generated\Models\TermStore\Relation; use Microsoft\Graph\Beta\Generated\Models\TermStore\Set; @@ -317,10 +325,15 @@ use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\KnowledgeBaseArticle; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\KnownIssue; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\OperationalInsightsConnection; +use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\PolicyApproval; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\Product; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\ProductRevision; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\QualityUpdateCatalogEntry; +use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\QualityUpdatePolicy; +use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\QualityUpdateRing; +use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\RecoveryUpdateCatalogEntry; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\ResourceConnection; +use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\Ring; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\SoftwareUpdateCatalogEntry; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\UpdatableAsset; use Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\UpdatableAssetGroup; @@ -693,7 +706,12 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.cloudClipboardItem': return new CloudClipboardItem(); case '#microsoft.graph.cloudClipboardRoot': return new CloudClipboardRoot(); case '#microsoft.graph.cloudFlareWebApplicationFirewallProvider': return new CloudFlareWebApplicationFirewallProvider(); + case '#microsoft.graph.cloudLicensing.adminCloudLicensing': return new AdminCloudLicensing(); + case '#microsoft.graph.cloudLicensing.allotment': return new Allotment(); + case '#microsoft.graph.cloudLicensing.assignment': return new Assignment(); + case '#microsoft.graph.cloudLicensing.assignmentError': return new AssignmentError(); case '#microsoft.graph.cloudLicensing.usageRight': return new UsageRight(); + case '#microsoft.graph.cloudLicensing.waitingMember': return new WaitingMember(); case '#microsoft.graph.cloudPC': return new CloudPC(); case '#microsoft.graph.cloudPcAuditEvent': return new CloudPcAuditEvent(); case '#microsoft.graph.cloudPcBulkAction': return new CloudPcBulkAction(); @@ -745,7 +763,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.conditionalAccessRoot': return new ConditionalAccessRoot(); case '#microsoft.graph.conditionalAccessTemplate': return new ConditionalAccessTemplate(); case '#microsoft.graph.configManagerCollection': return new ConfigManagerCollection(); - case '#microsoft.graph.configurationApplication': return new ConfigurationApplication(); case '#microsoft.graph.configurationBaseline': return new ConfigurationBaseline(); case '#microsoft.graph.configurationDrift': return new ConfigurationDrift(); case '#microsoft.graph.configurationManagement': return new ConfigurationManagement(); @@ -1585,7 +1602,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.networkaccess.logs': return new Logs(); case '#microsoft.graph.networkaccess.m365ForwardingRule': return new M365ForwardingRule(); case '#microsoft.graph.networkaccess.networkAccessRoot': return new NetworkAccessRoot(); - case '#microsoft.graph.networkaccess.policy': return new Policy(); + case '#microsoft.graph.networkaccess.policy': return new \Microsoft\Graph\Beta\Generated\Models\Networkaccess\Policy(); case '#microsoft.graph.networkaccess.policyLink': return new PolicyLink(); case '#microsoft.graph.networkaccess.policyRule': return new PolicyRule(); case '#microsoft.graph.networkaccess.privateAccessForwardingRule': return new PrivateAccessForwardingRule(); @@ -1648,6 +1665,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.onlineMeetingBase': return new OnlineMeetingBase(); case '#microsoft.graph.onlineMeetingEngagementConversation': return new OnlineMeetingEngagementConversation(); case '#microsoft.graph.onOtpSendCustomExtension': return new OnOtpSendCustomExtension(); + case '#microsoft.graph.onPasswordSubmitCustomExtension': return new OnPasswordSubmitCustomExtension(); + case '#microsoft.graph.onPasswordSubmitListener': return new OnPasswordSubmitListener(); case '#microsoft.graph.onPhoneMethodLoadStartListener': return new OnPhoneMethodLoadStartListener(); case '#microsoft.graph.onPremAuthenticationPolicy': return new OnPremAuthenticationPolicy(); case '#microsoft.graph.onPremisesAgent': return new OnPremisesAgent(); @@ -1938,6 +1957,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.security.auditLogQuery': return new AuditLogQuery(); case '#microsoft.graph.security.auditLogRecord': return new AuditLogRecord(); case '#microsoft.graph.security.authorityTemplate': return new AuthorityTemplate(); + case '#microsoft.graph.security.autoAuditingConfiguration': return new AutoAuditingConfiguration(); case '#microsoft.graph.security.case': return new \Microsoft\Graph\Beta\Generated\Models\Security\EscapedCase(); case '#microsoft.graph.security.caseOperation': return new \Microsoft\Graph\Beta\Generated\Models\Security\CaseOperation(); case '#microsoft.graph.security.casesRoot': return new CasesRoot(); @@ -1980,6 +2000,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.security.emailThreatSubmissionPolicy': return new EmailThreatSubmissionPolicy(); case '#microsoft.graph.security.emailUrlThreatSubmission': return new EmailUrlThreatSubmission(); case '#microsoft.graph.security.endpointDiscoveredCloudAppDetail': return new EndpointDiscoveredCloudAppDetail(); + case '#microsoft.graph.security.environment': return new Environment(); case '#microsoft.graph.security.file': return new File(); case '#microsoft.graph.security.fileContentThreatSubmission': return new FileContentThreatSubmission(); case '#microsoft.graph.security.filePlanDescriptor': return new FilePlanDescriptor(); @@ -2047,6 +2068,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.security.whoisBaseRecord': return new WhoisBaseRecord(); case '#microsoft.graph.security.whoisHistoryRecord': return new WhoisHistoryRecord(); case '#microsoft.graph.security.whoisRecord': return new WhoisRecord(); + case '#microsoft.graph.security.zone': return new Zone(); case '#microsoft.graph.securityAction': return new SecurityAction(); case '#microsoft.graph.securityBaselineCategoryStateSummary': return new SecurityBaselineCategoryStateSummary(); case '#microsoft.graph.securityBaselineDeviceState': return new SecurityBaselineDeviceState(); @@ -2218,6 +2240,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.tenantAppManagementPolicy': return new TenantAppManagementPolicy(); case '#microsoft.graph.tenantAttachRBAC': return new TenantAttachRBAC(); case '#microsoft.graph.tenantDataSecurityAndGovernance': return new TenantDataSecurityAndGovernance(); + case '#microsoft.graph.tenantGovernanceServices.longRunningOperation': return new LongRunningOperation(); case '#microsoft.graph.tenantProtectionScopeContainer': return new TenantProtectionScopeContainer(); case '#microsoft.graph.tenantRelationshipAccessPolicyBase': return new TenantRelationshipAccessPolicyBase(); case '#microsoft.graph.tenantSetupInfo': return new TenantSetupInfo(); @@ -2524,10 +2547,16 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.windowsUpdates.knowledgeBaseArticle': return new KnowledgeBaseArticle(); case '#microsoft.graph.windowsUpdates.knownIssue': return new KnownIssue(); case '#microsoft.graph.windowsUpdates.operationalInsightsConnection': return new OperationalInsightsConnection(); + case '#microsoft.graph.windowsUpdates.policy': return new \Microsoft\Graph\Beta\Generated\Models\WindowsUpdates\Policy(); + case '#microsoft.graph.windowsUpdates.policyApproval': return new PolicyApproval(); case '#microsoft.graph.windowsUpdates.product': return new Product(); case '#microsoft.graph.windowsUpdates.productRevision': return new ProductRevision(); case '#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry': return new QualityUpdateCatalogEntry(); + case '#microsoft.graph.windowsUpdates.qualityUpdatePolicy': return new QualityUpdatePolicy(); + case '#microsoft.graph.windowsUpdates.qualityUpdateRing': return new QualityUpdateRing(); + case '#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry': return new RecoveryUpdateCatalogEntry(); case '#microsoft.graph.windowsUpdates.resourceConnection': return new ResourceConnection(); + case '#microsoft.graph.windowsUpdates.ring': return new Ring(); case '#microsoft.graph.windowsUpdates.softwareUpdateCatalogEntry': return new SoftwareUpdateCatalogEntry(); case '#microsoft.graph.windowsUpdates.updatableAsset': return new UpdatableAsset(); case '#microsoft.graph.windowsUpdates.updatableAssetGroup': return new UpdatableAssetGroup(); diff --git a/src/Generated/Models/ErrorDetail.php b/src/Generated/Models/ErrorDetail.php index 5e60e63fb21..2ce83a6700f 100644 --- a/src/Generated/Models/ErrorDetail.php +++ b/src/Generated/Models/ErrorDetail.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the errorMessage property value. The errorMessage property + * Gets the errorMessage property value. The message that describes the error to help the admin take action. * @return string|null */ public function getErrorMessage(): ?string { @@ -94,7 +94,7 @@ public function getOdataType(): ?string { } /** - * Gets the resourceInstanceName property value. The resourceInstanceName property + * Gets the resourceInstanceName property value. The resource type identifier. * @return string|null */ public function getResourceInstanceName(): ?string { @@ -106,7 +106,7 @@ public function getResourceInstanceName(): ?string { } /** - * Gets the resourceType property value. The resourceType property + * Gets the resourceType property value. Name of the resource type. * @return string|null */ public function getResourceType(): ?string { @@ -143,7 +143,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the errorMessage property value. The errorMessage property + * Sets the errorMessage property value. The message that describes the error to help the admin take action. * @param string|null $value Value to set for the errorMessage property. */ public function setErrorMessage(?string $value): void { @@ -159,7 +159,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the resourceInstanceName property value. The resourceInstanceName property + * Sets the resourceInstanceName property value. The resource type identifier. * @param string|null $value Value to set for the resourceInstanceName property. */ public function setResourceInstanceName(?string $value): void { @@ -167,7 +167,7 @@ public function setResourceInstanceName(?string $value): void { } /** - * Sets the resourceType property value. The resourceType property + * Sets the resourceType property value. Name of the resource type. * @param string|null $value Value to set for the resourceType property. */ public function setResourceType(?string $value): void { diff --git a/src/Generated/Models/ExchangeMessageTrace.php b/src/Generated/Models/ExchangeMessageTrace.php index 0e07affce00..f21a8369f53 100644 --- a/src/Generated/Models/ExchangeMessageTrace.php +++ b/src/Generated/Models/ExchangeMessageTrace.php @@ -45,7 +45,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. + * Gets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. Supports $filter (eq). * @return string|null */ public function getFromIP(): ?string { @@ -57,7 +57,7 @@ public function getFromIP(): ?string { } /** - * Gets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. + * Gets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. Supports $filter (eq). * @return string|null */ public function getMessageId(): ?string { @@ -69,7 +69,7 @@ public function getMessageId(): ?string { } /** - * Gets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. + * Gets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. Supports $filter (ge, le). * @return DateTime|null */ public function getReceivedDateTime(): ?DateTime { @@ -81,7 +81,7 @@ public function getReceivedDateTime(): ?DateTime { } /** - * Gets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. + * Gets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. Supports $filter (eq). * @return string|null */ public function getRecipientAddress(): ?string { @@ -93,7 +93,7 @@ public function getRecipientAddress(): ?string { } /** - * Gets the senderAddress property value. The SMTP email address of the user the message was purportedly from. + * Gets the senderAddress property value. The SMTP email address of the user the message was purportedly from. Supports $filter (eq). * @return string|null */ public function getSenderAddress(): ?string { @@ -129,7 +129,7 @@ public function getStatus(): ?ExchangeMessageTraceStatus { } /** - * Gets the subject property value. The subject line of the message. + * Gets the subject property value. The subject line of the message. Supports $filter (contains, startsWith, endsWith). * @return string|null */ public function getSubject(): ?string { @@ -141,7 +141,7 @@ public function getSubject(): ?string { } /** - * Gets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. + * Gets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. Supports $filter (eq). * @return string|null */ public function getToIP(): ?string { @@ -170,7 +170,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. + * Sets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. Supports $filter (eq). * @param string|null $value Value to set for the fromIP property. */ public function setFromIP(?string $value): void { @@ -178,7 +178,7 @@ public function setFromIP(?string $value): void { } /** - * Sets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. + * Sets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. Supports $filter (eq). * @param string|null $value Value to set for the messageId property. */ public function setMessageId(?string $value): void { @@ -186,7 +186,7 @@ public function setMessageId(?string $value): void { } /** - * Sets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. + * Sets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. Supports $filter (ge, le). * @param DateTime|null $value Value to set for the receivedDateTime property. */ public function setReceivedDateTime(?DateTime $value): void { @@ -194,7 +194,7 @@ public function setReceivedDateTime(?DateTime $value): void { } /** - * Sets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. + * Sets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. Supports $filter (eq). * @param string|null $value Value to set for the recipientAddress property. */ public function setRecipientAddress(?string $value): void { @@ -202,7 +202,7 @@ public function setRecipientAddress(?string $value): void { } /** - * Sets the senderAddress property value. The SMTP email address of the user the message was purportedly from. + * Sets the senderAddress property value. The SMTP email address of the user the message was purportedly from. Supports $filter (eq). * @param string|null $value Value to set for the senderAddress property. */ public function setSenderAddress(?string $value): void { @@ -226,7 +226,7 @@ public function setStatus(?ExchangeMessageTraceStatus $value): void { } /** - * Sets the subject property value. The subject line of the message. + * Sets the subject property value. The subject line of the message. Supports $filter (contains, startsWith, endsWith). * @param string|null $value Value to set for the subject property. */ public function setSubject(?string $value): void { @@ -234,7 +234,7 @@ public function setSubject(?string $value): void { } /** - * Sets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. + * Sets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. Supports $filter (eq). * @param string|null $value Value to set for the toIP property. */ public function setToIP(?string $value): void { diff --git a/src/Generated/Models/ConfigurationApplicationCollectionResponse.php b/src/Generated/Models/ExternalOriginResourceConnectorCollectionResponse.php similarity index 68% rename from src/Generated/Models/ConfigurationApplicationCollectionResponse.php rename to src/Generated/Models/ExternalOriginResourceConnectorCollectionResponse.php index 776162f5f96..dd8a2b33f15 100644 --- a/src/Generated/Models/ConfigurationApplicationCollectionResponse.php +++ b/src/Generated/Models/ExternalOriginResourceConnectorCollectionResponse.php @@ -7,10 +7,10 @@ use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; use Microsoft\Kiota\Abstractions\Types\TypeUtils; -class ConfigurationApplicationCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable +class ExternalOriginResourceConnectorCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { /** - * Instantiates a new ConfigurationApplicationCollectionResponse and sets the default values. + * Instantiates a new ExternalOriginResourceConnectorCollectionResponse and sets the default values. */ public function __construct() { parent::__construct(); @@ -19,10 +19,10 @@ public function __construct() { /** * 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 ConfigurationApplicationCollectionResponse + * @return ExternalOriginResourceConnectorCollectionResponse */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfigurationApplicationCollectionResponse { - return new ConfigurationApplicationCollectionResponse(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ExternalOriginResourceConnectorCollectionResponse { + return new ExternalOriginResourceConnectorCollectionResponse(); } /** @@ -32,19 +32,19 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Confi public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ConfigurationApplication::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ExternalOriginResourceConnector::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConfigurationApplication::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, ExternalOriginResourceConnector::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for 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/FraudProtectionDetails.php b/src/Generated/Models/FraudProtectionDetails.php new file mode 100644 index 00000000000..918a5903a94 --- /dev/null +++ b/src/Generated/Models/FraudProtectionDetails.php @@ -0,0 +1,296 @@ +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 FraudProtectionDetails + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): FraudProtectionDetails { + return new FraudProtectionDetails(); + } + + /** + * 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()), + 'providerErrorMessages' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setProviderErrorMessages($val); + }, + 'providerHttpStatusCodes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'int'); + } + /** @var array|null $val */ + $this->setProviderHttpStatusCodes($val); + }, + 'providerName' => fn(ParseNode $n) => $o->setProviderName($n->getStringValue()), + 'providerResponseTimes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'int'); + } + /** @var array|null $val */ + $this->setProviderResponseTimes($val); + }, + 'providerSessionId' => fn(ParseNode $n) => $o->setProviderSessionId($n->getStringValue()), + 'reason' => fn(ParseNode $n) => $o->setReason($n->getStringValue()), + 'verdict' => fn(ParseNode $n) => $o->setVerdict($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 providerErrorMessages property value. The providerErrorMessages property + * @return array|null + */ + public function getProviderErrorMessages(): ?array { + $val = $this->getBackingStore()->get('providerErrorMessages'); + 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 'providerErrorMessages'"); + } + + /** + * Gets the providerHttpStatusCodes property value. The providerHttpStatusCodes property + * @return array|null + */ + public function getProviderHttpStatusCodes(): ?array { + $val = $this->getBackingStore()->get('providerHttpStatusCodes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'int'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'providerHttpStatusCodes'"); + } + + /** + * Gets the providerName property value. The providerName property + * @return string|null + */ + public function getProviderName(): ?string { + $val = $this->getBackingStore()->get('providerName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'providerName'"); + } + + /** + * Gets the providerResponseTimes property value. The providerResponseTimes property + * @return array|null + */ + public function getProviderResponseTimes(): ?array { + $val = $this->getBackingStore()->get('providerResponseTimes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'int'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'providerResponseTimes'"); + } + + /** + * Gets the providerSessionId property value. The providerSessionId property + * @return string|null + */ + public function getProviderSessionId(): ?string { + $val = $this->getBackingStore()->get('providerSessionId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'providerSessionId'"); + } + + /** + * 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'"); + } + + /** + * Gets the verdict property value. The verdict property + * @return string|null + */ + public function getVerdict(): ?string { + $val = $this->getBackingStore()->get('verdict'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'verdict'"); + } + + /** + * 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->writeCollectionOfPrimitiveValues('providerErrorMessages', $this->getProviderErrorMessages()); + $writer->writeCollectionOfPrimitiveValues('providerHttpStatusCodes', $this->getProviderHttpStatusCodes()); + $writer->writeStringValue('providerName', $this->getProviderName()); + $writer->writeCollectionOfPrimitiveValues('providerResponseTimes', $this->getProviderResponseTimes()); + $writer->writeStringValue('providerSessionId', $this->getProviderSessionId()); + $writer->writeStringValue('reason', $this->getReason()); + $writer->writeStringValue('verdict', $this->getVerdict()); + $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 providerErrorMessages property value. The providerErrorMessages property + * @param array|null $value Value to set for the providerErrorMessages property. + */ + public function setProviderErrorMessages(?array $value): void { + $this->getBackingStore()->set('providerErrorMessages', $value); + } + + /** + * Sets the providerHttpStatusCodes property value. The providerHttpStatusCodes property + * @param array|null $value Value to set for the providerHttpStatusCodes property. + */ + public function setProviderHttpStatusCodes(?array $value): void { + $this->getBackingStore()->set('providerHttpStatusCodes', $value); + } + + /** + * Sets the providerName property value. The providerName property + * @param string|null $value Value to set for the providerName property. + */ + public function setProviderName(?string $value): void { + $this->getBackingStore()->set('providerName', $value); + } + + /** + * Sets the providerResponseTimes property value. The providerResponseTimes property + * @param array|null $value Value to set for the providerResponseTimes property. + */ + public function setProviderResponseTimes(?array $value): void { + $this->getBackingStore()->set('providerResponseTimes', $value); + } + + /** + * Sets the providerSessionId property value. The providerSessionId property + * @param string|null $value Value to set for the providerSessionId property. + */ + public function setProviderSessionId(?string $value): void { + $this->getBackingStore()->set('providerSessionId', $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); + } + + /** + * Sets the verdict property value. The verdict property + * @param string|null $value Value to set for the verdict property. + */ + public function setVerdict(?string $value): void { + $this->getBackingStore()->set('verdict', $value); + } + +} diff --git a/src/Generated/Models/GranularDriveRestoreArtifact.php b/src/Generated/Models/GranularDriveRestoreArtifact.php index 5a2c91f2d16..94911d78df9 100644 --- a/src/Generated/Models/GranularDriveRestoreArtifact.php +++ b/src/Generated/Models/GranularDriveRestoreArtifact.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Granu } /** - * Gets the directoryObjectId property value. The directoryObjectId property + * Gets the directoryObjectId property value. Id of the drive in which artifact is present. * @return string|null */ public function getDirectoryObjectId(): ?string { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the directoryObjectId property value. The directoryObjectId property + * Sets the directoryObjectId property value. Id of the drive in which artifact is present. * @param string|null $value Value to set for the directoryObjectId property. */ public function setDirectoryObjectId(?string $value): void { diff --git a/src/Generated/Models/GranularRestoreArtifactBase.php b/src/Generated/Models/GranularRestoreArtifactBase.php index caf88ceb525..1ee2edeed2e 100644 --- a/src/Generated/Models/GranularRestoreArtifactBase.php +++ b/src/Generated/Models/GranularRestoreArtifactBase.php @@ -34,7 +34,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Granu } /** - * Gets the browseSessionId property value. The browseSessionId property + * Gets the browseSessionId property value. The unique identifier of the browseSession * @return string|null */ public function getBrowseSessionId(): ?string { @@ -46,7 +46,7 @@ public function getBrowseSessionId(): ?string { } /** - * Gets the completionDateTime property value. The completionDateTime property + * Gets the completionDateTime property value. Date time when the artifact's restoration completes. * @return DateTime|null */ public function getCompletionDateTime(): ?DateTime { @@ -77,7 +77,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the restoredItemKey property value. The restoredItemKey property + * Gets the restoredItemKey property value. The unique identifier for the restored artifact. * @return string|null */ public function getRestoredItemKey(): ?string { @@ -89,7 +89,7 @@ public function getRestoredItemKey(): ?string { } /** - * Gets the restoredItemPath property value. The restoredItemPath property + * Gets the restoredItemPath property value. The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session. * @return string|null */ public function getRestoredItemPath(): ?string { @@ -101,7 +101,7 @@ public function getRestoredItemPath(): ?string { } /** - * Gets the restoredItemWebUrl property value. The restoredItemWebUrl property + * Gets the restoredItemWebUrl property value. The web url of the restord artifact. * @return string|null */ public function getRestoredItemWebUrl(): ?string { @@ -113,7 +113,7 @@ public function getRestoredItemWebUrl(): ?string { } /** - * Gets the restorePointDateTime property value. The restorePointDateTime property + * Gets the restorePointDateTime property value. The restore point date time to which the artifact is restored. * @return DateTime|null */ public function getRestorePointDateTime(): ?DateTime { @@ -125,7 +125,7 @@ public function getRestorePointDateTime(): ?DateTime { } /** - * Gets the startDateTime property value. The startDateTime property + * Gets the startDateTime property value. The start time of the restoration. * @return DateTime|null */ public function getStartDateTime(): ?DateTime { @@ -149,7 +149,7 @@ public function getStatus(): ?ArtifactRestoreStatus { } /** - * Gets the webUrl property value. The webUrl property + * Gets the webUrl property value. The original web url of the artifact being restored. * @return string|null */ public function getWebUrl(): ?string { @@ -178,7 +178,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the browseSessionId property value. The browseSessionId property + * Sets the browseSessionId property value. The unique identifier of the browseSession * @param string|null $value Value to set for the browseSessionId property. */ public function setBrowseSessionId(?string $value): void { @@ -186,7 +186,7 @@ public function setBrowseSessionId(?string $value): void { } /** - * Sets the completionDateTime property value. The completionDateTime property + * Sets the completionDateTime property value. Date time when the artifact's restoration completes. * @param DateTime|null $value Value to set for the completionDateTime property. */ public function setCompletionDateTime(?DateTime $value): void { @@ -194,7 +194,7 @@ public function setCompletionDateTime(?DateTime $value): void { } /** - * Sets the restoredItemKey property value. The restoredItemKey property + * Sets the restoredItemKey property value. The unique identifier for the restored artifact. * @param string|null $value Value to set for the restoredItemKey property. */ public function setRestoredItemKey(?string $value): void { @@ -202,7 +202,7 @@ public function setRestoredItemKey(?string $value): void { } /** - * Sets the restoredItemPath property value. The restoredItemPath property + * Sets the restoredItemPath property value. The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session. * @param string|null $value Value to set for the restoredItemPath property. */ public function setRestoredItemPath(?string $value): void { @@ -210,7 +210,7 @@ public function setRestoredItemPath(?string $value): void { } /** - * Sets the restoredItemWebUrl property value. The restoredItemWebUrl property + * Sets the restoredItemWebUrl property value. The web url of the restord artifact. * @param string|null $value Value to set for the restoredItemWebUrl property. */ public function setRestoredItemWebUrl(?string $value): void { @@ -218,7 +218,7 @@ public function setRestoredItemWebUrl(?string $value): void { } /** - * Sets the restorePointDateTime property value. The restorePointDateTime property + * Sets the restorePointDateTime property value. The restore point date time to which the artifact is restored. * @param DateTime|null $value Value to set for the restorePointDateTime property. */ public function setRestorePointDateTime(?DateTime $value): void { @@ -226,7 +226,7 @@ public function setRestorePointDateTime(?DateTime $value): void { } /** - * Sets the startDateTime property value. The startDateTime property + * Sets the startDateTime property value. The start time of the restoration. * @param DateTime|null $value Value to set for the startDateTime property. */ public function setStartDateTime(?DateTime $value): void { @@ -242,7 +242,7 @@ public function setStatus(?ArtifactRestoreStatus $value): void { } /** - * Sets the webUrl property value. The webUrl property + * Sets the webUrl property value. The original web url of the artifact being restored. * @param string|null $value Value to set for the webUrl property. */ public function setWebUrl(?string $value): void { diff --git a/src/Generated/Models/GranularSiteRestoreArtifact.php b/src/Generated/Models/GranularSiteRestoreArtifact.php index 8ae78b44d8d..71c7aa36641 100644 --- a/src/Generated/Models/GranularSiteRestoreArtifact.php +++ b/src/Generated/Models/GranularSiteRestoreArtifact.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the siteId property value. The siteId property + * Gets the siteId property value. Id of the site in which artifact is present. * @return string|null */ public function getSiteId(): ?string { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the siteId property value. The siteId property + * Sets the siteId property value. Id of the site in which artifact is present. * @param string|null $value Value to set for the siteId property. */ public function setSiteId(?string $value): void { diff --git a/src/Generated/Models/Group.php b/src/Generated/Models/Group.php index 15006740700..afc97164eaf 100644 --- a/src/Generated/Models/Group.php +++ b/src/Generated/Models/Group.php @@ -1192,7 +1192,7 @@ public function getVisibility(): ?string { } /** - * Gets the welcomeMessageEnabled property value. The welcomeMessageEnabled property + * Gets the welcomeMessageEnabled property value. Indicates whether a welcome message is sent to new members when they are added to the group. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @return bool|null */ public function getWelcomeMessageEnabled(): ?bool { @@ -1955,7 +1955,7 @@ public function setVisibility(?string $value): void { } /** - * Sets the welcomeMessageEnabled property value. The welcomeMessageEnabled property + * Sets the welcomeMessageEnabled property value. Indicates whether a welcome message is sent to new members when they are added to the group. 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 welcomeMessageEnabled property. */ public function setWelcomeMessageEnabled(?bool $value): void { diff --git a/src/Generated/Models/MonitorMode.php b/src/Generated/Models/MonitorMode.php index b4e33a6457d..380f7823627 100644 --- a/src/Generated/Models/MonitorMode.php +++ b/src/Generated/Models/MonitorMode.php @@ -5,10 +5,6 @@ use Microsoft\Kiota\Abstractions\Enum; class MonitorMode extends Enum { - public const MONITOR_ONCE = "monitorOnce"; public const MONITOR_ONLY = "monitorOnly"; - public const APPLY_ONCE_AND_MONITOR_CONTINUOUS = "applyOnceAndMonitorContinuous"; - public const APPLY_ONCE = "applyOnce"; - public const APPLY_CONTINUOUS = "applyContinuous"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/OnPasswordMigrationCustomExtensionHandler.php b/src/Generated/Models/OnPasswordMigrationCustomExtensionHandler.php new file mode 100644 index 00000000000..e9593480843 --- /dev/null +++ b/src/Generated/Models/OnPasswordMigrationCustomExtensionHandler.php @@ -0,0 +1,112 @@ +setOdataType('#microsoft.graph.onPasswordMigrationCustomExtensionHandler'); + } + + /** + * 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 OnPasswordMigrationCustomExtensionHandler + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnPasswordMigrationCustomExtensionHandler { + return new OnPasswordMigrationCustomExtensionHandler(); + } + + /** + * Gets the configuration property value. Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. + * @return CustomExtensionOverwriteConfiguration|null + */ + public function getConfiguration(): ?CustomExtensionOverwriteConfiguration { + $val = $this->getBackingStore()->get('configuration'); + if (is_null($val) || $val instanceof CustomExtensionOverwriteConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'configuration'"); + } + + /** + * Gets the customExtension property value. The customExtension property + * @return OnPasswordSubmitCustomExtension|null + */ + public function getCustomExtension(): ?OnPasswordSubmitCustomExtension { + $val = $this->getBackingStore()->get('customExtension'); + if (is_null($val) || $val instanceof OnPasswordSubmitCustomExtension) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customExtension'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'configuration' => fn(ParseNode $n) => $o->setConfiguration($n->getObjectValue([CustomExtensionOverwriteConfiguration::class, 'createFromDiscriminatorValue'])), + 'customExtension' => fn(ParseNode $n) => $o->setCustomExtension($n->getObjectValue([OnPasswordSubmitCustomExtension::class, 'createFromDiscriminatorValue'])), + 'migrationPropertyId' => fn(ParseNode $n) => $o->setMigrationPropertyId($n->getStringValue()), + ]); + } + + /** + * Gets the migrationPropertyId property value. The name of the custom extension attribute that indicates whether a user requires migration. This property must reference a valid custom attribute on the user object (for example, extensionrequiresMigration). Required. + * @return string|null + */ + public function getMigrationPropertyId(): ?string { + $val = $this->getBackingStore()->get('migrationPropertyId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'migrationPropertyId'"); + } + + /** + * 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('configuration', $this->getConfiguration()); + $writer->writeObjectValue('customExtension', $this->getCustomExtension()); + $writer->writeStringValue('migrationPropertyId', $this->getMigrationPropertyId()); + } + + /** + * Sets the configuration property value. Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. + * @param CustomExtensionOverwriteConfiguration|null $value Value to set for the configuration property. + */ + public function setConfiguration(?CustomExtensionOverwriteConfiguration $value): void { + $this->getBackingStore()->set('configuration', $value); + } + + /** + * Sets the customExtension property value. The customExtension property + * @param OnPasswordSubmitCustomExtension|null $value Value to set for the customExtension property. + */ + public function setCustomExtension(?OnPasswordSubmitCustomExtension $value): void { + $this->getBackingStore()->set('customExtension', $value); + } + + /** + * Sets the migrationPropertyId property value. The name of the custom extension attribute that indicates whether a user requires migration. This property must reference a valid custom attribute on the user object (for example, extensionrequiresMigration). Required. + * @param string|null $value Value to set for the migrationPropertyId property. + */ + public function setMigrationPropertyId(?string $value): void { + $this->getBackingStore()->set('migrationPropertyId', $value); + } + +} diff --git a/src/Generated/Models/OnPasswordSubmitCustomExtension.php b/src/Generated/Models/OnPasswordSubmitCustomExtension.php new file mode 100644 index 00000000000..eca5477244c --- /dev/null +++ b/src/Generated/Models/OnPasswordSubmitCustomExtension.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.onPasswordSubmitCustomExtension'); + } + + /** + * 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 OnPasswordSubmitCustomExtension + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnPasswordSubmitCustomExtension { + return new OnPasswordSubmitCustomExtension(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * 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); + } + +} diff --git a/src/Generated/Models/OnPasswordSubmitHandler.php b/src/Generated/Models/OnPasswordSubmitHandler.php new file mode 100644 index 00000000000..3a55c431002 --- /dev/null +++ b/src/Generated/Models/OnPasswordSubmitHandler.php @@ -0,0 +1,121 @@ +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 OnPasswordSubmitHandler + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnPasswordSubmitHandler { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.onPasswordMigrationCustomExtensionHandler': return new OnPasswordMigrationCustomExtensionHandler(); + } + } + return new OnPasswordSubmitHandler(); + } + + /** + * 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()), + ]; + } + + /** + * 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->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 @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/OnPasswordSubmitListener.php b/src/Generated/Models/OnPasswordSubmitListener.php new file mode 100644 index 00000000000..7ed41eb5984 --- /dev/null +++ b/src/Generated/Models/OnPasswordSubmitListener.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.onPasswordSubmitListener'); + } + + /** + * 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 OnPasswordSubmitListener + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnPasswordSubmitListener { + return new OnPasswordSubmitListener(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'handler' => fn(ParseNode $n) => $o->setHandler($n->getObjectValue([OnPasswordSubmitHandler::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the handler property value. Configuration for the handler to invoke when this listener is triggered. For JIT migration scenarios, this is typically an onPasswordMigrationCustomExtensionHandler. + * @return OnPasswordSubmitHandler|null + */ + public function getHandler(): ?OnPasswordSubmitHandler { + $val = $this->getBackingStore()->get('handler'); + if (is_null($val) || $val instanceof OnPasswordSubmitHandler) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'handler'"); + } + + /** + * 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('handler', $this->getHandler()); + } + + /** + * Sets the handler property value. Configuration for the handler to invoke when this listener is triggered. For JIT migration scenarios, this is typically an onPasswordMigrationCustomExtensionHandler. + * @param OnPasswordSubmitHandler|null $value Value to set for the handler property. + */ + public function setHandler(?OnPasswordSubmitHandler $value): void { + $this->getBackingStore()->set('handler', $value); + } + +} diff --git a/src/Generated/Models/OneDriveForBusinessBrowseSession.php b/src/Generated/Models/OneDriveForBusinessBrowseSession.php index 64a3cc84990..e02adc3ec8d 100644 --- a/src/Generated/Models/OneDriveForBusinessBrowseSession.php +++ b/src/Generated/Models/OneDriveForBusinessBrowseSession.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): OneDr } /** - * Gets the directoryObjectId property value. The directoryObjectId property + * Gets the directoryObjectId property value. Id of the backed-up OneDrive. * @return string|null */ public function getDirectoryObjectId(): ?string { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the directoryObjectId property value. The directoryObjectId property + * Sets the directoryObjectId property value. Id of the backed-up OneDrive. * @param string|null $value Value to set for the directoryObjectId property. */ public function setDirectoryObjectId(?string $value): void { diff --git a/src/Generated/Models/OneDriveForBusinessRestoreSession.php b/src/Generated/Models/OneDriveForBusinessRestoreSession.php index 8523ec12228..6984b24dc5a 100644 --- a/src/Generated/Models/OneDriveForBusinessRestoreSession.php +++ b/src/Generated/Models/OneDriveForBusinessRestoreSession.php @@ -68,7 +68,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the granularDriveRestoreArtifacts property value. The granularDriveRestoreArtifacts property + * Gets the granularDriveRestoreArtifacts property value. A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. * @return array|null */ public function getGranularDriveRestoreArtifacts(): ?array { @@ -109,7 +109,7 @@ public function setDriveRestoreArtifactsBulkAdditionRequests(?array $value): voi } /** - * Sets the granularDriveRestoreArtifacts property value. The granularDriveRestoreArtifacts property + * Sets the granularDriveRestoreArtifacts property value. A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. * @param array|null $value Value to set for the granularDriveRestoreArtifacts property. */ public function setGranularDriveRestoreArtifacts(?array $value): void { diff --git a/src/Generated/Models/ProtectionPolicyBase.php b/src/Generated/Models/ProtectionPolicyBase.php index 1a94b6de054..9d3882379cd 100644 --- a/src/Generated/Models/ProtectionPolicyBase.php +++ b/src/Generated/Models/ProtectionPolicyBase.php @@ -97,6 +97,7 @@ public function getFieldDeserializers(): array { 'isEnabled' => fn(ParseNode $n) => $o->setIsEnabled($n->getBooleanValue()), 'lastModifiedBy' => fn(ParseNode $n) => $o->setLastModifiedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), + 'offboardRequestedDateTime' => fn(ParseNode $n) => $o->setOffboardRequestedDateTime($n->getDateTimeValue()), 'protectionMode' => fn(ParseNode $n) => $o->setProtectionMode($n->getEnumValue(BackupPolicyProtectionMode::class)), 'protectionPolicyArtifactCount' => fn(ParseNode $n) => $o->setProtectionPolicyArtifactCount($n->getObjectValue([ProtectionPolicyArtifactCount::class, 'createFromDiscriminatorValue'])), 'retentionSettings' => fn(ParseNode $n) => $o->setRetentionSettings($n->getCollectionOfObjectValues([RetentionSetting::class, 'createFromDiscriminatorValue'])), @@ -140,6 +141,18 @@ public function getLastModifiedDateTime(): ?DateTime { throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedDateTime'"); } + /** + * Gets the offboardRequestedDateTime property value. The offboardRequestedDateTime property + * @return DateTime|null + */ + public function getOffboardRequestedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('offboardRequestedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'offboardRequestedDateTime'"); + } + /** * Gets the protectionMode property value. The protectionMode property * @return BackupPolicyProtectionMode|null @@ -203,6 +216,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('isEnabled', $this->getIsEnabled()); $writer->writeObjectValue('lastModifiedBy', $this->getLastModifiedBy()); $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); + $writer->writeDateTimeValue('offboardRequestedDateTime', $this->getOffboardRequestedDateTime()); $writer->writeEnumValue('protectionMode', $this->getProtectionMode()); $writer->writeObjectValue('protectionPolicyArtifactCount', $this->getProtectionPolicyArtifactCount()); $writer->writeCollectionOfObjectValues('retentionSettings', $this->getRetentionSettings()); @@ -265,6 +279,14 @@ public function setLastModifiedDateTime(?DateTime $value): void { $this->getBackingStore()->set('lastModifiedDateTime', $value); } + /** + * Sets the offboardRequestedDateTime property value. The offboardRequestedDateTime property + * @param DateTime|null $value Value to set for the offboardRequestedDateTime property. + */ + public function setOffboardRequestedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('offboardRequestedDateTime', $value); + } + /** * Sets the protectionMode property value. The protectionMode property * @param BackupPolicyProtectionMode|null $value Value to set for the protectionMode property. diff --git a/src/Generated/Models/ProtectionPolicyStatus.php b/src/Generated/Models/ProtectionPolicyStatus.php index 46dd5b4c2b0..120232574c0 100644 --- a/src/Generated/Models/ProtectionPolicyStatus.php +++ b/src/Generated/Models/ProtectionPolicyStatus.php @@ -11,4 +11,6 @@ class ProtectionPolicyStatus extends Enum { public const ACTIVE = "active"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; public const DORMANT = "dormant"; + public const OFFBOARD_REQUESTED = "offboardRequested"; + public const OFFBOARDED = "offboarded"; } diff --git a/src/Generated/Models/QrCodeImageDetails.php b/src/Generated/Models/QrCodeImageDetails.php index 62ecacebe4c..19204dcb937 100644 --- a/src/Generated/Models/QrCodeImageDetails.php +++ b/src/Generated/Models/QrCodeImageDetails.php @@ -69,7 +69,7 @@ public function getBinaryValue(): ?StreamInterface { } /** - * Gets the errorCorrectionLevel property value. Specifies how much of the QRCode can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. + * Gets the errorCorrectionLevel property value. Specifies how much of the QR code can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. * @return ErrorCorrectionLevel|null */ public function getErrorCorrectionLevel(): ?ErrorCorrectionLevel { @@ -169,7 +169,7 @@ public function setBinaryValue(?StreamInterface $value): void { } /** - * Sets the errorCorrectionLevel property value. Specifies how much of the QRCode can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. + * Sets the errorCorrectionLevel property value. Specifies how much of the QR code can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. * @param ErrorCorrectionLevel|null $value Value to set for the errorCorrectionLevel property. */ public function setErrorCorrectionLevel(?ErrorCorrectionLevel $value): void { diff --git a/src/Generated/Models/RedirectUriAllowedDomainConfiguration.php b/src/Generated/Models/RedirectUriAllowedDomainConfiguration.php new file mode 100644 index 00000000000..c9818d3fa30 --- /dev/null +++ b/src/Generated/Models/RedirectUriAllowedDomainConfiguration.php @@ -0,0 +1,300 @@ +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 RedirectUriAllowedDomainConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriAllowedDomainConfiguration { + return new RedirectUriAllowedDomainConfiguration(); + } + + /** + * 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 allowedDomains property value. The allowedDomains property + * @return array|null + */ + public function getAllowedDomains(): ?array { + $val = $this->getBackingStore()->get('allowedDomains'); + 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 'allowedDomains'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the excludeActors property value. The excludeActors property + * @return AppManagementPolicyActorExemptions|null + */ + public function getExcludeActors(): ?AppManagementPolicyActorExemptions { + $val = $this->getBackingStore()->get('excludeActors'); + if (is_null($val) || $val instanceof AppManagementPolicyActorExemptions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeActors'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'allowedDomains' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAllowedDomains($val); + }, + 'excludeActors' => fn(ParseNode $n) => $o->setExcludeActors($n->getObjectValue([AppManagementPolicyActorExemptions::class, 'createFromDiscriminatorValue'])), + 'isStateSetByMicrosoft' => fn(ParseNode $n) => $o->setIsStateSetByMicrosoft($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'publicClient' => fn(ParseNode $n) => $o->setPublicClient($n->getObjectValue([RedirectUriPlatformAllowedDomainConfiguration::class, 'createFromDiscriminatorValue'])), + 'restrictForAppsCreatedAfterDateTime' => fn(ParseNode $n) => $o->setRestrictForAppsCreatedAfterDateTime($n->getDateTimeValue()), + 'spa' => fn(ParseNode $n) => $o->setSpa($n->getObjectValue([RedirectUriPlatformAllowedDomainConfiguration::class, 'createFromDiscriminatorValue'])), + 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(AppManagementRestrictionState::class)), + 'web' => fn(ParseNode $n) => $o->setWeb($n->getObjectValue([RedirectUriPlatformAllowedDomainConfiguration::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @return bool|null + */ + public function getIsStateSetByMicrosoft(): ?bool { + $val = $this->getBackingStore()->get('isStateSetByMicrosoft'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isStateSetByMicrosoft'"); + } + + /** + * 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 publicClient property value. The publicClient property + * @return RedirectUriPlatformAllowedDomainConfiguration|null + */ + public function getPublicClient(): ?RedirectUriPlatformAllowedDomainConfiguration { + $val = $this->getBackingStore()->get('publicClient'); + if (is_null($val) || $val instanceof RedirectUriPlatformAllowedDomainConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'publicClient'"); + } + + /** + * Gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @return DateTime|null + */ + public function getRestrictForAppsCreatedAfterDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('restrictForAppsCreatedAfterDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'restrictForAppsCreatedAfterDateTime'"); + } + + /** + * Gets the spa property value. The spa property + * @return RedirectUriPlatformAllowedDomainConfiguration|null + */ + public function getSpa(): ?RedirectUriPlatformAllowedDomainConfiguration { + $val = $this->getBackingStore()->get('spa'); + if (is_null($val) || $val instanceof RedirectUriPlatformAllowedDomainConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'spa'"); + } + + /** + * Gets the state property value. The state property + * @return AppManagementRestrictionState|null + */ + public function getState(): ?AppManagementRestrictionState { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || $val instanceof AppManagementRestrictionState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Gets the web property value. The web property + * @return RedirectUriPlatformAllowedDomainConfiguration|null + */ + public function getWeb(): ?RedirectUriPlatformAllowedDomainConfiguration { + $val = $this->getBackingStore()->get('web'); + if (is_null($val) || $val instanceof RedirectUriPlatformAllowedDomainConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'web'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('allowedDomains', $this->getAllowedDomains()); + $writer->writeObjectValue('excludeActors', $this->getExcludeActors()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('publicClient', $this->getPublicClient()); + $writer->writeDateTimeValue('restrictForAppsCreatedAfterDateTime', $this->getRestrictForAppsCreatedAfterDateTime()); + $writer->writeObjectValue('spa', $this->getSpa()); + $writer->writeEnumValue('state', $this->getState()); + $writer->writeObjectValue('web', $this->getWeb()); + $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 allowedDomains property value. The allowedDomains property + * @param array|null $value Value to set for the allowedDomains property. + */ + public function setAllowedDomains(?array $value): void { + $this->getBackingStore()->set('allowedDomains', $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 excludeActors property value. The excludeActors property + * @param AppManagementPolicyActorExemptions|null $value Value to set for the excludeActors property. + */ + public function setExcludeActors(?AppManagementPolicyActorExemptions $value): void { + $this->getBackingStore()->set('excludeActors', $value); + } + + /** + * Sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @param bool|null $value Value to set for the isStateSetByMicrosoft property. + */ + public function setIsStateSetByMicrosoft(?bool $value): void { + $this->getBackingStore()->set('isStateSetByMicrosoft', $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 publicClient property value. The publicClient property + * @param RedirectUriPlatformAllowedDomainConfiguration|null $value Value to set for the publicClient property. + */ + public function setPublicClient(?RedirectUriPlatformAllowedDomainConfiguration $value): void { + $this->getBackingStore()->set('publicClient', $value); + } + + /** + * Sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @param DateTime|null $value Value to set for the restrictForAppsCreatedAfterDateTime property. + */ + public function setRestrictForAppsCreatedAfterDateTime(?DateTime $value): void { + $this->getBackingStore()->set('restrictForAppsCreatedAfterDateTime', $value); + } + + /** + * Sets the spa property value. The spa property + * @param RedirectUriPlatformAllowedDomainConfiguration|null $value Value to set for the spa property. + */ + public function setSpa(?RedirectUriPlatformAllowedDomainConfiguration $value): void { + $this->getBackingStore()->set('spa', $value); + } + + /** + * Sets the state property value. The state property + * @param AppManagementRestrictionState|null $value Value to set for the state property. + */ + public function setState(?AppManagementRestrictionState $value): void { + $this->getBackingStore()->set('state', $value); + } + + /** + * Sets the web property value. The web property + * @param RedirectUriPlatformAllowedDomainConfiguration|null $value Value to set for the web property. + */ + public function setWeb(?RedirectUriPlatformAllowedDomainConfiguration $value): void { + $this->getBackingStore()->set('web', $value); + } + +} diff --git a/src/Generated/Models/RedirectUriAllowedSchemeConfiguration.php b/src/Generated/Models/RedirectUriAllowedSchemeConfiguration.php new file mode 100644 index 00000000000..68599074077 --- /dev/null +++ b/src/Generated/Models/RedirectUriAllowedSchemeConfiguration.php @@ -0,0 +1,300 @@ +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 RedirectUriAllowedSchemeConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriAllowedSchemeConfiguration { + return new RedirectUriAllowedSchemeConfiguration(); + } + + /** + * 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 allowedSchemes property value. The allowedSchemes property + * @return array|null + */ + public function getAllowedSchemes(): ?array { + $val = $this->getBackingStore()->get('allowedSchemes'); + 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 'allowedSchemes'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the excludeActors property value. The excludeActors property + * @return AppManagementPolicyActorExemptions|null + */ + public function getExcludeActors(): ?AppManagementPolicyActorExemptions { + $val = $this->getBackingStore()->get('excludeActors'); + if (is_null($val) || $val instanceof AppManagementPolicyActorExemptions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeActors'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'allowedSchemes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAllowedSchemes($val); + }, + 'excludeActors' => fn(ParseNode $n) => $o->setExcludeActors($n->getObjectValue([AppManagementPolicyActorExemptions::class, 'createFromDiscriminatorValue'])), + 'isStateSetByMicrosoft' => fn(ParseNode $n) => $o->setIsStateSetByMicrosoft($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'publicClient' => fn(ParseNode $n) => $o->setPublicClient($n->getObjectValue([RedirectUriPlatformAllowedSchemeConfiguration::class, 'createFromDiscriminatorValue'])), + 'restrictForAppsCreatedAfterDateTime' => fn(ParseNode $n) => $o->setRestrictForAppsCreatedAfterDateTime($n->getDateTimeValue()), + 'spa' => fn(ParseNode $n) => $o->setSpa($n->getObjectValue([RedirectUriPlatformAllowedSchemeConfiguration::class, 'createFromDiscriminatorValue'])), + 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(AppManagementRestrictionState::class)), + 'web' => fn(ParseNode $n) => $o->setWeb($n->getObjectValue([RedirectUriPlatformAllowedSchemeConfiguration::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @return bool|null + */ + public function getIsStateSetByMicrosoft(): ?bool { + $val = $this->getBackingStore()->get('isStateSetByMicrosoft'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isStateSetByMicrosoft'"); + } + + /** + * 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 publicClient property value. The publicClient property + * @return RedirectUriPlatformAllowedSchemeConfiguration|null + */ + public function getPublicClient(): ?RedirectUriPlatformAllowedSchemeConfiguration { + $val = $this->getBackingStore()->get('publicClient'); + if (is_null($val) || $val instanceof RedirectUriPlatformAllowedSchemeConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'publicClient'"); + } + + /** + * Gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @return DateTime|null + */ + public function getRestrictForAppsCreatedAfterDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('restrictForAppsCreatedAfterDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'restrictForAppsCreatedAfterDateTime'"); + } + + /** + * Gets the spa property value. The spa property + * @return RedirectUriPlatformAllowedSchemeConfiguration|null + */ + public function getSpa(): ?RedirectUriPlatformAllowedSchemeConfiguration { + $val = $this->getBackingStore()->get('spa'); + if (is_null($val) || $val instanceof RedirectUriPlatformAllowedSchemeConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'spa'"); + } + + /** + * Gets the state property value. The state property + * @return AppManagementRestrictionState|null + */ + public function getState(): ?AppManagementRestrictionState { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || $val instanceof AppManagementRestrictionState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Gets the web property value. The web property + * @return RedirectUriPlatformAllowedSchemeConfiguration|null + */ + public function getWeb(): ?RedirectUriPlatformAllowedSchemeConfiguration { + $val = $this->getBackingStore()->get('web'); + if (is_null($val) || $val instanceof RedirectUriPlatformAllowedSchemeConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'web'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('allowedSchemes', $this->getAllowedSchemes()); + $writer->writeObjectValue('excludeActors', $this->getExcludeActors()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('publicClient', $this->getPublicClient()); + $writer->writeDateTimeValue('restrictForAppsCreatedAfterDateTime', $this->getRestrictForAppsCreatedAfterDateTime()); + $writer->writeObjectValue('spa', $this->getSpa()); + $writer->writeEnumValue('state', $this->getState()); + $writer->writeObjectValue('web', $this->getWeb()); + $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 allowedSchemes property value. The allowedSchemes property + * @param array|null $value Value to set for the allowedSchemes property. + */ + public function setAllowedSchemes(?array $value): void { + $this->getBackingStore()->set('allowedSchemes', $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 excludeActors property value. The excludeActors property + * @param AppManagementPolicyActorExemptions|null $value Value to set for the excludeActors property. + */ + public function setExcludeActors(?AppManagementPolicyActorExemptions $value): void { + $this->getBackingStore()->set('excludeActors', $value); + } + + /** + * Sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @param bool|null $value Value to set for the isStateSetByMicrosoft property. + */ + public function setIsStateSetByMicrosoft(?bool $value): void { + $this->getBackingStore()->set('isStateSetByMicrosoft', $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 publicClient property value. The publicClient property + * @param RedirectUriPlatformAllowedSchemeConfiguration|null $value Value to set for the publicClient property. + */ + public function setPublicClient(?RedirectUriPlatformAllowedSchemeConfiguration $value): void { + $this->getBackingStore()->set('publicClient', $value); + } + + /** + * Sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @param DateTime|null $value Value to set for the restrictForAppsCreatedAfterDateTime property. + */ + public function setRestrictForAppsCreatedAfterDateTime(?DateTime $value): void { + $this->getBackingStore()->set('restrictForAppsCreatedAfterDateTime', $value); + } + + /** + * Sets the spa property value. The spa property + * @param RedirectUriPlatformAllowedSchemeConfiguration|null $value Value to set for the spa property. + */ + public function setSpa(?RedirectUriPlatformAllowedSchemeConfiguration $value): void { + $this->getBackingStore()->set('spa', $value); + } + + /** + * Sets the state property value. The state property + * @param AppManagementRestrictionState|null $value Value to set for the state property. + */ + public function setState(?AppManagementRestrictionState $value): void { + $this->getBackingStore()->set('state', $value); + } + + /** + * Sets the web property value. The web property + * @param RedirectUriPlatformAllowedSchemeConfiguration|null $value Value to set for the web property. + */ + public function setWeb(?RedirectUriPlatformAllowedSchemeConfiguration $value): void { + $this->getBackingStore()->set('web', $value); + } + +} diff --git a/src/Generated/Models/RedirectUriBlockedDomainConfiguration.php b/src/Generated/Models/RedirectUriBlockedDomainConfiguration.php new file mode 100644 index 00000000000..4d528679464 --- /dev/null +++ b/src/Generated/Models/RedirectUriBlockedDomainConfiguration.php @@ -0,0 +1,300 @@ +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 RedirectUriBlockedDomainConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriBlockedDomainConfiguration { + return new RedirectUriBlockedDomainConfiguration(); + } + + /** + * 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 blockedDomains property value. The blockedDomains property + * @return array|null + */ + public function getBlockedDomains(): ?array { + $val = $this->getBackingStore()->get('blockedDomains'); + 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 'blockedDomains'"); + } + + /** + * Gets the excludeActors property value. The excludeActors property + * @return AppManagementPolicyActorExemptions|null + */ + public function getExcludeActors(): ?AppManagementPolicyActorExemptions { + $val = $this->getBackingStore()->get('excludeActors'); + if (is_null($val) || $val instanceof AppManagementPolicyActorExemptions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeActors'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'blockedDomains' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setBlockedDomains($val); + }, + 'excludeActors' => fn(ParseNode $n) => $o->setExcludeActors($n->getObjectValue([AppManagementPolicyActorExemptions::class, 'createFromDiscriminatorValue'])), + 'isStateSetByMicrosoft' => fn(ParseNode $n) => $o->setIsStateSetByMicrosoft($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'publicClient' => fn(ParseNode $n) => $o->setPublicClient($n->getObjectValue([RedirectUriPlatformBlockedDomainConfiguration::class, 'createFromDiscriminatorValue'])), + 'restrictForAppsCreatedAfterDateTime' => fn(ParseNode $n) => $o->setRestrictForAppsCreatedAfterDateTime($n->getDateTimeValue()), + 'spa' => fn(ParseNode $n) => $o->setSpa($n->getObjectValue([RedirectUriPlatformBlockedDomainConfiguration::class, 'createFromDiscriminatorValue'])), + 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(AppManagementRestrictionState::class)), + 'web' => fn(ParseNode $n) => $o->setWeb($n->getObjectValue([RedirectUriPlatformBlockedDomainConfiguration::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @return bool|null + */ + public function getIsStateSetByMicrosoft(): ?bool { + $val = $this->getBackingStore()->get('isStateSetByMicrosoft'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isStateSetByMicrosoft'"); + } + + /** + * 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 publicClient property value. The publicClient property + * @return RedirectUriPlatformBlockedDomainConfiguration|null + */ + public function getPublicClient(): ?RedirectUriPlatformBlockedDomainConfiguration { + $val = $this->getBackingStore()->get('publicClient'); + if (is_null($val) || $val instanceof RedirectUriPlatformBlockedDomainConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'publicClient'"); + } + + /** + * Gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @return DateTime|null + */ + public function getRestrictForAppsCreatedAfterDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('restrictForAppsCreatedAfterDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'restrictForAppsCreatedAfterDateTime'"); + } + + /** + * Gets the spa property value. The spa property + * @return RedirectUriPlatformBlockedDomainConfiguration|null + */ + public function getSpa(): ?RedirectUriPlatformBlockedDomainConfiguration { + $val = $this->getBackingStore()->get('spa'); + if (is_null($val) || $val instanceof RedirectUriPlatformBlockedDomainConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'spa'"); + } + + /** + * Gets the state property value. The state property + * @return AppManagementRestrictionState|null + */ + public function getState(): ?AppManagementRestrictionState { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || $val instanceof AppManagementRestrictionState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Gets the web property value. The web property + * @return RedirectUriPlatformBlockedDomainConfiguration|null + */ + public function getWeb(): ?RedirectUriPlatformBlockedDomainConfiguration { + $val = $this->getBackingStore()->get('web'); + if (is_null($val) || $val instanceof RedirectUriPlatformBlockedDomainConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'web'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('blockedDomains', $this->getBlockedDomains()); + $writer->writeObjectValue('excludeActors', $this->getExcludeActors()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('publicClient', $this->getPublicClient()); + $writer->writeDateTimeValue('restrictForAppsCreatedAfterDateTime', $this->getRestrictForAppsCreatedAfterDateTime()); + $writer->writeObjectValue('spa', $this->getSpa()); + $writer->writeEnumValue('state', $this->getState()); + $writer->writeObjectValue('web', $this->getWeb()); + $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 blockedDomains property value. The blockedDomains property + * @param array|null $value Value to set for the blockedDomains property. + */ + public function setBlockedDomains(?array $value): void { + $this->getBackingStore()->set('blockedDomains', $value); + } + + /** + * Sets the excludeActors property value. The excludeActors property + * @param AppManagementPolicyActorExemptions|null $value Value to set for the excludeActors property. + */ + public function setExcludeActors(?AppManagementPolicyActorExemptions $value): void { + $this->getBackingStore()->set('excludeActors', $value); + } + + /** + * Sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @param bool|null $value Value to set for the isStateSetByMicrosoft property. + */ + public function setIsStateSetByMicrosoft(?bool $value): void { + $this->getBackingStore()->set('isStateSetByMicrosoft', $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 publicClient property value. The publicClient property + * @param RedirectUriPlatformBlockedDomainConfiguration|null $value Value to set for the publicClient property. + */ + public function setPublicClient(?RedirectUriPlatformBlockedDomainConfiguration $value): void { + $this->getBackingStore()->set('publicClient', $value); + } + + /** + * Sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @param DateTime|null $value Value to set for the restrictForAppsCreatedAfterDateTime property. + */ + public function setRestrictForAppsCreatedAfterDateTime(?DateTime $value): void { + $this->getBackingStore()->set('restrictForAppsCreatedAfterDateTime', $value); + } + + /** + * Sets the spa property value. The spa property + * @param RedirectUriPlatformBlockedDomainConfiguration|null $value Value to set for the spa property. + */ + public function setSpa(?RedirectUriPlatformBlockedDomainConfiguration $value): void { + $this->getBackingStore()->set('spa', $value); + } + + /** + * Sets the state property value. The state property + * @param AppManagementRestrictionState|null $value Value to set for the state property. + */ + public function setState(?AppManagementRestrictionState $value): void { + $this->getBackingStore()->set('state', $value); + } + + /** + * Sets the web property value. The web property + * @param RedirectUriPlatformBlockedDomainConfiguration|null $value Value to set for the web property. + */ + public function setWeb(?RedirectUriPlatformBlockedDomainConfiguration $value): void { + $this->getBackingStore()->set('web', $value); + } + +} diff --git a/src/Generated/Models/RedirectUriBlockedSchemeConfiguration.php b/src/Generated/Models/RedirectUriBlockedSchemeConfiguration.php new file mode 100644 index 00000000000..1e68772605d --- /dev/null +++ b/src/Generated/Models/RedirectUriBlockedSchemeConfiguration.php @@ -0,0 +1,331 @@ +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 RedirectUriBlockedSchemeConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriBlockedSchemeConfiguration { + return new RedirectUriBlockedSchemeConfiguration(); + } + + /** + * 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 blockedSchemes property value. The blockedSchemes property + * @return array|null + */ + public function getBlockedSchemes(): ?array { + $val = $this->getBackingStore()->get('blockedSchemes'); + 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 'blockedSchemes'"); + } + + /** + * Gets the excludeActors property value. The excludeActors property + * @return AppManagementPolicyActorExemptions|null + */ + public function getExcludeActors(): ?AppManagementPolicyActorExemptions { + $val = $this->getBackingStore()->get('excludeActors'); + if (is_null($val) || $val instanceof AppManagementPolicyActorExemptions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeActors'"); + } + + /** + * Gets the exemptFormats property value. The exemptFormats property + * @return array|null + */ + public function getExemptFormats(): ?array { + $val = $this->getBackingStore()->get('exemptFormats'); + 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 'exemptFormats'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'blockedSchemes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setBlockedSchemes($val); + }, + 'excludeActors' => fn(ParseNode $n) => $o->setExcludeActors($n->getObjectValue([AppManagementPolicyActorExemptions::class, 'createFromDiscriminatorValue'])), + 'exemptFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setExemptFormats($val); + }, + 'isStateSetByMicrosoft' => fn(ParseNode $n) => $o->setIsStateSetByMicrosoft($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'publicClient' => fn(ParseNode $n) => $o->setPublicClient($n->getObjectValue([RedirectUriPlatformBlockedSchemeConfiguration::class, 'createFromDiscriminatorValue'])), + 'restrictForAppsCreatedAfterDateTime' => fn(ParseNode $n) => $o->setRestrictForAppsCreatedAfterDateTime($n->getDateTimeValue()), + 'spa' => fn(ParseNode $n) => $o->setSpa($n->getObjectValue([RedirectUriPlatformBlockedSchemeConfiguration::class, 'createFromDiscriminatorValue'])), + 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(AppManagementRestrictionState::class)), + 'web' => fn(ParseNode $n) => $o->setWeb($n->getObjectValue([RedirectUriPlatformBlockedSchemeConfiguration::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @return bool|null + */ + public function getIsStateSetByMicrosoft(): ?bool { + $val = $this->getBackingStore()->get('isStateSetByMicrosoft'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isStateSetByMicrosoft'"); + } + + /** + * 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 publicClient property value. The publicClient property + * @return RedirectUriPlatformBlockedSchemeConfiguration|null + */ + public function getPublicClient(): ?RedirectUriPlatformBlockedSchemeConfiguration { + $val = $this->getBackingStore()->get('publicClient'); + if (is_null($val) || $val instanceof RedirectUriPlatformBlockedSchemeConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'publicClient'"); + } + + /** + * Gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @return DateTime|null + */ + public function getRestrictForAppsCreatedAfterDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('restrictForAppsCreatedAfterDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'restrictForAppsCreatedAfterDateTime'"); + } + + /** + * Gets the spa property value. The spa property + * @return RedirectUriPlatformBlockedSchemeConfiguration|null + */ + public function getSpa(): ?RedirectUriPlatformBlockedSchemeConfiguration { + $val = $this->getBackingStore()->get('spa'); + if (is_null($val) || $val instanceof RedirectUriPlatformBlockedSchemeConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'spa'"); + } + + /** + * Gets the state property value. The state property + * @return AppManagementRestrictionState|null + */ + public function getState(): ?AppManagementRestrictionState { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || $val instanceof AppManagementRestrictionState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Gets the web property value. The web property + * @return RedirectUriPlatformBlockedSchemeConfiguration|null + */ + public function getWeb(): ?RedirectUriPlatformBlockedSchemeConfiguration { + $val = $this->getBackingStore()->get('web'); + if (is_null($val) || $val instanceof RedirectUriPlatformBlockedSchemeConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'web'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('blockedSchemes', $this->getBlockedSchemes()); + $writer->writeObjectValue('excludeActors', $this->getExcludeActors()); + $writer->writeCollectionOfPrimitiveValues('exemptFormats', $this->getExemptFormats()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('publicClient', $this->getPublicClient()); + $writer->writeDateTimeValue('restrictForAppsCreatedAfterDateTime', $this->getRestrictForAppsCreatedAfterDateTime()); + $writer->writeObjectValue('spa', $this->getSpa()); + $writer->writeEnumValue('state', $this->getState()); + $writer->writeObjectValue('web', $this->getWeb()); + $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 blockedSchemes property value. The blockedSchemes property + * @param array|null $value Value to set for the blockedSchemes property. + */ + public function setBlockedSchemes(?array $value): void { + $this->getBackingStore()->set('blockedSchemes', $value); + } + + /** + * Sets the excludeActors property value. The excludeActors property + * @param AppManagementPolicyActorExemptions|null $value Value to set for the excludeActors property. + */ + public function setExcludeActors(?AppManagementPolicyActorExemptions $value): void { + $this->getBackingStore()->set('excludeActors', $value); + } + + /** + * Sets the exemptFormats property value. The exemptFormats property + * @param array|null $value Value to set for the exemptFormats property. + */ + public function setExemptFormats(?array $value): void { + $this->getBackingStore()->set('exemptFormats', $value); + } + + /** + * Sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @param bool|null $value Value to set for the isStateSetByMicrosoft property. + */ + public function setIsStateSetByMicrosoft(?bool $value): void { + $this->getBackingStore()->set('isStateSetByMicrosoft', $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 publicClient property value. The publicClient property + * @param RedirectUriPlatformBlockedSchemeConfiguration|null $value Value to set for the publicClient property. + */ + public function setPublicClient(?RedirectUriPlatformBlockedSchemeConfiguration $value): void { + $this->getBackingStore()->set('publicClient', $value); + } + + /** + * Sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @param DateTime|null $value Value to set for the restrictForAppsCreatedAfterDateTime property. + */ + public function setRestrictForAppsCreatedAfterDateTime(?DateTime $value): void { + $this->getBackingStore()->set('restrictForAppsCreatedAfterDateTime', $value); + } + + /** + * Sets the spa property value. The spa property + * @param RedirectUriPlatformBlockedSchemeConfiguration|null $value Value to set for the spa property. + */ + public function setSpa(?RedirectUriPlatformBlockedSchemeConfiguration $value): void { + $this->getBackingStore()->set('spa', $value); + } + + /** + * Sets the state property value. The state property + * @param AppManagementRestrictionState|null $value Value to set for the state property. + */ + public function setState(?AppManagementRestrictionState $value): void { + $this->getBackingStore()->set('state', $value); + } + + /** + * Sets the web property value. The web property + * @param RedirectUriPlatformBlockedSchemeConfiguration|null $value Value to set for the web property. + */ + public function setWeb(?RedirectUriPlatformBlockedSchemeConfiguration $value): void { + $this->getBackingStore()->set('web', $value); + } + +} diff --git a/src/Generated/Models/RedirectUriConfiguration.php b/src/Generated/Models/RedirectUriConfiguration.php new file mode 100644 index 00000000000..baebe08fb93 --- /dev/null +++ b/src/Generated/Models/RedirectUriConfiguration.php @@ -0,0 +1,224 @@ +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 RedirectUriConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriConfiguration { + return new RedirectUriConfiguration(); + } + + /** + * 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()), + 'uriWithBlockedDomain' => fn(ParseNode $n) => $o->setUriWithBlockedDomain($n->getObjectValue([RedirectUriBlockedDomainConfiguration::class, 'createFromDiscriminatorValue'])), + 'uriWithBlockedScheme' => fn(ParseNode $n) => $o->setUriWithBlockedScheme($n->getObjectValue([RedirectUriBlockedSchemeConfiguration::class, 'createFromDiscriminatorValue'])), + 'uriWithoutAllowedDomain' => fn(ParseNode $n) => $o->setUriWithoutAllowedDomain($n->getObjectValue([RedirectUriAllowedDomainConfiguration::class, 'createFromDiscriminatorValue'])), + 'uriWithoutAllowedScheme' => fn(ParseNode $n) => $o->setUriWithoutAllowedScheme($n->getObjectValue([RedirectUriAllowedSchemeConfiguration::class, 'createFromDiscriminatorValue'])), + 'uriWithWildcard' => fn(ParseNode $n) => $o->setUriWithWildcard($n->getObjectValue([RedirectUriWildcardConfiguration::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * 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 uriWithBlockedDomain property value. The uriWithBlockedDomain property + * @return RedirectUriBlockedDomainConfiguration|null + */ + public function getUriWithBlockedDomain(): ?RedirectUriBlockedDomainConfiguration { + $val = $this->getBackingStore()->get('uriWithBlockedDomain'); + if (is_null($val) || $val instanceof RedirectUriBlockedDomainConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'uriWithBlockedDomain'"); + } + + /** + * Gets the uriWithBlockedScheme property value. The uriWithBlockedScheme property + * @return RedirectUriBlockedSchemeConfiguration|null + */ + public function getUriWithBlockedScheme(): ?RedirectUriBlockedSchemeConfiguration { + $val = $this->getBackingStore()->get('uriWithBlockedScheme'); + if (is_null($val) || $val instanceof RedirectUriBlockedSchemeConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'uriWithBlockedScheme'"); + } + + /** + * Gets the uriWithoutAllowedDomain property value. The uriWithoutAllowedDomain property + * @return RedirectUriAllowedDomainConfiguration|null + */ + public function getUriWithoutAllowedDomain(): ?RedirectUriAllowedDomainConfiguration { + $val = $this->getBackingStore()->get('uriWithoutAllowedDomain'); + if (is_null($val) || $val instanceof RedirectUriAllowedDomainConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'uriWithoutAllowedDomain'"); + } + + /** + * Gets the uriWithoutAllowedScheme property value. The uriWithoutAllowedScheme property + * @return RedirectUriAllowedSchemeConfiguration|null + */ + public function getUriWithoutAllowedScheme(): ?RedirectUriAllowedSchemeConfiguration { + $val = $this->getBackingStore()->get('uriWithoutAllowedScheme'); + if (is_null($val) || $val instanceof RedirectUriAllowedSchemeConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'uriWithoutAllowedScheme'"); + } + + /** + * Gets the uriWithWildcard property value. The uriWithWildcard property + * @return RedirectUriWildcardConfiguration|null + */ + public function getUriWithWildcard(): ?RedirectUriWildcardConfiguration { + $val = $this->getBackingStore()->get('uriWithWildcard'); + if (is_null($val) || $val instanceof RedirectUriWildcardConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'uriWithWildcard'"); + } + + /** + * 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->writeObjectValue('uriWithBlockedDomain', $this->getUriWithBlockedDomain()); + $writer->writeObjectValue('uriWithBlockedScheme', $this->getUriWithBlockedScheme()); + $writer->writeObjectValue('uriWithoutAllowedDomain', $this->getUriWithoutAllowedDomain()); + $writer->writeObjectValue('uriWithoutAllowedScheme', $this->getUriWithoutAllowedScheme()); + $writer->writeObjectValue('uriWithWildcard', $this->getUriWithWildcard()); + $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 uriWithBlockedDomain property value. The uriWithBlockedDomain property + * @param RedirectUriBlockedDomainConfiguration|null $value Value to set for the uriWithBlockedDomain property. + */ + public function setUriWithBlockedDomain(?RedirectUriBlockedDomainConfiguration $value): void { + $this->getBackingStore()->set('uriWithBlockedDomain', $value); + } + + /** + * Sets the uriWithBlockedScheme property value. The uriWithBlockedScheme property + * @param RedirectUriBlockedSchemeConfiguration|null $value Value to set for the uriWithBlockedScheme property. + */ + public function setUriWithBlockedScheme(?RedirectUriBlockedSchemeConfiguration $value): void { + $this->getBackingStore()->set('uriWithBlockedScheme', $value); + } + + /** + * Sets the uriWithoutAllowedDomain property value. The uriWithoutAllowedDomain property + * @param RedirectUriAllowedDomainConfiguration|null $value Value to set for the uriWithoutAllowedDomain property. + */ + public function setUriWithoutAllowedDomain(?RedirectUriAllowedDomainConfiguration $value): void { + $this->getBackingStore()->set('uriWithoutAllowedDomain', $value); + } + + /** + * Sets the uriWithoutAllowedScheme property value. The uriWithoutAllowedScheme property + * @param RedirectUriAllowedSchemeConfiguration|null $value Value to set for the uriWithoutAllowedScheme property. + */ + public function setUriWithoutAllowedScheme(?RedirectUriAllowedSchemeConfiguration $value): void { + $this->getBackingStore()->set('uriWithoutAllowedScheme', $value); + } + + /** + * Sets the uriWithWildcard property value. The uriWithWildcard property + * @param RedirectUriWildcardConfiguration|null $value Value to set for the uriWithWildcard property. + */ + public function setUriWithWildcard(?RedirectUriWildcardConfiguration $value): void { + $this->getBackingStore()->set('uriWithWildcard', $value); + } + +} diff --git a/src/Generated/Models/RedirectUriPlatformAllowedDomainConfiguration.php b/src/Generated/Models/RedirectUriPlatformAllowedDomainConfiguration.php new file mode 100644 index 00000000000..45e402d3c26 --- /dev/null +++ b/src/Generated/Models/RedirectUriPlatformAllowedDomainConfiguration.php @@ -0,0 +1,146 @@ +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 RedirectUriPlatformAllowedDomainConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriPlatformAllowedDomainConfiguration { + return new RedirectUriPlatformAllowedDomainConfiguration(); + } + + /** + * 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 allowedDomains property value. The allowedDomains property + * @return array|null + */ + public function getAllowedDomains(): ?array { + $val = $this->getBackingStore()->get('allowedDomains'); + 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 'allowedDomains'"); + } + + /** + * 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 [ + 'allowedDomains' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAllowedDomains($val); + }, + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('allowedDomains', $this->getAllowedDomains()); + $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 allowedDomains property value. The allowedDomains property + * @param array|null $value Value to set for the allowedDomains property. + */ + public function setAllowedDomains(?array $value): void { + $this->getBackingStore()->set('allowedDomains', $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); + } + +} diff --git a/src/Generated/Models/RedirectUriPlatformAllowedSchemeConfiguration.php b/src/Generated/Models/RedirectUriPlatformAllowedSchemeConfiguration.php new file mode 100644 index 00000000000..7b2e41ab488 --- /dev/null +++ b/src/Generated/Models/RedirectUriPlatformAllowedSchemeConfiguration.php @@ -0,0 +1,146 @@ +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 RedirectUriPlatformAllowedSchemeConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriPlatformAllowedSchemeConfiguration { + return new RedirectUriPlatformAllowedSchemeConfiguration(); + } + + /** + * 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 allowedSchemes property value. The allowedSchemes property + * @return array|null + */ + public function getAllowedSchemes(): ?array { + $val = $this->getBackingStore()->get('allowedSchemes'); + 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 'allowedSchemes'"); + } + + /** + * 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 [ + 'allowedSchemes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAllowedSchemes($val); + }, + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('allowedSchemes', $this->getAllowedSchemes()); + $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 allowedSchemes property value. The allowedSchemes property + * @param array|null $value Value to set for the allowedSchemes property. + */ + public function setAllowedSchemes(?array $value): void { + $this->getBackingStore()->set('allowedSchemes', $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); + } + +} diff --git a/src/Generated/Models/RedirectUriPlatformBlockedDomainConfiguration.php b/src/Generated/Models/RedirectUriPlatformBlockedDomainConfiguration.php new file mode 100644 index 00000000000..43f0875fdef --- /dev/null +++ b/src/Generated/Models/RedirectUriPlatformBlockedDomainConfiguration.php @@ -0,0 +1,146 @@ +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 RedirectUriPlatformBlockedDomainConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriPlatformBlockedDomainConfiguration { + return new RedirectUriPlatformBlockedDomainConfiguration(); + } + + /** + * 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 blockedDomains property value. The blockedDomains property + * @return array|null + */ + public function getBlockedDomains(): ?array { + $val = $this->getBackingStore()->get('blockedDomains'); + 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 'blockedDomains'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'blockedDomains' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setBlockedDomains($val); + }, + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('blockedDomains', $this->getBlockedDomains()); + $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 blockedDomains property value. The blockedDomains property + * @param array|null $value Value to set for the blockedDomains property. + */ + public function setBlockedDomains(?array $value): void { + $this->getBackingStore()->set('blockedDomains', $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/RedirectUriPlatformBlockedSchemeConfiguration.php b/src/Generated/Models/RedirectUriPlatformBlockedSchemeConfiguration.php new file mode 100644 index 00000000000..e967101722a --- /dev/null +++ b/src/Generated/Models/RedirectUriPlatformBlockedSchemeConfiguration.php @@ -0,0 +1,177 @@ +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 RedirectUriPlatformBlockedSchemeConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriPlatformBlockedSchemeConfiguration { + return new RedirectUriPlatformBlockedSchemeConfiguration(); + } + + /** + * 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 blockedSchemes property value. The blockedSchemes property + * @return array|null + */ + public function getBlockedSchemes(): ?array { + $val = $this->getBackingStore()->get('blockedSchemes'); + 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 'blockedSchemes'"); + } + + /** + * Gets the exemptFormats property value. The exemptFormats property + * @return array|null + */ + public function getExemptFormats(): ?array { + $val = $this->getBackingStore()->get('exemptFormats'); + 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 'exemptFormats'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'blockedSchemes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setBlockedSchemes($val); + }, + 'exemptFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setExemptFormats($val); + }, + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('blockedSchemes', $this->getBlockedSchemes()); + $writer->writeCollectionOfPrimitiveValues('exemptFormats', $this->getExemptFormats()); + $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 blockedSchemes property value. The blockedSchemes property + * @param array|null $value Value to set for the blockedSchemes property. + */ + public function setBlockedSchemes(?array $value): void { + $this->getBackingStore()->set('blockedSchemes', $value); + } + + /** + * Sets the exemptFormats property value. The exemptFormats property + * @param array|null $value Value to set for the exemptFormats property. + */ + public function setExemptFormats(?array $value): void { + $this->getBackingStore()->set('exemptFormats', $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/RedirectUriWildcardConfiguration.php b/src/Generated/Models/RedirectUriWildcardConfiguration.php new file mode 100644 index 00000000000..d52aaeff330 --- /dev/null +++ b/src/Generated/Models/RedirectUriWildcardConfiguration.php @@ -0,0 +1,224 @@ +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 RedirectUriWildcardConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriWildcardConfiguration { + return new RedirectUriWildcardConfiguration(); + } + + /** + * 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 excludeActors property value. The excludeActors property + * @return AppManagementPolicyActorExemptions|null + */ + public function getExcludeActors(): ?AppManagementPolicyActorExemptions { + $val = $this->getBackingStore()->get('excludeActors'); + if (is_null($val) || $val instanceof AppManagementPolicyActorExemptions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeActors'"); + } + + /** + * Gets the excludeFormats property value. The excludeFormats property + * @return RedirectUriWildcardExcludeFormats|null + */ + public function getExcludeFormats(): ?RedirectUriWildcardExcludeFormats { + $val = $this->getBackingStore()->get('excludeFormats'); + if (is_null($val) || $val instanceof RedirectUriWildcardExcludeFormats) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeFormats'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'excludeActors' => fn(ParseNode $n) => $o->setExcludeActors($n->getObjectValue([AppManagementPolicyActorExemptions::class, 'createFromDiscriminatorValue'])), + 'excludeFormats' => fn(ParseNode $n) => $o->setExcludeFormats($n->getObjectValue([RedirectUriWildcardExcludeFormats::class, 'createFromDiscriminatorValue'])), + 'isStateSetByMicrosoft' => fn(ParseNode $n) => $o->setIsStateSetByMicrosoft($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'restrictForAppsCreatedAfterDateTime' => fn(ParseNode $n) => $o->setRestrictForAppsCreatedAfterDateTime($n->getDateTimeValue()), + 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(AppManagementRestrictionState::class)), + ]; + } + + /** + * Gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @return bool|null + */ + public function getIsStateSetByMicrosoft(): ?bool { + $val = $this->getBackingStore()->get('isStateSetByMicrosoft'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isStateSetByMicrosoft'"); + } + + /** + * 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 restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @return DateTime|null + */ + public function getRestrictForAppsCreatedAfterDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('restrictForAppsCreatedAfterDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'restrictForAppsCreatedAfterDateTime'"); + } + + /** + * Gets the state property value. The state property + * @return AppManagementRestrictionState|null + */ + public function getState(): ?AppManagementRestrictionState { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || $val instanceof AppManagementRestrictionState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('excludeActors', $this->getExcludeActors()); + $writer->writeObjectValue('excludeFormats', $this->getExcludeFormats()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeDateTimeValue('restrictForAppsCreatedAfterDateTime', $this->getRestrictForAppsCreatedAfterDateTime()); + $writer->writeEnumValue('state', $this->getState()); + $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 excludeActors property value. The excludeActors property + * @param AppManagementPolicyActorExemptions|null $value Value to set for the excludeActors property. + */ + public function setExcludeActors(?AppManagementPolicyActorExemptions $value): void { + $this->getBackingStore()->set('excludeActors', $value); + } + + /** + * Sets the excludeFormats property value. The excludeFormats property + * @param RedirectUriWildcardExcludeFormats|null $value Value to set for the excludeFormats property. + */ + public function setExcludeFormats(?RedirectUriWildcardExcludeFormats $value): void { + $this->getBackingStore()->set('excludeFormats', $value); + } + + /** + * Sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property + * @param bool|null $value Value to set for the isStateSetByMicrosoft property. + */ + public function setIsStateSetByMicrosoft(?bool $value): void { + $this->getBackingStore()->set('isStateSetByMicrosoft', $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 restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property + * @param DateTime|null $value Value to set for the restrictForAppsCreatedAfterDateTime property. + */ + public function setRestrictForAppsCreatedAfterDateTime(?DateTime $value): void { + $this->getBackingStore()->set('restrictForAppsCreatedAfterDateTime', $value); + } + + /** + * Sets the state property value. The state property + * @param AppManagementRestrictionState|null $value Value to set for the state property. + */ + public function setState(?AppManagementRestrictionState $value): void { + $this->getBackingStore()->set('state', $value); + } + +} diff --git a/src/Generated/Models/RedirectUriWildcardExcludeFormats.php b/src/Generated/Models/RedirectUriWildcardExcludeFormats.php new file mode 100644 index 00000000000..c5b04c313f8 --- /dev/null +++ b/src/Generated/Models/RedirectUriWildcardExcludeFormats.php @@ -0,0 +1,168 @@ +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 RedirectUriWildcardExcludeFormats + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RedirectUriWildcardExcludeFormats { + return new RedirectUriWildcardExcludeFormats(); + } + + /** + * 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 excludeWildcardsInPath property value. The excludeWildcardsInPath property + * @return bool|null + */ + public function getExcludeWildcardsInPath(): ?bool { + $val = $this->getBackingStore()->get('excludeWildcardsInPath'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeWildcardsInPath'"); + } + + /** + * Gets the excludeWildcardsInPathWithDomains property value. The excludeWildcardsInPathWithDomains property + * @return array|null + */ + public function getExcludeWildcardsInPathWithDomains(): ?array { + $val = $this->getBackingStore()->get('excludeWildcardsInPathWithDomains'); + 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 'excludeWildcardsInPathWithDomains'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'excludeWildcardsInPath' => fn(ParseNode $n) => $o->setExcludeWildcardsInPath($n->getBooleanValue()), + 'excludeWildcardsInPathWithDomains' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setExcludeWildcardsInPathWithDomains($val); + }, + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('excludeWildcardsInPath', $this->getExcludeWildcardsInPath()); + $writer->writeCollectionOfPrimitiveValues('excludeWildcardsInPathWithDomains', $this->getExcludeWildcardsInPathWithDomains()); + $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 excludeWildcardsInPath property value. The excludeWildcardsInPath property + * @param bool|null $value Value to set for the excludeWildcardsInPath property. + */ + public function setExcludeWildcardsInPath(?bool $value): void { + $this->getBackingStore()->set('excludeWildcardsInPath', $value); + } + + /** + * Sets the excludeWildcardsInPathWithDomains property value. The excludeWildcardsInPathWithDomains property + * @param array|null $value Value to set for the excludeWildcardsInPathWithDomains property. + */ + public function setExcludeWildcardsInPathWithDomains(?array $value): void { + $this->getBackingStore()->set('excludeWildcardsInPathWithDomains', $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/RiskyAgent.php b/src/Generated/Models/RiskyAgent.php index e95e3868a2a..6a8a2ea7f22 100644 --- a/src/Generated/Models/RiskyAgent.php +++ b/src/Generated/Models/RiskyAgent.php @@ -54,6 +54,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'agentDisplayName' => fn(ParseNode $n) => $o->setAgentDisplayName($n->getStringValue()), + 'identityType' => fn(ParseNode $n) => $o->setIdentityType($n->getEnumValue(AgentIdentityType::class)), 'isDeleted' => fn(ParseNode $n) => $o->setIsDeleted($n->getBooleanValue()), 'isEnabled' => fn(ParseNode $n) => $o->setIsEnabled($n->getBooleanValue()), 'isProcessing' => fn(ParseNode $n) => $o->setIsProcessing($n->getBooleanValue()), @@ -64,6 +65,18 @@ public function getFieldDeserializers(): array { ]); } + /** + * Gets the identityType property value. The identityType property + * @return AgentIdentityType|null + */ + public function getIdentityType(): ?AgentIdentityType { + $val = $this->getBackingStore()->get('identityType'); + if (is_null($val) || $val instanceof AgentIdentityType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identityType'"); + } + /** * Gets the isDeleted property value. Indicates whether the agent is deleted. * @return bool|null @@ -155,6 +168,7 @@ public function getRiskState(): ?RiskState { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('agentDisplayName', $this->getAgentDisplayName()); + $writer->writeEnumValue('identityType', $this->getIdentityType()); $writer->writeBooleanValue('isDeleted', $this->getIsDeleted()); $writer->writeBooleanValue('isEnabled', $this->getIsEnabled()); $writer->writeBooleanValue('isProcessing', $this->getIsProcessing()); @@ -172,6 +186,14 @@ public function setAgentDisplayName(?string $value): void { $this->getBackingStore()->set('agentDisplayName', $value); } + /** + * Sets the identityType property value. The identityType property + * @param AgentIdentityType|null $value Value to set for the identityType property. + */ + public function setIdentityType(?AgentIdentityType $value): void { + $this->getBackingStore()->set('identityType', $value); + } + /** * Sets the isDeleted property value. Indicates whether the agent is deleted. * @param bool|null $value Value to set for the isDeleted property. diff --git a/src/Generated/Models/ClientCredentials.php b/src/Generated/Models/Security/AggregatedEnvironment.php similarity index 71% rename from src/Generated/Models/ClientCredentials.php rename to src/Generated/Models/Security/AggregatedEnvironment.php index 15f7f3c6ce3..275bac8edd6 100644 --- a/src/Generated/Models/ClientCredentials.php +++ b/src/Generated/Models/Security/AggregatedEnvironment.php @@ -1,6 +1,6 @@ backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,10 +28,10 @@ public function __construct() { /** * 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 ClientCredentials + * @return AggregatedEnvironment */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ClientCredentials { - return new ClientCredentials(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): AggregatedEnvironment { + return new AggregatedEnvironment(); } /** @@ -56,15 +56,15 @@ public function getBackingStore(): BackingStore { } /** - * Gets the certificateName property value. The certificateName property - * @return string|null + * Gets the count property value. Number of environments of this type. + * @return int|null */ - public function getCertificateName(): ?string { - $val = $this->getBackingStore()->get('certificateName'); - if (is_null($val) || is_string($val)) { + public function getCount(): ?int { + $val = $this->getBackingStore()->get('count'); + if (is_null($val) || is_int($val)) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'certificateName'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'count'"); } /** @@ -74,22 +74,22 @@ public function getCertificateName(): ?string { public function getFieldDeserializers(): array { $o = $this; return [ - 'certificateName' => fn(ParseNode $n) => $o->setCertificateName($n->getStringValue()), - 'keyVaultUri' => fn(ParseNode $n) => $o->setKeyVaultUri($n->getStringValue()), + 'count' => fn(ParseNode $n) => $o->setCount($n->getIntegerValue()), + 'kind' => fn(ParseNode $n) => $o->setKind($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; } /** - * Gets the keyVaultUri property value. The keyVaultUri property + * Gets the kind property value. Environment type. * @return string|null */ - public function getKeyVaultUri(): ?string { - $val = $this->getBackingStore()->get('keyVaultUri'); + public function getKind(): ?string { + $val = $this->getBackingStore()->get('kind'); if (is_null($val) || is_string($val)) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'keyVaultUri'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'kind'"); } /** @@ -109,8 +109,8 @@ public function getOdataType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('certificateName', $this->getCertificateName()); - $writer->writeStringValue('keyVaultUri', $this->getKeyVaultUri()); + $writer->writeIntegerValue('count', $this->getCount()); + $writer->writeStringValue('kind', $this->getKind()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,19 +132,19 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the certificateName property value. The certificateName property - * @param string|null $value Value to set for the certificateName property. + * Sets the count property value. Number of environments of this type. + * @param int|null $value Value to set for the count property. */ - public function setCertificateName(?string $value): void { - $this->getBackingStore()->set('certificateName', $value); + public function setCount(?int $value): void { + $this->getBackingStore()->set('count', $value); } /** - * Sets the keyVaultUri property value. The keyVaultUri property - * @param string|null $value Value to set for the keyVaultUri property. + * Sets the kind property value. Environment type. + * @param string|null $value Value to set for the kind property. */ - public function setKeyVaultUri(?string $value): void { - $this->getBackingStore()->set('keyVaultUri', $value); + public function setKind(?string $value): void { + $this->getBackingStore()->set('kind', $value); } /** diff --git a/src/Generated/Models/Security/AuditInfo.php b/src/Generated/Models/Security/AuditInfo.php new file mode 100644 index 00000000000..e918d01708c --- /dev/null +++ b/src/Generated/Models/Security/AuditInfo.php @@ -0,0 +1,159 @@ +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 AuditInfo + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AuditInfo { + return new AuditInfo(); + } + + /** + * 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 by property value. Display name of the user or application that performed the action. + * @return string|null + */ + public function getBy(): ?string { + $val = $this->getBackingStore()->get('by'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'by'"); + } + + /** + * Gets the dateTime property value. Timestamp of the 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. + * @return DateTime|null + */ + public function getDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('dateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'dateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'by' => fn(ParseNode $n) => $o->setBy($n->getStringValue()), + 'dateTime' => fn(ParseNode $n) => $o->setDateTime($n->getDateTimeValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('by', $this->getBy()); + $writer->writeDateTimeValue('dateTime', $this->getDateTime()); + $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 by property value. Display name of the user or application that performed the action. + * @param string|null $value Value to set for the by property. + */ + public function setBy(?string $value): void { + $this->getBackingStore()->set('by', $value); + } + + /** + * Sets the dateTime property value. Timestamp of the 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. + * @param DateTime|null $value Value to set for the dateTime property. + */ + public function setDateTime(?DateTime $value): void { + $this->getBackingStore()->set('dateTime', $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/AutoAuditingConfiguration.php b/src/Generated/Models/Security/AutoAuditingConfiguration.php new file mode 100644 index 00000000000..c90023edcc3 --- /dev/null +++ b/src/Generated/Models/Security/AutoAuditingConfiguration.php @@ -0,0 +1,68 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'isAutomatic' => fn(ParseNode $n) => $o->setIsAutomatic($n->getBooleanValue()), + ]); + } + + /** + * Gets the isAutomatic property value. Indicates whether automatic auditing is enabled for Defender for Identity monitoring. + * @return bool|null + */ + public function getIsAutomatic(): ?bool { + $val = $this->getBackingStore()->get('isAutomatic'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAutomatic'"); + } + + /** + * 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('isAutomatic', $this->getIsAutomatic()); + } + + /** + * Sets the isAutomatic property value. Indicates whether automatic auditing is enabled for Defender for Identity monitoring. + * @param bool|null $value Value to set for the isAutomatic property. + */ + public function setIsAutomatic(?bool $value): void { + $this->getBackingStore()->set('isAutomatic', $value); + } + +} diff --git a/src/Generated/Models/Security/DetonationDetails.php b/src/Generated/Models/Security/DetonationDetails.php index 50f799b2e27..dcd84c3cf71 100644 --- a/src/Generated/Models/Security/DetonationDetails.php +++ b/src/Generated/Models/Security/DetonationDetails.php @@ -84,7 +84,7 @@ public function getCompromiseIndicators(): ?array { } /** - * Gets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation + * Gets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. * @return DetonationBehaviourDetails|null */ public function getDetonationBehaviourDetails(): ?DetonationBehaviourDetails { @@ -95,6 +95,18 @@ public function getDetonationBehaviourDetails(): ?DetonationBehaviourDetails { throw new \UnexpectedValueException("Invalid type found in backing store for 'detonationBehaviourDetails'"); } + /** + * Gets the detonationBehaviourDetailsV2 property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. + * @return string|null + */ + public function getDetonationBehaviourDetailsV2(): ?string { + $val = $this->getBackingStore()->get('detonationBehaviourDetailsV2'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'detonationBehaviourDetailsV2'"); + } + /** * Gets the detonationChain property value. The chain of detonation. * @return DetonationChain|null @@ -155,6 +167,18 @@ public function getDetonationVerdictReason(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'detonationVerdictReason'"); } + /** + * Gets the entityMetadata property value. Additional metadata about the entity in JSON format. + * @return string|null + */ + public function getEntityMetadata(): ?string { + $val = $this->getBackingStore()->get('entityMetadata'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'entityMetadata'"); + } + /** * The deserialization information for the current model * @return array @@ -165,15 +189,32 @@ public function getFieldDeserializers(): array { 'analysisDateTime' => fn(ParseNode $n) => $o->setAnalysisDateTime($n->getDateTimeValue()), 'compromiseIndicators' => fn(ParseNode $n) => $o->setCompromiseIndicators($n->getCollectionOfObjectValues([CompromiseIndicator::class, 'createFromDiscriminatorValue'])), 'detonationBehaviourDetails' => fn(ParseNode $n) => $o->setDetonationBehaviourDetails($n->getObjectValue([DetonationBehaviourDetails::class, 'createFromDiscriminatorValue'])), + 'detonationBehaviourDetailsV2' => fn(ParseNode $n) => $o->setDetonationBehaviourDetailsV2($n->getStringValue()), 'detonationChain' => fn(ParseNode $n) => $o->setDetonationChain($n->getObjectValue([DetonationChain::class, 'createFromDiscriminatorValue'])), 'detonationObservables' => fn(ParseNode $n) => $o->setDetonationObservables($n->getObjectValue([DetonationObservables::class, 'createFromDiscriminatorValue'])), 'detonationScreenshotUri' => fn(ParseNode $n) => $o->setDetonationScreenshotUri($n->getStringValue()), 'detonationVerdict' => fn(ParseNode $n) => $o->setDetonationVerdict($n->getStringValue()), 'detonationVerdictReason' => fn(ParseNode $n) => $o->setDetonationVerdictReason($n->getStringValue()), + 'entityMetadata' => fn(ParseNode $n) => $o->setEntityMetadata($n->getStringValue()), + 'mitreTechniques' => fn(ParseNode $n) => $o->setMitreTechniques($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'staticAnalysis' => fn(ParseNode $n) => $o->setStaticAnalysis($n->getStringValue()), + 'submissionSource' => fn(ParseNode $n) => $o->setSubmissionSource($n->getStringValue()), ]; } + /** + * Gets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. + * @return string|null + */ + public function getMitreTechniques(): ?string { + $val = $this->getBackingStore()->get('mitreTechniques'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'mitreTechniques'"); + } + /** * Gets the @odata.type property value. The OdataType property * @return string|null @@ -186,6 +227,30 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } + /** + * Gets the staticAnalysis property value. The results of static analysis performed on the file or URL. + * @return string|null + */ + public function getStaticAnalysis(): ?string { + $val = $this->getBackingStore()->get('staticAnalysis'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'staticAnalysis'"); + } + + /** + * Gets the submissionSource property value. The source of the submission. + * @return string|null + */ + public function getSubmissionSource(): ?string { + $val = $this->getBackingStore()->get('submissionSource'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'submissionSource'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -194,12 +259,17 @@ public function serialize(SerializationWriter $writer): void { $writer->writeDateTimeValue('analysisDateTime', $this->getAnalysisDateTime()); $writer->writeCollectionOfObjectValues('compromiseIndicators', $this->getCompromiseIndicators()); $writer->writeObjectValue('detonationBehaviourDetails', $this->getDetonationBehaviourDetails()); + $writer->writeStringValue('detonationBehaviourDetailsV2', $this->getDetonationBehaviourDetailsV2()); $writer->writeObjectValue('detonationChain', $this->getDetonationChain()); $writer->writeObjectValue('detonationObservables', $this->getDetonationObservables()); $writer->writeStringValue('detonationScreenshotUri', $this->getDetonationScreenshotUri()); $writer->writeStringValue('detonationVerdict', $this->getDetonationVerdict()); $writer->writeStringValue('detonationVerdictReason', $this->getDetonationVerdictReason()); + $writer->writeStringValue('entityMetadata', $this->getEntityMetadata()); + $writer->writeStringValue('mitreTechniques', $this->getMitreTechniques()); $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('staticAnalysis', $this->getStaticAnalysis()); + $writer->writeStringValue('submissionSource', $this->getSubmissionSource()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -236,13 +306,21 @@ public function setCompromiseIndicators(?array $value): void { } /** - * Sets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation + * Sets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. * @param DetonationBehaviourDetails|null $value Value to set for the detonationBehaviourDetails property. */ public function setDetonationBehaviourDetails(?DetonationBehaviourDetails $value): void { $this->getBackingStore()->set('detonationBehaviourDetails', $value); } + /** + * Sets the detonationBehaviourDetailsV2 property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. + * @param string|null $value Value to set for the detonationBehaviourDetailsV2 property. + */ + public function setDetonationBehaviourDetailsV2(?string $value): void { + $this->getBackingStore()->set('detonationBehaviourDetailsV2', $value); + } + /** * Sets the detonationChain property value. The chain of detonation. * @param DetonationChain|null $value Value to set for the detonationChain property. @@ -283,6 +361,22 @@ public function setDetonationVerdictReason(?string $value): void { $this->getBackingStore()->set('detonationVerdictReason', $value); } + /** + * Sets the entityMetadata property value. Additional metadata about the entity in JSON format. + * @param string|null $value Value to set for the entityMetadata property. + */ + public function setEntityMetadata(?string $value): void { + $this->getBackingStore()->set('entityMetadata', $value); + } + + /** + * Sets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. + * @param string|null $value Value to set for the mitreTechniques property. + */ + public function setMitreTechniques(?string $value): void { + $this->getBackingStore()->set('mitreTechniques', $value); + } + /** * Sets the @odata.type property value. The OdataType property * @param string|null $value Value to set for the @odata.type property. @@ -291,4 +385,20 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } + /** + * Sets the staticAnalysis property value. The results of static analysis performed on the file or URL. + * @param string|null $value Value to set for the staticAnalysis property. + */ + public function setStaticAnalysis(?string $value): void { + $this->getBackingStore()->set('staticAnalysis', $value); + } + + /** + * Sets the submissionSource property value. The source of the submission. + * @param string|null $value Value to set for the submissionSource property. + */ + public function setSubmissionSource(?string $value): void { + $this->getBackingStore()->set('submissionSource', $value); + } + } diff --git a/src/Generated/Models/Security/EdiscoveryPurgeDataOperation.php b/src/Generated/Models/Security/EdiscoveryPurgeDataOperation.php index 8703f66fbd7..38e11664061 100644 --- a/src/Generated/Models/Security/EdiscoveryPurgeDataOperation.php +++ b/src/Generated/Models/Security/EdiscoveryPurgeDataOperation.php @@ -5,6 +5,7 @@ use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; class EdiscoveryPurgeDataOperation extends CaseOperation implements Parsable { @@ -31,15 +32,39 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Edisc public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'reportFileMetadata' => fn(ParseNode $n) => $o->setReportFileMetadata($n->getCollectionOfObjectValues([ReportFileMetadata::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the reportFileMetadata property value. The purge job report file metadata. It contains the properties for report file metadata, including downloadUrl, fileName, and size. + * @return array|null + */ + public function getReportFileMetadata(): ?array { + $val = $this->getBackingStore()->get('reportFileMetadata'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ReportFileMetadata::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reportFileMetadata'"); + } + /** * 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('reportFileMetadata', $this->getReportFileMetadata()); + } + + /** + * Sets the reportFileMetadata property value. The purge job report file metadata. It contains the properties for report file metadata, including downloadUrl, fileName, and size. + * @param array|null $value Value to set for the reportFileMetadata property. + */ + public function setReportFileMetadata(?array $value): void { + $this->getBackingStore()->set('reportFileMetadata', $value); } } diff --git a/src/Generated/Models/Security/Environment.php b/src/Generated/Models/Security/Environment.php new file mode 100644 index 00000000000..5fbc56517bb --- /dev/null +++ b/src/Generated/Models/Security/Environment.php @@ -0,0 +1,68 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'kind' => fn(ParseNode $n) => $o->setKind($n->getEnumValue(EnvironmentKind::class)), + ]); + } + + /** + * Gets the kind property value. The kind property + * @return EnvironmentKind|null + */ + public function getKind(): ?EnvironmentKind { + $val = $this->getBackingStore()->get('kind'); + if (is_null($val) || $val instanceof EnvironmentKind) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'kind'"); + } + + /** + * 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('kind', $this->getKind()); + } + + /** + * Sets the kind property value. The kind property + * @param EnvironmentKind|null $value Value to set for the kind property. + */ + public function setKind(?EnvironmentKind $value): void { + $this->getBackingStore()->set('kind', $value); + } + +} diff --git a/src/Generated/Models/Security/EnvironmentCollectionResponse.php b/src/Generated/Models/Security/EnvironmentCollectionResponse.php new file mode 100644 index 00000000000..4631f016948 --- /dev/null +++ b/src/Generated/Models/Security/EnvironmentCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Environment::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, Environment::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/Security/EnvironmentKind.php b/src/Generated/Models/Security/EnvironmentKind.php new file mode 100644 index 00000000000..79402b65464 --- /dev/null +++ b/src/Generated/Models/Security/EnvironmentKind.php @@ -0,0 +1,20 @@ + 85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. * @return int|null */ public function getPriorityScore(): ?int { @@ -474,7 +474,7 @@ public function setLastUpdateDateTime(?DateTime $value): void { } /** - * Sets the priorityScore property value. The priorityScore property + * Sets the priorityScore property value. A priority score for the incident from 0 to 100, with > 85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. * @param int|null $value Value to set for the priorityScore property. */ public function setPriorityScore(?int $value): void { diff --git a/src/Generated/Models/Security/RemediationAction.php b/src/Generated/Models/Security/RemediationAction.php index 57da40bde24..131ce6fcf03 100644 --- a/src/Generated/Models/Security/RemediationAction.php +++ b/src/Generated/Models/Security/RemediationAction.php @@ -11,4 +11,5 @@ class RemediationAction extends Enum { public const SOFT_DELETE = "softDelete"; public const MOVE_TO_DELETED_ITEMS = "moveToDeletedItems"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + public const MOVE_TO_QUARANTINE = "moveToQuarantine"; } diff --git a/src/Generated/Models/Security/SettingsContainer.php b/src/Generated/Models/Security/SettingsContainer.php index d8f52aad5ef..048ba47e14e 100644 --- a/src/Generated/Models/Security/SettingsContainer.php +++ b/src/Generated/Models/Security/SettingsContainer.php @@ -25,6 +25,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Setti return new SettingsContainer(); } + /** + * Gets the autoAuditingConfiguration property value. Represents automatic configuration for collection of Windows event logs as needed for Defender for Identity sensors. + * @return AutoAuditingConfiguration|null + */ + public function getAutoAuditingConfiguration(): ?AutoAuditingConfiguration { + $val = $this->getBackingStore()->get('autoAuditingConfiguration'); + if (is_null($val) || $val instanceof AutoAuditingConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoAuditingConfiguration'"); + } + /** * The deserialization information for the current model * @return array @@ -32,6 +44,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Setti public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'autoAuditingConfiguration' => fn(ParseNode $n) => $o->setAutoAuditingConfiguration($n->getObjectValue([AutoAuditingConfiguration::class, 'createFromDiscriminatorValue'])), ]); } @@ -41,6 +54,15 @@ public function getFieldDeserializers(): array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('autoAuditingConfiguration', $this->getAutoAuditingConfiguration()); + } + + /** + * Sets the autoAuditingConfiguration property value. Represents automatic configuration for collection of Windows event logs as needed for Defender for Identity sensors. + * @param AutoAuditingConfiguration|null $value Value to set for the autoAuditingConfiguration property. + */ + public function setAutoAuditingConfiguration(?AutoAuditingConfiguration $value): void { + $this->getBackingStore()->set('autoAuditingConfiguration', $value); } } diff --git a/src/Generated/Models/Security/Zone.php b/src/Generated/Models/Security/Zone.php new file mode 100644 index 00000000000..a7f592ac343 --- /dev/null +++ b/src/Generated/Models/Security/Zone.php @@ -0,0 +1,183 @@ +|null + */ + public function getAggregations(): ?array { + $val = $this->getBackingStore()->get('aggregations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AggregatedEnvironment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'aggregations'"); + } + + /** + * Gets the created property value. Creation metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $filter=created/dateTime ge 2023-01-01T00:00:00Z. + * @return AuditInfo|null + */ + public function getCreated(): ?AuditInfo { + $val = $this->getBackingStore()->get('created'); + if (is_null($val) || $val instanceof AuditInfo) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'created'"); + } + + /** + * Gets the description property value. Optional description of the zone. Up to 255 characters. Supports $filter (eq, contains). For example, $filter=contains(description, 'production'). + * @return string|null + */ + public function getDescription(): ?string { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + + /** + * Gets the displayName property value. Human-readable name of the zone. Up to 1,024 characters. Supports $filter (eq, contains), and $orderby. For example, $filter=displayName eq 'Production Zone' or $orderby=displayName asc. + * @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 environments property value. Collection of attached environments. Supports $expand. + * @return array|null + */ + public function getEnvironments(): ?array { + $val = $this->getBackingStore()->get('environments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Environment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'environments'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'aggregations' => fn(ParseNode $n) => $o->setAggregations($n->getCollectionOfObjectValues([AggregatedEnvironment::class, 'createFromDiscriminatorValue'])), + 'created' => fn(ParseNode $n) => $o->setCreated($n->getObjectValue([AuditInfo::class, 'createFromDiscriminatorValue'])), + 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'environments' => fn(ParseNode $n) => $o->setEnvironments($n->getCollectionOfObjectValues([Environment::class, 'createFromDiscriminatorValue'])), + 'modified' => fn(ParseNode $n) => $o->setModified($n->getObjectValue([AuditInfo::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the modified property value. Last modification metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $orderby=modified/dateTime desc. + * @return AuditInfo|null + */ + public function getModified(): ?AuditInfo { + $val = $this->getBackingStore()->get('modified'); + if (is_null($val) || $val instanceof AuditInfo) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'modified'"); + } + + /** + * 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('aggregations', $this->getAggregations()); + $writer->writeObjectValue('created', $this->getCreated()); + $writer->writeStringValue('description', $this->getDescription()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeCollectionOfObjectValues('environments', $this->getEnvironments()); + $writer->writeObjectValue('modified', $this->getModified()); + } + + /** + * Sets the aggregations property value. Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). + * @param array|null $value Value to set for the aggregations property. + */ + public function setAggregations(?array $value): void { + $this->getBackingStore()->set('aggregations', $value); + } + + /** + * Sets the created property value. Creation metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $filter=created/dateTime ge 2023-01-01T00:00:00Z. + * @param AuditInfo|null $value Value to set for the created property. + */ + public function setCreated(?AuditInfo $value): void { + $this->getBackingStore()->set('created', $value); + } + + /** + * Sets the description property value. Optional description of the zone. Up to 255 characters. Supports $filter (eq, contains). For example, $filter=contains(description, 'production'). + * @param string|null $value Value to set for the description property. + */ + public function setDescription(?string $value): void { + $this->getBackingStore()->set('description', $value); + } + + /** + * Sets the displayName property value. Human-readable name of the zone. Up to 1,024 characters. Supports $filter (eq, contains), and $orderby. For example, $filter=displayName eq 'Production Zone' or $orderby=displayName asc. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the environments property value. Collection of attached environments. Supports $expand. + * @param array|null $value Value to set for the environments property. + */ + public function setEnvironments(?array $value): void { + $this->getBackingStore()->set('environments', $value); + } + + /** + * Sets the modified property value. Last modification metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $orderby=modified/dateTime desc. + * @param AuditInfo|null $value Value to set for the modified property. + */ + public function setModified(?AuditInfo $value): void { + $this->getBackingStore()->set('modified', $value); + } + +} diff --git a/src/Generated/Models/Security/ZoneCollectionResponse.php b/src/Generated/Models/Security/ZoneCollectionResponse.php new file mode 100644 index 00000000000..10958ebeb6f --- /dev/null +++ b/src/Generated/Models/Security/ZoneCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Zone::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, Zone::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/SelfServiceSignUp.php b/src/Generated/Models/SelfServiceSignUp.php index ac320216d35..2961a6dde80 100644 --- a/src/Generated/Models/SelfServiceSignUp.php +++ b/src/Generated/Models/SelfServiceSignUp.php @@ -100,6 +100,7 @@ public function getFieldDeserializers(): array { 'appliedEventListeners' => fn(ParseNode $n) => $o->setAppliedEventListeners($n->getCollectionOfObjectValues([AppliedAuthenticationEventListener::class, 'createFromDiscriminatorValue'])), 'correlationId' => fn(ParseNode $n) => $o->setCorrelationId($n->getStringValue()), 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'fraudProtectionDetails' => fn(ParseNode $n) => $o->setFraudProtectionDetails($n->getObjectValue([FraudProtectionDetails::class, 'createFromDiscriminatorValue'])), 'signUpIdentity' => fn(ParseNode $n) => $o->setSignUpIdentity($n->getObjectValue([SignUpIdentity::class, 'createFromDiscriminatorValue'])), 'signUpIdentityProvider' => fn(ParseNode $n) => $o->setSignUpIdentityProvider($n->getStringValue()), 'signUpStage' => fn(ParseNode $n) => $o->setSignUpStage($n->getEnumValue(SignUpStage::class)), @@ -108,6 +109,18 @@ public function getFieldDeserializers(): array { ]); } + /** + * Gets the fraudProtectionDetails property value. The fraudProtectionDetails property + * @return FraudProtectionDetails|null + */ + public function getFraudProtectionDetails(): ?FraudProtectionDetails { + $val = $this->getBackingStore()->get('fraudProtectionDetails'); + if (is_null($val) || $val instanceof FraudProtectionDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'fraudProtectionDetails'"); + } + /** * Gets the signUpIdentity property value. Unique identifier for self-service sign-up user. Supports $filter (eq) on the signUpIdentifierType. * @return SignUpIdentity|null @@ -179,6 +192,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('appliedEventListeners', $this->getAppliedEventListeners()); $writer->writeStringValue('correlationId', $this->getCorrelationId()); $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeObjectValue('fraudProtectionDetails', $this->getFraudProtectionDetails()); $writer->writeObjectValue('signUpIdentity', $this->getSignUpIdentity()); $writer->writeStringValue('signUpIdentityProvider', $this->getSignUpIdentityProvider()); $writer->writeEnumValue('signUpStage', $this->getSignUpStage()); @@ -226,6 +240,14 @@ public function setCreatedDateTime(?DateTime $value): void { $this->getBackingStore()->set('createdDateTime', $value); } + /** + * Sets the fraudProtectionDetails property value. The fraudProtectionDetails property + * @param FraudProtectionDetails|null $value Value to set for the fraudProtectionDetails property. + */ + public function setFraudProtectionDetails(?FraudProtectionDetails $value): void { + $this->getBackingStore()->set('fraudProtectionDetails', $value); + } + /** * Sets the signUpIdentity property value. Unique identifier for self-service sign-up user. Supports $filter (eq) on the signUpIdentifierType. * @param SignUpIdentity|null $value Value to set for the signUpIdentity property. diff --git a/src/Generated/Models/SharePointBrowseSession.php b/src/Generated/Models/SharePointBrowseSession.php index 557b65f4728..a4bd66b5265 100644 --- a/src/Generated/Models/SharePointBrowseSession.php +++ b/src/Generated/Models/SharePointBrowseSession.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the siteId property value. The siteId property + * Gets the siteId property value. Id of the backed-up SharePoint site. * @return string|null */ public function getSiteId(): ?string { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the siteId property value. The siteId property + * Sets the siteId property value. Id of the backed-up SharePoint site. * @param string|null $value Value to set for the siteId property. */ public function setSiteId(?string $value): void { diff --git a/src/Generated/Models/SharePointRestoreSession.php b/src/Generated/Models/SharePointRestoreSession.php index ff34b3b71cf..5aa9272e7df 100644 --- a/src/Generated/Models/SharePointRestoreSession.php +++ b/src/Generated/Models/SharePointRestoreSession.php @@ -40,7 +40,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the granularSiteRestoreArtifacts property value. The granularSiteRestoreArtifacts property + * Gets the granularSiteRestoreArtifacts property value. A collection of browse session id and item key details that can be used to restore SharePoint files and folders. * @return array|null */ public function getGranularSiteRestoreArtifacts(): ?array { @@ -93,7 +93,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the granularSiteRestoreArtifacts property value. The granularSiteRestoreArtifacts property + * Sets the granularSiteRestoreArtifacts property value. A collection of browse session id and item key details that can be used to restore SharePoint files and folders. * @param array|null $value Value to set for the granularSiteRestoreArtifacts property. */ public function setGranularSiteRestoreArtifacts(?array $value): void { diff --git a/src/Generated/Models/Site.php b/src/Generated/Models/Site.php index 8862c25f8c7..0351cf080b6 100644 --- a/src/Generated/Models/Site.php +++ b/src/Generated/Models/Site.php @@ -458,7 +458,7 @@ public function getSites(): ?array { } /** - * Gets the template property value. Specifies the template applied to the site. The possible values are: sitepagepublishing, group, sts, unknownFutureValue. + * Gets the template property value. Specifies the template applied to the site. The possible values are: sitepagepublishing, sts, unknownFutureValue. * @return SiteTemplateType|null */ public function getTemplate(): ?SiteTemplateType { @@ -762,7 +762,7 @@ public function setSites(?array $value): void { } /** - * Sets the template property value. Specifies the template applied to the site. The possible values are: sitepagepublishing, group, sts, unknownFutureValue. + * Sets the template property value. Specifies the template applied to the site. The possible values are: sitepagepublishing, sts, unknownFutureValue. * @param SiteTemplateType|null $value Value to set for the template property. */ public function setTemplate(?SiteTemplateType $value): void { diff --git a/src/Generated/Models/SiteTemplateType.php b/src/Generated/Models/SiteTemplateType.php index 1ca0d98767d..43963e7fe16 100644 --- a/src/Generated/Models/SiteTemplateType.php +++ b/src/Generated/Models/SiteTemplateType.php @@ -6,7 +6,6 @@ class SiteTemplateType extends Enum { public const SITEPAGEPUBLISHING = "sitepagepublishing"; - public const GROUP = "group"; public const STS = "sts"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.php b/src/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.php index 467384ff244..b215da0525d 100644 --- a/src/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.php +++ b/src/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.php @@ -38,7 +38,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the userAssignments property value. Navigation property to the collection of user policy assignments. + * Gets the userAssignments property value. The collection of user policy assignments. * @return array|null */ public function getUserAssignments(): ?array { @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the userAssignments property value. Navigation property to the collection of user policy assignments. + * Sets the userAssignments property value. The collection of user policy assignments. * @param array|null $value Value to set for the userAssignments property. */ public function setUserAssignments(?array $value): void { diff --git a/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.php b/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.php index 81cf94151ae..ea8fca14c9d 100644 --- a/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.php +++ b/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.php @@ -51,7 +51,7 @@ public function getPolicyId(): ?string { } /** - * Gets the policyType property value. The type of Teams policy assigned or unassigned, such as TeamsMeetingBroadcastPolicy. + * Gets the policyType property value. The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. * @return string|null */ public function getPolicyType(): ?string { @@ -94,7 +94,7 @@ public function setPolicyId(?string $value): void { } /** - * Sets the policyType property value. The type of Teams policy assigned or unassigned, such as TeamsMeetingBroadcastPolicy. + * Sets the policyType property value. The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. * @param string|null $value Value to set for the policyType property. */ public function setPolicyType(?string $value): void { diff --git a/src/Generated/Models/TenantGovernanceServices/LongRunningOperation.php b/src/Generated/Models/TenantGovernanceServices/LongRunningOperation.php new file mode 100644 index 00000000000..2a4d54eff61 --- /dev/null +++ b/src/Generated/Models/TenantGovernanceServices/LongRunningOperation.php @@ -0,0 +1,157 @@ +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(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'lastActionDateTime' => fn(ParseNode $n) => $o->setLastActionDateTime($n->getDateTimeValue()), + 'resourceLocation' => fn(ParseNode $n) => $o->setResourceLocation($n->getStringValue()), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(LongRunningOperationStatus::class)), + 'statusDetail' => fn(ParseNode $n) => $o->setStatusDetail($n->getStringValue()), + ]); + } + + /** + * Gets the lastActionDateTime property value. The lastActionDateTime property + * @return DateTime|null + */ + public function getLastActionDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastActionDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastActionDateTime'"); + } + + /** + * Gets the resourceLocation property value. The resourceLocation property + * @return string|null + */ + public function getResourceLocation(): ?string { + $val = $this->getBackingStore()->get('resourceLocation'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'resourceLocation'"); + } + + /** + * Gets the status property value. The status property + * @return LongRunningOperationStatus|null + */ + public function getStatus(): ?LongRunningOperationStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof LongRunningOperationStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); + } + + /** + * Gets the statusDetail property value. The statusDetail property + * @return string|null + */ + public function getStatusDetail(): ?string { + $val = $this->getBackingStore()->get('statusDetail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'statusDetail'"); + } + + /** + * 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('createdDateTime', $this->getCreatedDateTime()); + $writer->writeDateTimeValue('lastActionDateTime', $this->getLastActionDateTime()); + $writer->writeStringValue('resourceLocation', $this->getResourceLocation()); + $writer->writeEnumValue('status', $this->getStatus()); + $writer->writeStringValue('statusDetail', $this->getStatusDetail()); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the lastActionDateTime property value. The lastActionDateTime property + * @param DateTime|null $value Value to set for the lastActionDateTime property. + */ + public function setLastActionDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastActionDateTime', $value); + } + + /** + * Sets the resourceLocation property value. The resourceLocation property + * @param string|null $value Value to set for the resourceLocation property. + */ + public function setResourceLocation(?string $value): void { + $this->getBackingStore()->set('resourceLocation', $value); + } + + /** + * Sets the status property value. The status property + * @param LongRunningOperationStatus|null $value Value to set for the status property. + */ + public function setStatus(?LongRunningOperationStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + + /** + * Sets the statusDetail property value. The statusDetail property + * @param string|null $value Value to set for the statusDetail property. + */ + public function setStatusDetail(?string $value): void { + $this->getBackingStore()->set('statusDetail', $value); + } + +} diff --git a/src/Generated/Models/TenantGovernanceServices/LongRunningOperationStatus.php b/src/Generated/Models/TenantGovernanceServices/LongRunningOperationStatus.php new file mode 100644 index 00000000000..58ffb32a1ea --- /dev/null +++ b/src/Generated/Models/TenantGovernanceServices/LongRunningOperationStatus.php @@ -0,0 +1,13 @@ +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 ApprovalRule + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ApprovalRule { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.windowsUpdates.qualityUpdateApprovalRule': return new QualityUpdateApprovalRule(); + case '#microsoft.graph.windowsUpdates.recoveryApprovalRule': return new RecoveryApprovalRule(); + } + } + return new ApprovalRule(); + } + + /** + * 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 deferralInDays property value. The Windows update deferral period in days. The value must be between 0 and 30. + * @return int|null + */ + public function getDeferralInDays(): ?int { + $val = $this->getBackingStore()->get('deferralInDays'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deferralInDays'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'deferralInDays' => fn(ParseNode $n) => $o->setDeferralInDays($n->getIntegerValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeIntegerValue('deferralInDays', $this->getDeferralInDays()); + $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 deferralInDays property value. The Windows update deferral period in days. The value must be between 0 and 30. + * @param int|null $value Value to set for the deferralInDays property. + */ + public function setDeferralInDays(?int $value): void { + $this->getBackingStore()->set('deferralInDays', $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/WindowsUpdates/ApprovalStatus.php b/src/Generated/Models/WindowsUpdates/ApprovalStatus.php new file mode 100644 index 00000000000..f919cb06f5a --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/ApprovalStatus.php @@ -0,0 +1,11 @@ +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 AssignedGroup + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AssignedGroup { + return new AssignedGroup(); + } + + /** + * 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 [ + 'group' => fn(ParseNode $n) => $o->setGroup($n->getObjectValue([Group::class, 'createFromDiscriminatorValue'])), + 'groupId' => fn(ParseNode $n) => $o->setGroupId($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the group property value. The group property + * @return Group|null + */ + public function getGroup(): ?Group { + $val = $this->getBackingStore()->get('group'); + if (is_null($val) || $val instanceof Group) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'group'"); + } + + /** + * Gets the groupId property value. The unique identifier for the group. Returned by default. Key. Not nullable. Read-only. Supports $filter (eq, ne, not, in). + * @return string|null + */ + public function getGroupId(): ?string { + $val = $this->getBackingStore()->get('groupId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'groupId'"); + } + + /** + * 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->writeObjectValue('group', $this->getGroup()); + $writer->writeStringValue('groupId', $this->getGroupId()); + $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 group property value. The group property + * @param Group|null $value Value to set for the group property. + */ + public function setGroup(?Group $value): void { + $this->getBackingStore()->set('group', $value); + } + + /** + * Sets the groupId property value. The unique identifier for the group. Returned by default. Key. Not nullable. Read-only. Supports $filter (eq, ne, not, in). + * @param string|null $value Value to set for the groupId property. + */ + public function setGroupId(?string $value): void { + $this->getBackingStore()->set('groupId', $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/WindowsUpdates/CatalogEntry.php b/src/Generated/Models/WindowsUpdates/CatalogEntry.php index c21338af4cb..9e4aa271e18 100644 --- a/src/Generated/Models/WindowsUpdates/CatalogEntry.php +++ b/src/Generated/Models/WindowsUpdates/CatalogEntry.php @@ -30,6 +30,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Catal case '#microsoft.graph.windowsUpdates.driverUpdateCatalogEntry': return new DriverUpdateCatalogEntry(); case '#microsoft.graph.windowsUpdates.featureUpdateCatalogEntry': return new FeatureUpdateCatalogEntry(); case '#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry': return new QualityUpdateCatalogEntry(); + case '#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry': return new RecoveryUpdateCatalogEntry(); case '#microsoft.graph.windowsUpdates.softwareUpdateCatalogEntry': return new SoftwareUpdateCatalogEntry(); } } diff --git a/src/Generated/Models/WindowsUpdates/ExcludedGroupAssignment.php b/src/Generated/Models/WindowsUpdates/ExcludedGroupAssignment.php new file mode 100644 index 00000000000..3bd9a86818d --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/ExcludedGroupAssignment.php @@ -0,0 +1,71 @@ +setOdataType('#microsoft.graph.windowsUpdates.excludedGroupAssignment'); + } + + /** + * 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 ExcludedGroupAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ExcludedGroupAssignment { + return new ExcludedGroupAssignment(); + } + + /** + * Gets the assignments property value. A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. + * @return array|null + */ + public function getAssignments(): ?array { + $val = $this->getBackingStore()->get('assignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AssignedGroup::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignments'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'assignments' => fn(ParseNode $n) => $o->setAssignments($n->getCollectionOfObjectValues([AssignedGroup::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * 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('assignments', $this->getAssignments()); + } + + /** + * Sets the assignments property value. A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. + * @param array|null $value Value to set for the assignments property. + */ + public function setAssignments(?array $value): void { + $this->getBackingStore()->set('assignments', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/GroupAssignment.php b/src/Generated/Models/WindowsUpdates/GroupAssignment.php new file mode 100644 index 00000000000..217bb0ee53c --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/GroupAssignment.php @@ -0,0 +1,122 @@ +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 GroupAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GroupAssignment { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.windowsUpdates.excludedGroupAssignment': return new ExcludedGroupAssignment(); + case '#microsoft.graph.windowsUpdates.includedGroupAssignment': return new IncludedGroupAssignment(); + } + } + return new GroupAssignment(); + } + + /** + * 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()), + ]; + } + + /** + * 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->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 @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/WindowsUpdates/IncludedGroupAssignment.php b/src/Generated/Models/WindowsUpdates/IncludedGroupAssignment.php new file mode 100644 index 00000000000..27c154e4c79 --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/IncludedGroupAssignment.php @@ -0,0 +1,71 @@ +setOdataType('#microsoft.graph.windowsUpdates.includedGroupAssignment'); + } + + /** + * 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 IncludedGroupAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): IncludedGroupAssignment { + return new IncludedGroupAssignment(); + } + + /** + * Gets the assignments property value. A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. + * @return array|null + */ + public function getAssignments(): ?array { + $val = $this->getBackingStore()->get('assignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AssignedGroup::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignments'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'assignments' => fn(ParseNode $n) => $o->setAssignments($n->getCollectionOfObjectValues([AssignedGroup::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * 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('assignments', $this->getAssignments()); + } + + /** + * Sets the assignments property value. A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. + * @param array|null $value Value to set for the assignments property. + */ + public function setAssignments(?array $value): void { + $this->getBackingStore()->set('assignments', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/Policy.php b/src/Generated/Models/WindowsUpdates/Policy.php new file mode 100644 index 00000000000..9bd43cbae1c --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/Policy.php @@ -0,0 +1,239 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.windowsUpdates.qualityUpdatePolicy': return new QualityUpdatePolicy(); + } + } + return new Policy(); + } + + /** + * Gets the applicableContent property value. Represents content applicable for offering to the related collection of devices. + * @return array|null + */ + public function getApplicableContent(): ?array { + $val = $this->getBackingStore()->get('applicableContent'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ApplicableContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applicableContent'"); + } + + /** + * Gets the approvalRules property value. The approved rule of the policy that determines which published content matches the rule on an ongoing basis. + * @return array|null + */ + public function getApprovalRules(): ?array { + $val = $this->getBackingStore()->get('approvalRules'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ApprovalRule::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'approvalRules'"); + } + + /** + * Gets the approvals property value. Represents a set of quality updates policy approval types. + * @return array|null + */ + public function getApprovals(): ?array { + $val = $this->getBackingStore()->get('approvals'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, PolicyApproval::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'approvals'"); + } + + /** + * Gets the createdDateTime property value. The date and time when the policy is 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'"); + } + + /** + * Gets the description property value. The policy description. The maximum length is 1,500 characters. + * @return string|null + */ + public function getDescription(): ?string { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + + /** + * Gets the displayName property value. The policy display name. The maximum length is 200 characters. + * @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 array_merge(parent::getFieldDeserializers(), [ + 'applicableContent' => fn(ParseNode $n) => $o->setApplicableContent($n->getCollectionOfObjectValues([ApplicableContent::class, 'createFromDiscriminatorValue'])), + 'approvalRules' => fn(ParseNode $n) => $o->setApprovalRules($n->getCollectionOfObjectValues([ApprovalRule::class, 'createFromDiscriminatorValue'])), + 'approvals' => fn(ParseNode $n) => $o->setApprovals($n->getCollectionOfObjectValues([PolicyApproval::class, 'createFromDiscriminatorValue'])), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), + 'rings' => fn(ParseNode $n) => $o->setRings($n->getCollectionOfObjectValues([Ring::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the lastModifiedDateTime property value. The date and time when the policy was last modified. 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 getLastModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastModifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedDateTime'"); + } + + /** + * Gets the rings property value. Represents a set of deployment rings that contains update deployment settings. + * @return array|null + */ + public function getRings(): ?array { + $val = $this->getBackingStore()->get('rings'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Ring::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'rings'"); + } + + /** + * 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('applicableContent', $this->getApplicableContent()); + $writer->writeCollectionOfObjectValues('approvalRules', $this->getApprovalRules()); + $writer->writeCollectionOfObjectValues('approvals', $this->getApprovals()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeStringValue('description', $this->getDescription()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); + $writer->writeCollectionOfObjectValues('rings', $this->getRings()); + } + + /** + * Sets the applicableContent property value. Represents content applicable for offering to the related collection of devices. + * @param array|null $value Value to set for the applicableContent property. + */ + public function setApplicableContent(?array $value): void { + $this->getBackingStore()->set('applicableContent', $value); + } + + /** + * Sets the approvalRules property value. The approved rule of the policy that determines which published content matches the rule on an ongoing basis. + * @param array|null $value Value to set for the approvalRules property. + */ + public function setApprovalRules(?array $value): void { + $this->getBackingStore()->set('approvalRules', $value); + } + + /** + * Sets the approvals property value. Represents a set of quality updates policy approval types. + * @param array|null $value Value to set for the approvals property. + */ + public function setApprovals(?array $value): void { + $this->getBackingStore()->set('approvals', $value); + } + + /** + * Sets the createdDateTime property value. The date and time when the policy is 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 description property value. The policy description. The maximum length is 1,500 characters. + * @param string|null $value Value to set for the description property. + */ + public function setDescription(?string $value): void { + $this->getBackingStore()->set('description', $value); + } + + /** + * Sets the displayName property value. The policy display name. The maximum length is 200 characters. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the lastModifiedDateTime property value. The date and time when the policy was last modified. 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 lastModifiedDateTime property. + */ + public function setLastModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastModifiedDateTime', $value); + } + + /** + * Sets the rings property value. Represents a set of deployment rings that contains update deployment settings. + * @param array|null $value Value to set for the rings property. + */ + public function setRings(?array $value): void { + $this->getBackingStore()->set('rings', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/PolicyApproval.php b/src/Generated/Models/WindowsUpdates/PolicyApproval.php new file mode 100644 index 00000000000..0e3019b7b58 --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/PolicyApproval.php @@ -0,0 +1,157 @@ +getBackingStore()->get('catalogEntry'); + if (is_null($val) || $val instanceof CatalogEntry) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'catalogEntry'"); + } + + /** + * Gets the catalogEntryId property value. The catalog entry ID to approve. + * @return string|null + */ + public function getCatalogEntryId(): ?string { + $val = $this->getBackingStore()->get('catalogEntryId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'catalogEntryId'"); + } + + /** + * Gets the createdDateTime property value. The date and time the policy approval is 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(), [ + 'catalogEntry' => fn(ParseNode $n) => $o->setCatalogEntry($n->getObjectValue([CatalogEntry::class, 'createFromDiscriminatorValue'])), + 'catalogEntryId' => fn(ParseNode $n) => $o->setCatalogEntryId($n->getStringValue()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(ApprovalStatus::class)), + ]); + } + + /** + * Gets the lastModifiedDateTime property value. The date and time the policy approval was last modified. 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 getLastModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastModifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedDateTime'"); + } + + /** + * Gets the status property value. The status property + * @return ApprovalStatus|null + */ + public function getStatus(): ?ApprovalStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof ApprovalStatus) { + 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('catalogEntry', $this->getCatalogEntry()); + $writer->writeStringValue('catalogEntryId', $this->getCatalogEntryId()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); + $writer->writeEnumValue('status', $this->getStatus()); + } + + /** + * Sets the catalogEntry property value. The content that you can approve for deployment. Read-only. + * @param CatalogEntry|null $value Value to set for the catalogEntry property. + */ + public function setCatalogEntry(?CatalogEntry $value): void { + $this->getBackingStore()->set('catalogEntry', $value); + } + + /** + * Sets the catalogEntryId property value. The catalog entry ID to approve. + * @param string|null $value Value to set for the catalogEntryId property. + */ + public function setCatalogEntryId(?string $value): void { + $this->getBackingStore()->set('catalogEntryId', $value); + } + + /** + * Sets the createdDateTime property value. The date and time the policy approval is 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 lastModifiedDateTime property value. The date and time the policy approval was last modified. 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 lastModifiedDateTime property. + */ + public function setLastModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastModifiedDateTime', $value); + } + + /** + * Sets the status property value. The status property + * @param ApprovalStatus|null $value Value to set for the status property. + */ + public function setStatus(?ApprovalStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/PolicyApprovalCollectionResponse.php b/src/Generated/Models/WindowsUpdates/PolicyApprovalCollectionResponse.php new file mode 100644 index 00000000000..c6d46b937af --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/PolicyApprovalCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([PolicyApproval::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, PolicyApproval::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/WindowsUpdates/PolicyCollectionResponse.php b/src/Generated/Models/WindowsUpdates/PolicyCollectionResponse.php new file mode 100644 index 00000000000..f02eb6c4b57 --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/PolicyCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Policy::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, Policy::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/WindowsUpdates/QualityUpdateApprovalRule.php b/src/Generated/Models/WindowsUpdates/QualityUpdateApprovalRule.php new file mode 100644 index 00000000000..0012be626f9 --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/QualityUpdateApprovalRule.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.windowsUpdates.qualityUpdateApprovalRule'); + } + + /** + * 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 QualityUpdateApprovalRule + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): QualityUpdateApprovalRule { + return new QualityUpdateApprovalRule(); + } + + /** + * Gets the cadence property value. The cadence property + * @return QualityUpdateCadence|null + */ + public function getCadence(): ?QualityUpdateCadence { + $val = $this->getBackingStore()->get('cadence'); + if (is_null($val) || $val instanceof QualityUpdateCadence) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cadence'"); + } + + /** + * Gets the classification property value. The classification property + * @return QualityUpdateClassification|null + */ + public function getClassification(): ?QualityUpdateClassification { + $val = $this->getBackingStore()->get('classification'); + if (is_null($val) || $val instanceof QualityUpdateClassification) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'classification'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'cadence' => fn(ParseNode $n) => $o->setCadence($n->getEnumValue(QualityUpdateCadence::class)), + 'classification' => fn(ParseNode $n) => $o->setClassification($n->getEnumValue(QualityUpdateClassification::class)), + ]); + } + + /** + * 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('cadence', $this->getCadence()); + $writer->writeEnumValue('classification', $this->getClassification()); + } + + /** + * Sets the cadence property value. The cadence property + * @param QualityUpdateCadence|null $value Value to set for the cadence property. + */ + public function setCadence(?QualityUpdateCadence $value): void { + $this->getBackingStore()->set('cadence', $value); + } + + /** + * Sets the classification property value. The classification property + * @param QualityUpdateClassification|null $value Value to set for the classification property. + */ + public function setClassification(?QualityUpdateClassification $value): void { + $this->getBackingStore()->set('classification', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/QualityUpdatePolicy.php b/src/Generated/Models/WindowsUpdates/QualityUpdatePolicy.php new file mode 100644 index 00000000000..a00da66e123 --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/QualityUpdatePolicy.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.windowsUpdates.qualityUpdatePolicy'); + } + + /** + * 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 QualityUpdatePolicy + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): QualityUpdatePolicy { + return new QualityUpdatePolicy(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * 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); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/QualityUpdateRing.php b/src/Generated/Models/WindowsUpdates/QualityUpdateRing.php new file mode 100644 index 00000000000..aca26fc708a --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/QualityUpdateRing.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.windowsUpdates.qualityUpdateRing'); + } + + /** + * 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 QualityUpdateRing + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): QualityUpdateRing { + return new QualityUpdateRing(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'isHotpatchEnabled' => fn(ParseNode $n) => $o->setIsHotpatchEnabled($n->getBooleanValue()), + ]); + } + + /** + * Gets the isHotpatchEnabled property value. Identifies whether a hotpatch update is available. + * @return bool|null + */ + public function getIsHotpatchEnabled(): ?bool { + $val = $this->getBackingStore()->get('isHotpatchEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isHotpatchEnabled'"); + } + + /** + * 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('isHotpatchEnabled', $this->getIsHotpatchEnabled()); + } + + /** + * Sets the isHotpatchEnabled property value. Identifies whether a hotpatch update is available. + * @param bool|null $value Value to set for the isHotpatchEnabled property. + */ + public function setIsHotpatchEnabled(?bool $value): void { + $this->getBackingStore()->set('isHotpatchEnabled', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/RecoveryApprovalRule.php b/src/Generated/Models/WindowsUpdates/RecoveryApprovalRule.php new file mode 100644 index 00000000000..38e48e9d1de --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/RecoveryApprovalRule.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.windowsUpdates.recoveryApprovalRule'); + } + + /** + * 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 RecoveryApprovalRule + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RecoveryApprovalRule { + return new RecoveryApprovalRule(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * 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); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/RecoveryUpdateCatalogEntry.php b/src/Generated/Models/WindowsUpdates/RecoveryUpdateCatalogEntry.php new file mode 100644 index 00000000000..a36384a65f9 --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/RecoveryUpdateCatalogEntry.php @@ -0,0 +1,93 @@ +setOdataType('#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry'); + } + + /** + * 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 RecoveryUpdateCatalogEntry + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RecoveryUpdateCatalogEntry { + return new RecoveryUpdateCatalogEntry(); + } + + /** + * Gets the catalogName property value. The catalog name. Read-only. + * @return string|null + */ + public function getCatalogName(): ?string { + $val = $this->getBackingStore()->get('catalogName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'catalogName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'catalogName' => fn(ParseNode $n) => $o->setCatalogName($n->getStringValue()), + 'productRevisions' => fn(ParseNode $n) => $o->setProductRevisions($n->getCollectionOfObjectValues([ProductRevision::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the productRevisions property value. A collection of product revisions associated with the update. + * @return array|null + */ + public function getProductRevisions(): ?array { + $val = $this->getBackingStore()->get('productRevisions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProductRevision::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'productRevisions'"); + } + + /** + * 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('catalogName', $this->getCatalogName()); + $writer->writeCollectionOfObjectValues('productRevisions', $this->getProductRevisions()); + } + + /** + * Sets the catalogName property value. The catalog name. Read-only. + * @param string|null $value Value to set for the catalogName property. + */ + public function setCatalogName(?string $value): void { + $this->getBackingStore()->set('catalogName', $value); + } + + /** + * Sets the productRevisions property value. A collection of product revisions associated with the update. + * @param array|null $value Value to set for the productRevisions property. + */ + public function setProductRevisions(?array $value): void { + $this->getBackingStore()->set('productRevisions', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/Ring.php b/src/Generated/Models/WindowsUpdates/Ring.php new file mode 100644 index 00000000000..d5c9e3482ab --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/Ring.php @@ -0,0 +1,230 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.windowsUpdates.qualityUpdateRing': return new QualityUpdateRing(); + } + } + return new Ring(); + } + + /** + * Gets the createdDateTime property value. The date and time when the ring is 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'"); + } + + /** + * Gets the deferralInDays property value. The quality update deferral period in days. The value must be between 0 and 30. Optional. + * @return int|null + */ + public function getDeferralInDays(): ?int { + $val = $this->getBackingStore()->get('deferralInDays'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deferralInDays'"); + } + + /** + * Gets the description property value. The ring description. The maximum length is 1,500 characters. Required + * @return string|null + */ + public function getDescription(): ?string { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + + /** + * Gets the displayName property value. The ring display name. The maximum length is 200 characters. Required. + * @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 excludedGroupAssignment property value. The excludedGroupAssignment property + * @return ExcludedGroupAssignment|null + */ + public function getExcludedGroupAssignment(): ?ExcludedGroupAssignment { + $val = $this->getBackingStore()->get('excludedGroupAssignment'); + if (is_null($val) || $val instanceof ExcludedGroupAssignment) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludedGroupAssignment'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'deferralInDays' => fn(ParseNode $n) => $o->setDeferralInDays($n->getIntegerValue()), + 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'excludedGroupAssignment' => fn(ParseNode $n) => $o->setExcludedGroupAssignment($n->getObjectValue([ExcludedGroupAssignment::class, 'createFromDiscriminatorValue'])), + 'includedGroupAssignment' => fn(ParseNode $n) => $o->setIncludedGroupAssignment($n->getObjectValue([IncludedGroupAssignment::class, 'createFromDiscriminatorValue'])), + 'isPaused' => fn(ParseNode $n) => $o->setIsPaused($n->getBooleanValue()), + 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the includedGroupAssignment property value. The includedGroupAssignment property + * @return IncludedGroupAssignment|null + */ + public function getIncludedGroupAssignment(): ?IncludedGroupAssignment { + $val = $this->getBackingStore()->get('includedGroupAssignment'); + if (is_null($val) || $val instanceof IncludedGroupAssignment) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'includedGroupAssignment'"); + } + + /** + * Gets the isPaused property value. The pause action for the quality update ring policy. Required. + * @return bool|null + */ + public function getIsPaused(): ?bool { + $val = $this->getBackingStore()->get('isPaused'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isPaused'"); + } + + /** + * Gets the lastModifiedDateTime property value. The date and time whenthe ring was last modified. 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 getLastModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastModifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedDateTime'"); + } + + /** + * 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('createdDateTime', $this->getCreatedDateTime()); + $writer->writeIntegerValue('deferralInDays', $this->getDeferralInDays()); + $writer->writeStringValue('description', $this->getDescription()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeObjectValue('excludedGroupAssignment', $this->getExcludedGroupAssignment()); + $writer->writeObjectValue('includedGroupAssignment', $this->getIncludedGroupAssignment()); + $writer->writeBooleanValue('isPaused', $this->getIsPaused()); + $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); + } + + /** + * Sets the createdDateTime property value. The date and time when the ring is 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 deferralInDays property value. The quality update deferral period in days. The value must be between 0 and 30. Optional. + * @param int|null $value Value to set for the deferralInDays property. + */ + public function setDeferralInDays(?int $value): void { + $this->getBackingStore()->set('deferralInDays', $value); + } + + /** + * Sets the description property value. The ring description. The maximum length is 1,500 characters. Required + * @param string|null $value Value to set for the description property. + */ + public function setDescription(?string $value): void { + $this->getBackingStore()->set('description', $value); + } + + /** + * Sets the displayName property value. The ring display name. The maximum length is 200 characters. Required. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the excludedGroupAssignment property value. The excludedGroupAssignment property + * @param ExcludedGroupAssignment|null $value Value to set for the excludedGroupAssignment property. + */ + public function setExcludedGroupAssignment(?ExcludedGroupAssignment $value): void { + $this->getBackingStore()->set('excludedGroupAssignment', $value); + } + + /** + * Sets the includedGroupAssignment property value. The includedGroupAssignment property + * @param IncludedGroupAssignment|null $value Value to set for the includedGroupAssignment property. + */ + public function setIncludedGroupAssignment(?IncludedGroupAssignment $value): void { + $this->getBackingStore()->set('includedGroupAssignment', $value); + } + + /** + * Sets the isPaused property value. The pause action for the quality update ring policy. Required. + * @param bool|null $value Value to set for the isPaused property. + */ + public function setIsPaused(?bool $value): void { + $this->getBackingStore()->set('isPaused', $value); + } + + /** + * Sets the lastModifiedDateTime property value. The date and time whenthe ring was last modified. 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 lastModifiedDateTime property. + */ + public function setLastModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastModifiedDateTime', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/RingCollectionResponse.php b/src/Generated/Models/WindowsUpdates/RingCollectionResponse.php new file mode 100644 index 00000000000..8eec787e216 --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/RingCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Ring::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, Ring::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/WindowsUpdates/SoftwareUpdateCatalogEntry.php b/src/Generated/Models/WindowsUpdates/SoftwareUpdateCatalogEntry.php index 35cc044a468..7775191cc79 100644 --- a/src/Generated/Models/WindowsUpdates/SoftwareUpdateCatalogEntry.php +++ b/src/Generated/Models/WindowsUpdates/SoftwareUpdateCatalogEntry.php @@ -29,6 +29,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Softw case '#microsoft.graph.windowsUpdates.driverUpdateCatalogEntry': return new DriverUpdateCatalogEntry(); case '#microsoft.graph.windowsUpdates.featureUpdateCatalogEntry': return new FeatureUpdateCatalogEntry(); case '#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry': return new QualityUpdateCatalogEntry(); + case '#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry': return new RecoveryUpdateCatalogEntry(); } } return new SoftwareUpdateCatalogEntry(); diff --git a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 1bb4c9f217f..00000000000 --- a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,42 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?string $search = null, ?int $skip = null, ?int $top = null): MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { - return new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters($count, $filter, $search, $skip, $top); - } - -} diff --git a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.php b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.php similarity index 76% rename from src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.php rename to src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.php index 25332acdbf0..6190a4fa4c7 100644 --- a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.php +++ b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.php @@ -1,6 +1,6 @@ |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 DateTime|null $endDateTime Usage: endDateTime={endDateTime} * @param DateTime|null $startDateTime Usage: startDateTime={startDateTime} */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?DateTime $endDateTime = null, ?DateTime $startDateTime = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime},discoveredApplicationSegmentId=\'@discoveredApplicationSegmentId\'){?%24count,%24filter,%24search,%24skip,%24top,discoveredApplicationSegmentId*}'); if (is_array($pathParametersOrRawUrl)) { $urlTplParams = $pathParametersOrRawUrl; $urlTplParams['endDateTime'] = $endDateTime; @@ -37,24 +37,24 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap /** * Invoke function deviceReport - * @param MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * @param MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [DeviceReportWithStartDateTimeWithEndDateTimeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** * Invoke function deviceReport - * @param MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @param MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -73,10 +73,10 @@ public function toGetRequestInformation(?MicrosoftGraphNetworkaccessDeviceReport /** * 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 MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder + * @return MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder */ - public function withUrl(string $rawUrl): MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder { - return new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder { + return new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters.php similarity index 62% rename from src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php rename to src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters.php index 209a0fa8786..dcedba77d83 100644 --- a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php +++ b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ count = $count; + $this->discoveredApplicationSegmentId = $discoveredApplicationSegmentId; $this->filter = $filter; $this->search = $search; $this->skip = $skip; diff --git a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration.php b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..827506c3a8a --- /dev/null +++ b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,43 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param string|null $discoveredApplicationSegmentId Usage: discoveredApplicationSegmentId='@discoveredApplicationSegmentId' + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?string $discoveredApplicationSegmentId = null, ?string $filter = null, ?string $search = null, ?int $skip = null, ?int $top = null): MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters { + return new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters($count, $discoveredApplicationSegmentId, $filter, $search, $skip, $top); + } + +} diff --git a/src/Generated/NetworkAccess/Reports/ReportsRequestBuilder.php b/src/Generated/NetworkAccess/Reports/ReportsRequestBuilder.php index 4c13a7ca02c..33811bb252c 100644 --- a/src/Generated/NetworkAccess/Reports/ReportsRequestBuilder.php +++ b/src/Generated/NetworkAccess/Reports/ReportsRequestBuilder.php @@ -9,7 +9,7 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime\MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime\MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder; -use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime\MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder; +use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId\MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime\MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy\MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId\MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder; @@ -99,10 +99,10 @@ public function microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWit * Provides operations to call the deviceReport method. * @param DateTime $endDateTime Usage: endDateTime={endDateTime} * @param DateTime $startDateTime Usage: startDateTime={startDateTime} - * @return MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder + * @return MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder */ - public function microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime(DateTime $endDateTime, DateTime $startDateTime): MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder { - return new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter, $endDateTime, $startDateTime); + public function microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId(DateTime $endDateTime, DateTime $startDateTime): MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder { + return new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder($this->pathParameters, $this->requestAdapter, $endDateTime, $startDateTime); } /** diff --git a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.php b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilder.php similarity index 52% rename from src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.php rename to src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilder.php index dd484c179bc..f102b13cb96 100644 --- a/src/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.php +++ b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilder.php @@ -1,28 +1,28 @@ |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}/admin/configurationManagement/configurationApplications/{configurationApplication%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/security/identities/settings/autoAuditingConfiguration{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property configurationApplications for admin - * @param ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property autoAuditingConfiguration for security + * @param AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +45,41 @@ public function delete(?ConfigurationApplicationItemRequestBuilderDeleteRequestC } /** - * Get configurationApplications from admin - * @param ConfigurationApplicationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get the properties and relationships of an microsoft.graph.security.autoAuditingConfiguration object. + * @param AutoAuditingConfigurationRequestBuilderGetRequestConfiguration|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/security-autoauditingconfiguration-get?view=graph-rest-beta Find more info here */ - public function get(?ConfigurationApplicationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?AutoAuditingConfigurationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConfigurationApplication::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [AutoAuditingConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property configurationApplications in admin - * @param ConfigurationApplication $body The request body - * @param ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property autoAuditingConfiguration in security + * @param AutoAuditingConfiguration $body The request body + * @param AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(ConfigurationApplication $body, ?ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(AutoAuditingConfiguration $body, ?AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConfigurationApplication::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [AutoAuditingConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property configurationApplications for admin - * @param ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property autoAuditingConfiguration for security + * @param AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +93,11 @@ public function toDeleteRequestInformation(?ConfigurationApplicationItemRequestB } /** - * Get configurationApplications from admin - * @param ConfigurationApplicationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the properties and relationships of an microsoft.graph.security.autoAuditingConfiguration object. + * @param AutoAuditingConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?ConfigurationApplicationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?AutoAuditingConfigurationRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +114,12 @@ public function toGetRequestInformation(?ConfigurationApplicationItemRequestBuil } /** - * Update the navigation property configurationApplications in admin - * @param ConfigurationApplication $body The request body - * @param ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property autoAuditingConfiguration in security + * @param AutoAuditingConfiguration $body The request body + * @param AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(ConfigurationApplication $body, ?ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(AutoAuditingConfiguration $body, ?AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +136,10 @@ public function toPatchRequestInformation(ConfigurationApplication $body, ?Confi /** * 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 ConfigurationApplicationItemRequestBuilder + * @return AutoAuditingConfigurationRequestBuilder */ - public function withUrl(string $rawUrl): ConfigurationApplicationItemRequestBuilder { - return new ConfigurationApplicationItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): AutoAuditingConfigurationRequestBuilder { + return new AutoAuditingConfigurationRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..44f9a9f83f9 --- /dev/null +++ b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration.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/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderGetQueryParameters.php b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..67449677b8a --- /dev/null +++ b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderGetQueryParameters.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 AutoAuditingConfigurationRequestBuilderGetQueryParameters 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/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..596ec707d57 --- /dev/null +++ b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AutoAuditingConfigurationRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AutoAuditingConfigurationRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AutoAuditingConfigurationRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AutoAuditingConfigurationRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AutoAuditingConfigurationRequestBuilderGetQueryParameters { + return new AutoAuditingConfigurationRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..c0d651c7010 --- /dev/null +++ b/src/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration.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/Security/Identities/Settings/SettingsRequestBuilder.php b/src/Generated/Security/Identities/Settings/SettingsRequestBuilder.php index f235b259d6e..ecd65699946 100644 --- a/src/Generated/Security/Identities/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Security/Identities/Settings/SettingsRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\Security\SettingsContainer; +use Microsoft\Graph\Beta\Generated\Security\Identities\Settings\AutoAuditingConfiguration\AutoAuditingConfigurationRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -16,6 +17,13 @@ */ class SettingsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the autoAuditingConfiguration property of the microsoft.graph.security.settingsContainer entity. + */ + public function autoAuditingConfiguration(): AutoAuditingConfigurationRequestBuilder { + return new AutoAuditingConfigurationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SettingsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. @@ -45,7 +53,7 @@ public function delete(?SettingsRequestBuilderDeleteRequestConfiguration $reques } /** - * Get settings from security + * Represents a container for security identities settings APIs. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +100,7 @@ public function toDeleteRequestInformation(?SettingsRequestBuilderDeleteRequestC } /** - * Get settings from security + * Represents a container for security identities settings APIs. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Identities/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Identities/Settings/SettingsRequestBuilderGetQueryParameters.php index 796cc862c91..9ba3ad4072b 100644 --- a/src/Generated/Security/Identities/Settings/SettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Identities/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get settings from security + * Represents a container for security identities settings APIs. */ class SettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/SecurityRequestBuilder.php b/src/Generated/Security/SecurityRequestBuilder.php index 0e7f74d24ed..2bedc19974b 100644 --- a/src/Generated/Security/SecurityRequestBuilder.php +++ b/src/Generated/Security/SecurityRequestBuilder.php @@ -39,6 +39,7 @@ use Microsoft\Graph\Beta\Generated\Security\Triggers\TriggersRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\TriggerTypes\TriggerTypesRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\UserSecurityProfiles\UserSecurityProfilesRequestBuilder; +use Microsoft\Graph\Beta\Generated\Security\Zones\ZonesRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -280,6 +281,13 @@ public function userSecurityProfiles(): UserSecurityProfilesRequestBuilder { return new UserSecurityProfilesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the zones property of the microsoft.graph.security entity. + */ + public function zones(): ZonesRequestBuilder { + return new ZonesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SecurityRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Security/Zones/Count/CountRequestBuilder.php b/src/Generated/Security/Zones/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..760db3ae353 --- /dev/null +++ b/src/Generated/Security/Zones/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/security/zones/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Security/Zones/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/Zones/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a99fd334399 --- /dev/null +++ b/src/Generated/Security/Zones/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/Zones/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Zones/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7137a38c8c5 --- /dev/null +++ b/src/Generated/Security/Zones/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/Security/Zones/Item/Aggregations/AggregationsRequestBuilder.php b/src/Generated/Security/Zones/Item/Aggregations/AggregationsRequestBuilder.php new file mode 100644 index 00000000000..04d8864ed03 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Aggregations/AggregationsRequestBuilder.php @@ -0,0 +1,47 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the aggregations property of the microsoft.graph.security.zone entity. + * @param string $aggregatedEnvironmentKind The unique identifier of aggregatedEnvironment + * @return AggregatedEnvironmentKindItemRequestBuilder + */ + public function byAggregatedEnvironmentKind(string $aggregatedEnvironmentKind): AggregatedEnvironmentKindItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['aggregatedEnvironment%2Dkind'] = $aggregatedEnvironmentKind; + return new AggregatedEnvironmentKindItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AggregationsRequestBuilder 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}/security/zones/{zone%2Did}/aggregations'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + +} diff --git a/src/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilder.php b/src/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..8b446e13143 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/security/zones/{zone%2Did}/aggregations/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Security/Zones/Item/Aggregations/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c59d65eb894 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b32907f508c --- /dev/null +++ b/src/Generated/Security/Zones/Item/Aggregations/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/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilder.php b/src/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilder.php new file mode 100644 index 00000000000..670c552f126 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilder.php @@ -0,0 +1,77 @@ +|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}/security/zones/{zone%2Did}/aggregations/{aggregatedEnvironment%2Dkind}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). + * @param AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AggregatedEnvironment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). + * @param AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration $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 AggregatedEnvironmentKindItemRequestBuilder + */ + public function withUrl(string $rawUrl): AggregatedEnvironmentKindItemRequestBuilder { + return new AggregatedEnvironmentKindItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a7dd41fe132 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters.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 AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters 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/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2033284398a --- /dev/null +++ b/src/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters { + return new AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilder.php b/src/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..1db83a00d8a --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|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}/security/zones/{zone%2Did}/environments/$count{?%24filter,%24search}'); + 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 = [ + 'XXX' => [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/Security/Zones/Item/Environments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..915e2eec44c --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9e849fe3b17 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/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/Security/Zones/Item/Environments/EnvironmentsRequestBuilder.php b/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilder.php new file mode 100644 index 00000000000..300376302a0 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the environments property of the microsoft.graph.security.zone entity. + * @param string $environmentId The unique identifier of environment + * @return EnvironmentItemRequestBuilder + */ + public function byEnvironmentId(string $environmentId): EnvironmentItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['environment%2Did'] = $environmentId; + return new EnvironmentItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new EnvironmentsRequestBuilder 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}/security/zones/{zone%2Did}/environments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get all environment objects associated with a zone object. + * @param EnvironmentsRequestBuilderGetRequestConfiguration|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/security-zone-list-environments?view=graph-rest-beta Find more info here + */ + public function get(?EnvironmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EnvironmentCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create an environment object to attach it to a zone. You can create up to 1,000 environments per zone. + * @param Environment $body The request body + * @param EnvironmentsRequestBuilderPostRequestConfiguration|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/security-zone-post-environments?view=graph-rest-beta Find more info here + */ + public function post(Environment $body, ?EnvironmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Environment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get all environment objects associated with a zone object. + * @param EnvironmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?EnvironmentsRequestBuilderGetRequestConfiguration $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 an environment object to attach it to a zone. You can create up to 1,000 environments per zone. + * @param Environment $body The request body + * @param EnvironmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Environment $body, ?EnvironmentsRequestBuilderPostRequestConfiguration $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 EnvironmentsRequestBuilder + */ + public function withUrl(string $rawUrl): EnvironmentsRequestBuilder { + return new EnvironmentsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7704a5b14a2 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilderGetQueryParameters.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 EnvironmentsRequestBuilderGetQueryParameters 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/Security/Zones/Item/Environments/EnvironmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..52ec60a3719 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param EnvironmentsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?EnvironmentsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new EnvironmentsRequestBuilderGetQueryParameters. + * @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 EnvironmentsRequestBuilderGetQueryParameters + */ + 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): EnvironmentsRequestBuilderGetQueryParameters { + return new EnvironmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..fe8f7feeaef --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilderPostRequestConfiguration.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/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilder.php b/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilder.php new file mode 100644 index 00000000000..d26186303ec --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilder.php @@ -0,0 +1,110 @@ +|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}/security/zones/{zone%2Did}/environments/{environment%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete an environment object from a zone object by providing the environment ID. The environment ID should be URL-encoded. + * @param EnvironmentItemRequestBuilderDeleteRequestConfiguration|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/security-environment-delete?view=graph-rest-beta Find more info here + */ + public function delete(?EnvironmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Collection of attached environments. Supports $expand. + * @param EnvironmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?EnvironmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Environment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete an environment object from a zone object by providing the environment ID. The environment ID should be URL-encoded. + * @param EnvironmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?EnvironmentItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Collection of attached environments. Supports $expand. + * @param EnvironmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?EnvironmentItemRequestBuilderGetRequestConfiguration $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 EnvironmentItemRequestBuilder + */ + public function withUrl(string $rawUrl): EnvironmentItemRequestBuilder { + return new EnvironmentItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..e3be71f0ba5 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderDeleteRequestConfiguration.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/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..13f73a1d47f --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderGetQueryParameters.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 EnvironmentItemRequestBuilderGetQueryParameters 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/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b9a6ad2b4e6 --- /dev/null +++ b/src/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param EnvironmentItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?EnvironmentItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new EnvironmentItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return EnvironmentItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): EnvironmentItemRequestBuilderGetQueryParameters { + return new EnvironmentItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/Zones/Item/ZoneItemRequestBuilder.php b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilder.php new file mode 100644 index 00000000000..efa873c777c --- /dev/null +++ b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilder.php @@ -0,0 +1,163 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the environments property of the microsoft.graph.security.zone entity. + */ + public function environments(): EnvironmentsRequestBuilder { + return new EnvironmentsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ZoneItemRequestBuilder 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}/security/zones/{zone%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a zone object by providing the zoneId. + * @param ZoneItemRequestBuilderDeleteRequestConfiguration|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/security-zone-delete?view=graph-rest-beta Find more info here + */ + public function delete(?ZoneItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get a zone object by a specific zoneId. + * @param ZoneItemRequestBuilderGetRequestConfiguration|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/security-zone-get?view=graph-rest-beta Find more info here + */ + public function get(?ZoneItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Zone::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a zone object. + * @param Zone $body The request body + * @param ZoneItemRequestBuilderPatchRequestConfiguration|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/security-zone-update?view=graph-rest-beta Find more info here + */ + public function patch(Zone $body, ?ZoneItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Zone::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a zone object by providing the zoneId. + * @param ZoneItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ZoneItemRequestBuilderDeleteRequestConfiguration $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 zone object by a specific zoneId. + * @param ZoneItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ZoneItemRequestBuilderGetRequestConfiguration $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 properties of a zone object. + * @param Zone $body The request body + * @param ZoneItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Zone $body, ?ZoneItemRequestBuilderPatchRequestConfiguration $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 ZoneItemRequestBuilder + */ + public function withUrl(string $rawUrl): ZoneItemRequestBuilder { + return new ZoneItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..61143a555ae --- /dev/null +++ b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderDeleteRequestConfiguration.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/Security/Zones/Item/ZoneItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2840c2f0b9f --- /dev/null +++ b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderGetQueryParameters.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 ZoneItemRequestBuilderGetQueryParameters 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/Security/Zones/Item/ZoneItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4cc5c2ff9b2 --- /dev/null +++ b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ZoneItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ZoneItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ZoneItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ZoneItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ZoneItemRequestBuilderGetQueryParameters { + return new ZoneItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..f2347947f9a --- /dev/null +++ b/src/Generated/Security/Zones/Item/ZoneItemRequestBuilderPatchRequestConfiguration.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/Security/Zones/ZonesRequestBuilder.php b/src/Generated/Security/Zones/ZonesRequestBuilder.php new file mode 100644 index 00000000000..9eb2166940b --- /dev/null +++ b/src/Generated/Security/Zones/ZonesRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the zones property of the microsoft.graph.security entity. + * @param string $zoneId The unique identifier of zone + * @return ZoneItemRequestBuilder + */ + public function byZoneId(string $zoneId): ZoneItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['zone%2Did'] = $zoneId; + return new ZoneItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ZonesRequestBuilder 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}/security/zones{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of the zone objects and their properties. + * @param ZonesRequestBuilderGetRequestConfiguration|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/security-security-list-zones?view=graph-rest-beta Find more info here + */ + public function get(?ZonesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ZoneCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new zone object. You can create up to 1,000 zones per tenant. + * @param Zone $body The request body + * @param ZonesRequestBuilderPostRequestConfiguration|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/security-security-post-zones?view=graph-rest-beta Find more info here + */ + public function post(Zone $body, ?ZonesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Zone::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the zone objects and their properties. + * @param ZonesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ZonesRequestBuilderGetRequestConfiguration $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 a new zone object. You can create up to 1,000 zones per tenant. + * @param Zone $body The request body + * @param ZonesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Zone $body, ?ZonesRequestBuilderPostRequestConfiguration $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 ZonesRequestBuilder + */ + public function withUrl(string $rawUrl): ZonesRequestBuilder { + return new ZonesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/Zones/ZonesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Zones/ZonesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a18c39f1872 --- /dev/null +++ b/src/Generated/Security/Zones/ZonesRequestBuilderGetQueryParameters.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 ZonesRequestBuilderGetQueryParameters 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/Security/Zones/ZonesRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Zones/ZonesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..469401da156 --- /dev/null +++ b/src/Generated/Security/Zones/ZonesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ZonesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ZonesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ZonesRequestBuilderGetQueryParameters. + * @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 ZonesRequestBuilderGetQueryParameters + */ + 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): ZonesRequestBuilderGetQueryParameters { + return new ZonesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/Zones/ZonesRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/Zones/ZonesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5e01d2f1051 --- /dev/null +++ b/src/Generated/Security/Zones/ZonesRequestBuilderPostRequestConfiguration.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/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php b/src/Generated/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php index 65cc9dc1a0f..b300c554f18 100644 --- a/src/Generated/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php +++ b/src/Generated/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php @@ -4,6 +4,7 @@ use Microsoft\Graph\Beta\Generated\Models\DlpEvaluationInput; use Microsoft\Graph\Beta\Generated\Models\DlpNotification; +use Microsoft\Graph\Beta\Generated\Models\TextClassificationRequest; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -57,6 +58,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the classifyText property value. The classifyText property + * @return TextClassificationRequest|null + */ + public function getClassifyText(): ?TextClassificationRequest { + $val = $this->getBackingStore()->get('classifyText'); + if (is_null($val) || $val instanceof TextClassificationRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'classifyText'"); + } + /** * Gets the evaluationInput property value. The evaluationInput property * @return DlpEvaluationInput|null @@ -76,6 +89,7 @@ public function getEvaluationInput(): ?DlpEvaluationInput { public function getFieldDeserializers(): array { $o = $this; return [ + 'classifyText' => fn(ParseNode $n) => $o->setClassifyText($n->getObjectValue([TextClassificationRequest::class, 'createFromDiscriminatorValue'])), 'evaluationInput' => fn(ParseNode $n) => $o->setEvaluationInput($n->getObjectValue([DlpEvaluationInput::class, 'createFromDiscriminatorValue'])), 'notificationInfo' => fn(ParseNode $n) => $o->setNotificationInfo($n->getObjectValue([DlpNotification::class, 'createFromDiscriminatorValue'])), 'target' => fn(ParseNode $n) => $o->setTarget($n->getStringValue()), @@ -111,6 +125,7 @@ public function getTarget(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('classifyText', $this->getClassifyText()); $writer->writeObjectValue('evaluationInput', $this->getEvaluationInput()); $writer->writeObjectValue('notificationInfo', $this->getNotificationInfo()); $writer->writeStringValue('target', $this->getTarget()); @@ -133,6 +148,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the classifyText property value. The classifyText property + * @param TextClassificationRequest|null $value Value to set for the classifyText property. + */ + public function setClassifyText(?TextClassificationRequest $value): void { + $this->getBackingStore()->set('classifyText', $value); + } + /** * Sets the evaluationInput property value. The evaluationInput property * @param DlpEvaluationInput|null $value Value to set for the evaluationInput property. diff --git a/src/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.php b/src/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.php index 25658cbd5fb..28fef330547 100644 --- a/src/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get browseSessions from solutions + * Get a list of the browseSessionBase objects and their properties. * @param BrowseSessionsRequestBuilderGetRequestConfiguration|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/backuprestoreroot-list-browsesessions?view=graph-rest-beta Find more info here */ public function get(?BrowseSessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(BrowseSessionBase $body, ?BrowseSessionsRequestBuilderPostR } /** - * Get browseSessions from solutions + * Get a list of the browseSessionBase objects and their properties. * @param BrowseSessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilderGetQueryParameters.php index ad8a35b644d..05f170ab6f6 100644 --- a/src/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get browseSessions from solutions + * Get a list of the browseSessionBase objects and their properties. */ class BrowseSessionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.php b/src/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.php index 7249cd0e908..a82587c06d5 100644 --- a/src/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.php @@ -63,7 +63,7 @@ public function delete(?BrowseSessionBaseItemRequestBuilderDeleteRequestConfigur } /** - * Get browseSessions from solutions + * The list of browse sessions in the tenant. * @param BrowseSessionBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function toDeleteRequestInformation(?BrowseSessionBaseItemRequestBuilderD } /** - * Get browseSessions from solutions + * The list of browse sessions in the tenant. * @param BrowseSessionBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilderGetQueryParameters.php index 9feeefbe3b5..d6a57dc5c5a 100644 --- a/src/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get browseSessions from solutions + * The list of browse sessions in the tenant. */ class BrowseSessionBaseItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.php b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.php index ac323c2ef19..43875da2af2 100644 --- a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?OneDriveForBusinessBrowseSessionItemRequestBuilderDelete } /** - * Get oneDriveForBusinessBrowseSessions from solutions + * Read the properties and relationships of oneDriveForBusinessBrowseSession object. * @param OneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration|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/onedriveforbusinessbrowsesession-get?view=graph-rest-beta Find more info here */ public function get(?OneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?OneDriveForBusinessBrowseSessionItem } /** - * Get oneDriveForBusinessBrowseSessions from solutions + * Read the properties and relationships of oneDriveForBusinessBrowseSession object. * @param OneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters.php index 0f26dcd9f23..4df541d6ce4 100644 --- a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get oneDriveForBusinessBrowseSessions from solutions + * Read the properties and relationships of oneDriveForBusinessBrowseSession object. */ class OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.php b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.php index 3be17f08d15..29235401152 100644 --- a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get oneDriveForBusinessBrowseSessions from solutions + * Get a list of the oneDriveForBusinessBrowseSession objects and their properties. * @param OneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration|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/backuprestoreroot-list-onedriveforbusinessbrowsesessions?view=graph-rest-beta Find more info here */ public function get(?OneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?OneDriveForBusinessBrowseSessionsRequestBuilderGetRequestCo } /** - * Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + * Create a new oneDriveForBusinessBrowseSession object. * @param OneDriveForBusinessBrowseSession $body The request body * @param OneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration|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/backuprestoreroot-post-onedriveforbusinessbrowsesessions?view=graph-rest-beta Find more info here */ public function post(OneDriveForBusinessBrowseSession $body, ?OneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(OneDriveForBusinessBrowseSession $body, ?OneDriveForBusines } /** - * Get oneDriveForBusinessBrowseSessions from solutions + * Get a list of the oneDriveForBusinessBrowseSession objects and their properties. * @param OneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?OneDriveForBusinessBrowseSessionsReques } /** - * Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + * Create a new oneDriveForBusinessBrowseSession object. * @param OneDriveForBusinessBrowseSession $body The request body * @param OneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters.php index d335b4017ab..4ac8d06a791 100644 --- a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get oneDriveForBusinessBrowseSessions from solutions + * Get a list of the oneDriveForBusinessBrowseSession objects and their properties. */ class OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.php b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.php index d7d16d50c79..394e18a3437 100644 --- a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get granularDriveRestoreArtifacts from solutions + * Get a list of the granularDriveRestoreArtifact objects and their properties. * @param GranularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration|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/onedriveforbusinessrestoresession-list-granulardriverestoreartifacts?view=graph-rest-beta Find more info here */ public function get(?GranularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(GranularDriveRestoreArtifact $body, ?GranularDriveRestoreAr } /** - * Get granularDriveRestoreArtifacts from solutions + * Get a list of the granularDriveRestoreArtifact objects and their properties. * @param GranularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters.php index 8affb2e29e6..45c69ffab94 100644 --- a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get granularDriveRestoreArtifacts from solutions + * Get a list of the granularDriveRestoreArtifact objects and their properties. */ class GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.php b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.php index 53d8d3aeb11..8dc6fadd2e6 100644 --- a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?GranularDriveRestoreArtifactItemRequestBuilderDeleteRequ } /** - * Get granularDriveRestoreArtifacts from solutions + * A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. * @param GranularDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?GranularDriveRestoreArtifactItemRequ } /** - * Get granularDriveRestoreArtifacts from solutions + * A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. * @param GranularDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters.php index 34629648808..7b32a60d34e 100644 --- a/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get granularDriveRestoreArtifacts from solutions + * A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. */ class GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.php b/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.php index 19941381018..16f2ffaedfc 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?SharePointBrowseSessionItemRequestBuilderDeleteRequestCo } /** - * Get sharePointBrowseSessions from solutions + * Read the properties and relationships of sharePointBrowseSession object. * @param SharePointBrowseSessionItemRequestBuilderGetRequestConfiguration|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/sharepointbrowsesession-get?view=graph-rest-beta Find more info here */ public function get(?SharePointBrowseSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?SharePointBrowseSessionItemRequestBu } /** - * Get sharePointBrowseSessions from solutions + * Read the properties and relationships of sharePointBrowseSession object. * @param SharePointBrowseSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilderGetQueryParameters.php index 30783feb9c3..c389a0e7a09 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get sharePointBrowseSessions from solutions + * Read the properties and relationships of sharePointBrowseSession object. */ class SharePointBrowseSessionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.php b/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.php index e4790dc63f3..07bdcccc6aa 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get sharePointBrowseSessions from solutions + * Get a list of the sharePointBrowseSession objects and their properties. * @param SharePointBrowseSessionsRequestBuilderGetRequestConfiguration|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/backuprestoreroot-list-sharepointbrowsesessions?view=graph-rest-beta Find more info here */ public function get(?SharePointBrowseSessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?SharePointBrowseSessionsRequestBuilderGetRequestConfigurati } /** - * Create new navigation property to sharePointBrowseSessions for solutions + * Create a new sharePointBrowseSession object. * @param SharePointBrowseSession $body The request body * @param SharePointBrowseSessionsRequestBuilderPostRequestConfiguration|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/backuprestoreroot-post-sharepointbrowsesessions?view=graph-rest-beta Find more info here */ public function post(SharePointBrowseSession $body, ?SharePointBrowseSessionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(SharePointBrowseSession $body, ?SharePointBrowseSessionsReq } /** - * Get sharePointBrowseSessions from solutions + * Get a list of the sharePointBrowseSession objects and their properties. * @param SharePointBrowseSessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?SharePointBrowseSessionsRequestBuilderG } /** - * Create new navigation property to sharePointBrowseSessions for solutions + * Create a new sharePointBrowseSession object. * @param SharePointBrowseSession $body The request body * @param SharePointBrowseSessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilderGetQueryParameters.php index 4ba0314a3b8..cd2b13de151 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get sharePointBrowseSessions from solutions + * Get a list of the sharePointBrowseSession objects and their properties. */ class SharePointBrowseSessionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.php b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.php index 03c46cba0a1..7c911c259b4 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get granularSiteRestoreArtifacts from solutions + * Get a list of the granularSiteRestoreArtifact objects and their properties. * @param GranularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration|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/sharepointrestoresession-list-granularsiterestoreartifacts?view=graph-rest-beta Find more info here */ public function get(?GranularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(GranularSiteRestoreArtifact $body, ?GranularSiteRestoreArti } /** - * Get granularSiteRestoreArtifacts from solutions + * Get a list of the granularSiteRestoreArtifact objects and their properties. * @param GranularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters.php index 983ea7934d9..37f74323079 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get granularSiteRestoreArtifacts from solutions + * Get a list of the granularSiteRestoreArtifact objects and their properties. */ class GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.php b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.php index 014b56a9039..c57056c5351 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?GranularSiteRestoreArtifactItemRequestBuilderDeleteReque } /** - * Get granularSiteRestoreArtifacts from solutions + * A collection of browse session id and item key details that can be used to restore SharePoint files and folders. * @param GranularSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?GranularSiteRestoreArtifactItemReque } /** - * Get granularSiteRestoreArtifacts from solutions + * A collection of browse session id and item key details that can be used to restore SharePoint files and folders. * @param GranularSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters.php index 556f17eceb0..299b2144669 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get granularSiteRestoreArtifacts from solutions + * A collection of browse session id and item key details that can be used to restore SharePoint files and folders. */ class GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.php b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.php index 42d3ff4c5ad..c7213bd127e 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.php @@ -83,11 +83,12 @@ public function get(?SharePointRestoreSessionItemRequestBuilderGetRequestConfigu } /** - * Update the navigation property sharePointRestoreSessions in solutions + * Update the properties of a sharePointRestoreSession object. * @param SharePointRestoreSession $body The request body * @param SharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration|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/sharepointrestoresession-update?view=graph-rest-beta Find more info here */ public function patch(SharePointRestoreSession $body, ?SharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -137,7 +138,7 @@ public function toGetRequestInformation(?SharePointRestoreSessionItemRequestBuil } /** - * Update the navigation property sharePointRestoreSessions in solutions + * Update the properties of a sharePointRestoreSession object. * @param SharePointRestoreSession $body The request body * @param SharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.php b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.php index 128b2a62864..85d03ea7a0a 100644 --- a/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.php @@ -66,7 +66,7 @@ public function get(?SharePointRestoreSessionsRequestBuilderGetRequestConfigurat } /** - * Create a new sharePointRestoreSession object. + * Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. * @param SharePointRestoreSession $body The request body * @param SharePointRestoreSessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function toGetRequestInformation(?SharePointRestoreSessionsRequestBuilder } /** - * Create a new sharePointRestoreSession object. + * Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. * @param SharePointRestoreSession $body The request body * @param SharePointRestoreSessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Delta/DeltaGetResponse.php b/src/Generated/Users/Delta/DeltaGetResponse.php index 17e6bbd1c54..84fb24e370f 100644 --- a/src/Generated/Users/Delta/DeltaGetResponse.php +++ b/src/Generated/Users/Delta/DeltaGetResponse.php @@ -3,7 +3,7 @@ namespace Microsoft\Graph\Beta\Generated\Users\Delta; use Microsoft\Graph\Beta\Generated\Models\BaseDeltaFunctionResponse; -use Microsoft\Graph\Beta\Generated\Models\User; +use Microsoft\Graph\Beta\Generated\Models\DirectoryObject; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -34,19 +34,19 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Delta public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([User::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, User::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, DirectoryObject::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +63,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for 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/Users/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Delta/DeltaRequestBuilder.php index e9eb9b7eea4..4d5a82dffb7 100644 --- a/src/Generated/Users/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Delta/DeltaRequestBuilder.php @@ -30,11 +30,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param DeltaRequestBuilderGetRequestConfiguration|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-delta?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta Find more info here */ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Delta/DeltaRequestBuilderGetQueryParameters.php index 2574e508fb5..eb8c1491031 100644 --- a/src/Generated/Users/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php b/src/Generated/Users/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php index 57e0cdd4251..b9e1ad290f7 100644 --- a/src/Generated/Users/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php +++ b/src/Generated/Users/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.php @@ -4,6 +4,7 @@ use Microsoft\Graph\Beta\Generated\Models\DlpEvaluationInput; use Microsoft\Graph\Beta\Generated\Models\DlpNotification; +use Microsoft\Graph\Beta\Generated\Models\TextClassificationRequest; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -57,6 +58,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the classifyText property value. The classifyText property + * @return TextClassificationRequest|null + */ + public function getClassifyText(): ?TextClassificationRequest { + $val = $this->getBackingStore()->get('classifyText'); + if (is_null($val) || $val instanceof TextClassificationRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'classifyText'"); + } + /** * Gets the evaluationInput property value. The evaluationInput property * @return DlpEvaluationInput|null @@ -76,6 +89,7 @@ public function getEvaluationInput(): ?DlpEvaluationInput { public function getFieldDeserializers(): array { $o = $this; return [ + 'classifyText' => fn(ParseNode $n) => $o->setClassifyText($n->getObjectValue([TextClassificationRequest::class, 'createFromDiscriminatorValue'])), 'evaluationInput' => fn(ParseNode $n) => $o->setEvaluationInput($n->getObjectValue([DlpEvaluationInput::class, 'createFromDiscriminatorValue'])), 'notificationInfo' => fn(ParseNode $n) => $o->setNotificationInfo($n->getObjectValue([DlpNotification::class, 'createFromDiscriminatorValue'])), 'target' => fn(ParseNode $n) => $o->setTarget($n->getStringValue()), @@ -111,6 +125,7 @@ public function getTarget(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('classifyText', $this->getClassifyText()); $writer->writeObjectValue('evaluationInput', $this->getEvaluationInput()); $writer->writeObjectValue('notificationInfo', $this->getNotificationInfo()); $writer->writeStringValue('target', $this->getTarget()); @@ -133,6 +148,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the classifyText property value. The classifyText property + * @param TextClassificationRequest|null $value Value to set for the classifyText property. + */ + public function setClassifyText(?TextClassificationRequest $value): void { + $this->getBackingStore()->set('classifyText', $value); + } + /** * Sets the evaluationInput property value. The evaluationInput property * @param DlpEvaluationInput|null $value Value to set for the evaluationInput property. diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 0f5470ef361..738e2273382 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -744,6 +744,7 @@ Microsoft\Graph\Beta\Generated.activitystatistics.item.ActivityStatisticsItemReq Microsoft\Graph\Beta\Generated.activitystatistics.item.ActivityStatisticsItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|appsAndServices:AppsAndServicesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|cloudLicensing:CloudLicensingRequestBuilder Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|configurationManagement:ConfigurationManagementRequestBuilder Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|dynamics:DynamicsRequestBuilder @@ -799,71 +800,410 @@ Microsoft\Graph\Beta\Generated.admin.appsAndServices.appsAndServicesRequestBuild Microsoft\Graph\Beta\Generated.admin.appsAndServices.appsAndServicesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AppsAndServicesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.admin.appsAndServices.appsAndServicesRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.admin.appsAndServices.appsAndServicesRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|ByConfigurationApplicationId(configurationApplicationId:string):ConfigurationApplicationItemRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|Count:CountRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|Get(requestConfiguration?:ConfigurationApplicationsRequestBuilderGetRequestConfiguration):ConfigurationApplicationCollectionResponse -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|Post(body:ConfigurationApplication; requestConfiguration?:ConfigurationApplicationsRequestBuilderPostRequestConfiguration):ConfigurationApplication -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ConfigurationApplicationsRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|ToPostRequestInformation(body:ConfigurationApplication; requestConfiguration?:ConfigurationApplicationsRequestBuilderPostRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.ConfigurationApplicationsRequestBuilder::|public|WithUrl(rawUrl:string):ConfigurationApplicationsRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|count:bool -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|orderby:array -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|skip:int -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetQueryParameters::|public|top:int -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ConfigurationApplicationsRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetRequestConfiguration::|public|queryParameters:ConfigurationApplicationsRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ConfigurationApplicationsRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.configurationApplicationsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|Delete(requestConfiguration?:ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|Get(requestConfiguration?:ConfigurationApplicationItemRequestBuilderGetRequestConfiguration):ConfigurationApplication -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|Patch(body:ConfigurationApplication; requestConfiguration?:ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration):ConfigurationApplication -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ConfigurationApplicationItemRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|ToPatchRequestInformation(body:ConfigurationApplication; requestConfiguration?:ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilder::|public|WithUrl(rawUrl:string):ConfigurationApplicationItemRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ConfigurationApplicationItemRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ConfigurationApplicationItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ConfigurationApplicationItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationApplications.item.ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|ByAllotmentId(allotmentId:string):AllotmentItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|Get(requestConfiguration?:AllotmentsRequestBuilderGetRequestConfiguration):AllotmentCollectionResponse +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|Post(body:Allotment; requestConfiguration?:AllotmentsRequestBuilderPostRequestConfiguration):Allotment +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AllotmentsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|ToPostRequestInformation(body:Allotment; requestConfiguration?:AllotmentsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.AllotmentsRequestBuilder::|public|WithUrl(rawUrl:string):AllotmentsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AllotmentsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:AllotmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):AllotmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.allotmentsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|assignments:AssignmentsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|Delete(requestConfiguration?:AllotmentItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|Get(requestConfiguration?:AllotmentItemRequestBuilderGetRequestConfiguration):Allotment +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|Patch(body:Allotment; requestConfiguration?:AllotmentItemRequestBuilderPatchRequestConfiguration):Allotment +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:AllotmentItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AllotmentItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|ToPatchRequestInformation(body:Allotment; requestConfiguration?:AllotmentItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|waitingMembers:WaitingMembersRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilder::|public|WithUrl(rawUrl:string):AllotmentItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AllotmentItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:AllotmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AllotmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.AllotmentItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|ByAssignmentId(assignmentId:string):AssignmentItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|Get(requestConfiguration?:AssignmentsRequestBuilderGetRequestConfiguration):AssignmentCollectionResponse +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignmentsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.AssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):AssignmentsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignmentsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.assignmentsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):AssignmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilder::|public|Get(requestConfiguration?:AssignmentItemRequestBuilderGetRequestConfiguration):Assignment +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignmentItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):AssignmentItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignmentItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.assignments.item.AssignmentItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AssignmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilder::|public|Get(requestConfiguration?:WaitingMemberItemRequestBuilderGetRequestConfiguration):WaitingMember +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:WaitingMemberItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):WaitingMemberItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:WaitingMemberItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:WaitingMemberItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.item.WaitingMemberItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):WaitingMemberItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|ByWaitingMemberId(waitingMemberId:string):WaitingMemberItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|Get(requestConfiguration?:WaitingMembersRequestBuilderGetRequestConfiguration):WaitingMemberCollectionResponse +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:WaitingMembersRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.WaitingMembersRequestBuilder::|public|WithUrl(rawUrl:string):WaitingMembersRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:WaitingMembersRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:WaitingMembersRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.allotments.item.waitingMembers.waitingMembersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):WaitingMembersRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|ByAssignmentErrorId(assignmentErrorId:string):AssignmentErrorItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|Get(requestConfiguration?:AssignmentErrorsRequestBuilderGetRequestConfiguration):AssignmentErrorCollectionResponse +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|Post(body:AssignmentError; requestConfiguration?:AssignmentErrorsRequestBuilderPostRequestConfiguration):AssignmentError +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignmentErrorsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|ToPostRequestInformation(body:AssignmentError; requestConfiguration?:AssignmentErrorsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.AssignmentErrorsRequestBuilder::|public|WithUrl(rawUrl:string):AssignmentErrorsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignmentErrorsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignmentErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):AssignmentErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.assignmentErrorsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.AssignedToRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.AssignedToRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.AssignedToRequestBuilder::|public|Get(requestConfiguration?:AssignedToRequestBuilderGetRequestConfiguration):DirectoryObject +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.AssignedToRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.AssignedToRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.AssignedToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignedToRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.AssignedToRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.AssignedToRequestBuilder::|public|WithUrl(rawUrl:string):AssignedToRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.assignedToRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.assignedToRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.assignedToRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.assignedToRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.assignedToRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignedToRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.assignedToRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignedToRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.assignedTo.assignedToRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AssignedToRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|assignedTo:AssignedToRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|Delete(requestConfiguration?:AssignmentErrorItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|Get(requestConfiguration?:AssignmentErrorItemRequestBuilderGetRequestConfiguration):AssignmentError +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|Patch(body:AssignmentError; requestConfiguration?:AssignmentErrorItemRequestBuilderPatchRequestConfiguration):AssignmentError +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:AssignmentErrorItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignmentErrorItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|ToPatchRequestInformation(body:AssignmentError; requestConfiguration?:AssignmentErrorItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|usageRight:UsageRightRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilder::|public|WithUrl(rawUrl:string):AssignmentErrorItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignmentErrorItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignmentErrorItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AssignmentErrorItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.AssignmentErrorItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.UsageRightRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.UsageRightRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.UsageRightRequestBuilder::|public|Get(requestConfiguration?:UsageRightRequestBuilderGetRequestConfiguration):UsageRight +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.UsageRightRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.UsageRightRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.UsageRightRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UsageRightRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.UsageRightRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.UsageRightRequestBuilder::|public|WithUrl(rawUrl:string):UsageRightRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.usageRightRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.usageRightRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.usageRightRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.usageRightRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.usageRightRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UsageRightRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.usageRightRequestBuilderGetRequestConfiguration::|public|queryParameters:UsageRightRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignmentErrors.item.usageRight.usageRightRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):UsageRightRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|ByAssignmentId(assignmentId:string):AssignmentItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|Get(requestConfiguration?:AssignmentsRequestBuilderGetRequestConfiguration):AssignmentCollectionResponse +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|microsoftGraphCloudLicensingReprocessAssignments:MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|Post(body:Assignment; requestConfiguration?:AssignmentsRequestBuilderPostRequestConfiguration):Assignment +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignmentsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|ToPostRequestInformation(body:Assignment; requestConfiguration?:AssignmentsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.AssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):AssignmentsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignmentsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):AssignmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.assignmentsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.AllotmentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.AllotmentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.AllotmentRequestBuilder::|public|Get(requestConfiguration?:AllotmentRequestBuilderGetRequestConfiguration):Allotment +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.AllotmentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.AllotmentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.AllotmentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AllotmentRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.AllotmentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.AllotmentRequestBuilder::|public|WithUrl(rawUrl:string):AllotmentRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.allotmentRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.allotmentRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.allotmentRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.allotmentRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.allotmentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AllotmentRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.allotmentRequestBuilderGetRequestConfiguration::|public|queryParameters:AllotmentRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.allotment.allotmentRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AllotmentRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.AssignedToRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.AssignedToRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.AssignedToRequestBuilder::|public|Get(requestConfiguration?:AssignedToRequestBuilderGetRequestConfiguration):DirectoryObject +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.AssignedToRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.AssignedToRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.AssignedToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignedToRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.AssignedToRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.AssignedToRequestBuilder::|public|WithUrl(rawUrl:string):AssignedToRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.assignedToRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.assignedToRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.assignedToRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.assignedToRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.assignedToRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignedToRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.assignedToRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignedToRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.assignedTo.assignedToRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AssignedToRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|allotment:AllotmentRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|assignedTo:AssignedToRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|Delete(requestConfiguration?:AssignmentItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|Get(requestConfiguration?:AssignmentItemRequestBuilderGetRequestConfiguration):Assignment +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|Patch(body:Assignment; requestConfiguration?:AssignmentItemRequestBuilderPatchRequestConfiguration):Assignment +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:AssignmentItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignmentItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:Assignment; requestConfiguration?:AssignmentItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):AssignmentItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignmentItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AssignmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.item.AssignmentItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|Post(requestConfiguration?:MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.assignments.microsoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|allotments:AllotmentsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|assignmentErrors:AssignmentErrorsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|assignments:AssignmentsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|Delete(requestConfiguration?:CloudLicensingRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|Get(requestConfiguration?:CloudLicensingRequestBuilderGetRequestConfiguration):AdminCloudLicensing +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|Patch(body:AdminCloudLicensing; requestConfiguration?:CloudLicensingRequestBuilderPatchRequestConfiguration):AdminCloudLicensing +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CloudLicensingRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CloudLicensingRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|ToPatchRequestInformation(body:AdminCloudLicensing; requestConfiguration?:CloudLicensingRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.CloudLicensingRequestBuilder::|public|WithUrl(rawUrl:string):CloudLicensingRequestBuilder +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CloudLicensingRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderGetRequestConfiguration::|public|queryParameters:CloudLicensingRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CloudLicensingRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.cloudLicensing.cloudLicensingRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|ByConfigurationDriftId(configurationDriftId:string):ConfigurationDriftItemRequestBuilder Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -930,7 +1270,6 @@ Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationDrifts Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.admin.configurationManagement.ConfigurationManagementRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configurationApplications:ConfigurationApplicationsRequestBuilder Microsoft\Graph\Beta\Generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configurationDrifts:ConfigurationDriftsRequestBuilder Microsoft\Graph\Beta\Generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configurationMonitoringResults:ConfigurationMonitoringResultsRequestBuilder Microsoft\Graph\Beta\Generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configurationMonitors:ConfigurationMonitorsRequestBuilder @@ -5727,6 +6066,367 @@ Microsoft\Graph\Beta\Generated.admin.windows.updates.deployments.item.Deployment Microsoft\Graph\Beta\Generated.admin.windows.updates.deployments.item.DeploymentItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DeploymentItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.admin.windows.updates.deployments.item.DeploymentItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.admin.windows.updates.deployments.item.DeploymentItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|ByApplicableContentCatalogEntryId(applicableContentCatalogEntryId:string):ApplicableContentCatalogEntryItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|Get(requestConfiguration?:ApplicableContentRequestBuilderGetRequestConfiguration):ApplicableContentCollectionResponse +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|Post(body:ApplicableContent; requestConfiguration?:ApplicableContentRequestBuilderPostRequestConfiguration):ApplicableContent +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ApplicableContentRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|ToPostRequestInformation(body:ApplicableContent; requestConfiguration?:ApplicableContentRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.ApplicableContentRequestBuilder::|public|WithUrl(rawUrl:string):ApplicableContentRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ApplicableContentRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetRequestConfiguration::|public|queryParameters:ApplicableContentRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ApplicableContentRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.applicableContentRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|catalogEntry:CatalogEntryRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|Delete(requestConfiguration?:ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|Get(requestConfiguration?:ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration):ApplicableContent +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|matchedDevices:MatchedDevicesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|Patch(body:ApplicableContent; requestConfiguration?:ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration):ApplicableContent +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|ToPatchRequestInformation(body:ApplicableContent; requestConfiguration?:ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilder::|public|WithUrl(rawUrl:string):ApplicableContentCatalogEntryItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.CatalogEntryRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.CatalogEntryRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.CatalogEntryRequestBuilder::|public|Get(requestConfiguration?:CatalogEntryRequestBuilderGetRequestConfiguration):CatalogEntry +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.CatalogEntryRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.CatalogEntryRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.CatalogEntryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CatalogEntryRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.CatalogEntryRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.CatalogEntryRequestBuilder::|public|WithUrl(rawUrl:string):CatalogEntryRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.catalogEntryRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.catalogEntryRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.catalogEntryRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.catalogEntryRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.catalogEntryRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CatalogEntryRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.catalogEntryRequestBuilderGetRequestConfiguration::|public|queryParameters:CatalogEntryRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.catalogEntry.catalogEntryRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CatalogEntryRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|Delete(requestConfiguration?:ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|Get(requestConfiguration?:ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration):ApplicableContentDeviceMatch +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|Patch(body:ApplicableContentDeviceMatch; requestConfiguration?:ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration):ApplicableContentDeviceMatch +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:ApplicableContentDeviceMatch; requestConfiguration?:ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):ApplicableContentDeviceMatchDeviceItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.item.ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|ByApplicableContentDeviceMatchDeviceId(applicableContentDeviceMatchDeviceId:string):ApplicableContentDeviceMatchDeviceItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|Get(requestConfiguration?:MatchedDevicesRequestBuilderGetRequestConfiguration):ApplicableContentDeviceMatchCollectionResponse +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|Post(body:ApplicableContentDeviceMatch; requestConfiguration?:MatchedDevicesRequestBuilderPostRequestConfiguration):ApplicableContentDeviceMatch +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MatchedDevicesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|ToPostRequestInformation(body:ApplicableContentDeviceMatch; requestConfiguration?:MatchedDevicesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.MatchedDevicesRequestBuilder::|public|WithUrl(rawUrl:string):MatchedDevicesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MatchedDevicesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetRequestConfiguration::|public|queryParameters:MatchedDevicesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MatchedDevicesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.applicableContent.item.matchedDevices.matchedDevicesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|ByPolicyApprovalId(policyApprovalId:string):PolicyApprovalItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|Get(requestConfiguration?:ApprovalsRequestBuilderGetRequestConfiguration):PolicyApprovalCollectionResponse +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|Post(body:PolicyApproval; requestConfiguration?:ApprovalsRequestBuilderPostRequestConfiguration):PolicyApproval +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ApprovalsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|ToPostRequestInformation(body:PolicyApproval; requestConfiguration?:ApprovalsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.ApprovalsRequestBuilder::|public|WithUrl(rawUrl:string):ApprovalsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ApprovalsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetRequestConfiguration::|public|queryParameters:ApprovalsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ApprovalsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.approvalsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.CatalogEntryRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.CatalogEntryRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.CatalogEntryRequestBuilder::|public|Get(requestConfiguration?:CatalogEntryRequestBuilderGetRequestConfiguration):CatalogEntry +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.CatalogEntryRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.CatalogEntryRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.CatalogEntryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CatalogEntryRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.CatalogEntryRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.CatalogEntryRequestBuilder::|public|WithUrl(rawUrl:string):CatalogEntryRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.catalogEntryRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.catalogEntryRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.catalogEntryRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.catalogEntryRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.catalogEntryRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CatalogEntryRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.catalogEntryRequestBuilderGetRequestConfiguration::|public|queryParameters:CatalogEntryRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.catalogEntry.catalogEntryRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CatalogEntryRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|catalogEntry:CatalogEntryRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|Delete(requestConfiguration?:PolicyApprovalItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|Get(requestConfiguration?:PolicyApprovalItemRequestBuilderGetRequestConfiguration):PolicyApproval +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|Patch(body:PolicyApproval; requestConfiguration?:PolicyApprovalItemRequestBuilderPatchRequestConfiguration):PolicyApproval +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PolicyApprovalItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PolicyApprovalItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|ToPatchRequestInformation(body:PolicyApproval; requestConfiguration?:PolicyApprovalItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilder::|public|WithUrl(rawUrl:string):PolicyApprovalItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:PolicyApprovalItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderGetRequestConfiguration::|public|queryParameters:PolicyApprovalItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PolicyApprovalItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.approvals.item.PolicyApprovalItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|applicableContent:ApplicableContentRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|approvals:ApprovalsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|Delete(requestConfiguration?:PolicyItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|Get(requestConfiguration?:PolicyItemRequestBuilderGetRequestConfiguration):Policy +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|Patch(body:Policy; requestConfiguration?:PolicyItemRequestBuilderPatchRequestConfiguration):Policy +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|rings:RingsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PolicyItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PolicyItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:Policy; requestConfiguration?:PolicyItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):PolicyItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:PolicyItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderGetRequestConfiguration::|public|queryParameters:PolicyItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PolicyItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.PolicyItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|Delete(requestConfiguration?:RingItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|Get(requestConfiguration?:RingItemRequestBuilderGetRequestConfiguration):Ring +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|Patch(body:Ring; requestConfiguration?:RingItemRequestBuilderPatchRequestConfiguration):Ring +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:RingItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RingItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|ToPatchRequestInformation(body:Ring; requestConfiguration?:RingItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilder::|public|WithUrl(rawUrl:string):RingItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RingItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderGetRequestConfiguration::|public|queryParameters:RingItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RingItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.item.RingItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|ByRingId(ringId:string):RingItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|Get(requestConfiguration?:RingsRequestBuilderGetRequestConfiguration):RingCollectionResponse +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|Post(body:Ring; requestConfiguration?:RingsRequestBuilderPostRequestConfiguration):Ring +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|ToPostRequestInformation(body:Ring; requestConfiguration?:RingsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.RingsRequestBuilder::|public|WithUrl(rawUrl:string):RingsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetRequestConfiguration::|public|queryParameters:RingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.item.rings.ringsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|ByPolicyId(policyId:string):PolicyItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|Get(requestConfiguration?:PoliciesRequestBuilderGetRequestConfiguration):PolicyCollectionResponse +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|Post(body:Policy; requestConfiguration?:PoliciesRequestBuilderPostRequestConfiguration):Policy +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PoliciesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|ToPostRequestInformation(body:Policy; requestConfiguration?:PoliciesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.PoliciesRequestBuilder::|public|WithUrl(rawUrl:string):PoliciesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:PoliciesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetRequestConfiguration::|public|queryParameters:PoliciesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):PoliciesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.windows.updates.policies.policiesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.admin.windows.updates.products.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.admin.windows.updates.products.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.admin.windows.updates.products.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -7398,6 +8098,7 @@ Microsoft\Graph\Beta\Generated.admin.windows.updates.UpdatesRequestBuilder::|pub Microsoft\Graph\Beta\Generated.admin.windows.updates.UpdatesRequestBuilder::|public|Get(requestConfiguration?:UpdatesRequestBuilderGetRequestConfiguration):AdminWindowsUpdates Microsoft\Graph\Beta\Generated.admin.windows.updates.UpdatesRequestBuilder::|public|Patch(body:AdminWindowsUpdates; requestConfiguration?:UpdatesRequestBuilderPatchRequestConfiguration):AdminWindowsUpdates Microsoft\Graph\Beta\Generated.admin.windows.updates.UpdatesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.windows.updates.UpdatesRequestBuilder::|public|policies:PoliciesRequestBuilder Microsoft\Graph\Beta\Generated.admin.windows.updates.UpdatesRequestBuilder::|public|products:ProductsRequestBuilder Microsoft\Graph\Beta\Generated.admin.windows.updates.UpdatesRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.admin.windows.updates.UpdatesRequestBuilder::|public|resourceConnections:ResourceConnectionsRequestBuilder @@ -139246,6 +139947,7 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.data Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getClassifyText():TextClassificationRequest Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getEvaluationInput():DlpEvaluationInput Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getNotificationInfo():DlpNotification @@ -139253,6 +139955,7 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.data Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setClassifyText(value?:TextClassificationRequest):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setEvaluationInput(value?:DlpEvaluationInput):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setNotificationInfo(value?:DlpNotification):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setTarget(value?:string):void @@ -180944,6 +181647,7 @@ Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.Entitlem Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.EntitlementManagementRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.EntitlementManagementRequestBuilder::|public|controlConfigurations:ControlConfigurationsRequestBuilder Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.EntitlementManagementRequestBuilder::|public|Delete(requestConfiguration?:EntitlementManagementRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.EntitlementManagementRequestBuilder::|public|externalOriginResourceConnectors:ExternalOriginResourceConnectorsRequestBuilder Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.EntitlementManagementRequestBuilder::|public|Get(requestConfiguration?:EntitlementManagementRequestBuilderGetRequestConfiguration):EntitlementManagement Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.EntitlementManagementRequestBuilder::|public|Patch(body:EntitlementManagement; requestConfiguration?:EntitlementManagementRequestBuilderPatchRequestConfiguration):EntitlementManagement Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.EntitlementManagementRequestBuilder::|public|pathParameters:array @@ -180967,6 +181671,71 @@ Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.entitlem Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.entitlementManagementRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):EntitlementManagementRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.entitlementManagementRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.entitlementManagementRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|ByExternalOriginResourceConnectorId(externalOriginResourceConnectorId:string):ExternalOriginResourceConnectorItemRequestBuilder +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|Get(requestConfiguration?:ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration):ExternalOriginResourceConnectorCollectionResponse +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|Post(body:ExternalOriginResourceConnector; requestConfiguration?:ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration):ExternalOriginResourceConnector +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|ToPostRequestInformation(body:ExternalOriginResourceConnector; requestConfiguration?:ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder::|public|WithUrl(rawUrl:string):ExternalOriginResourceConnectorsRequestBuilder +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetRequestConfiguration::|public|queryParameters:ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|Delete(requestConfiguration?:ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|Get(requestConfiguration?:ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration):ExternalOriginResourceConnector +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|Patch(body:ExternalOriginResourceConnector; requestConfiguration?:ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration):ExternalOriginResourceConnector +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|ToPatchRequestInformation(body:ExternalOriginResourceConnector; requestConfiguration?:ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilder::|public|WithUrl(rawUrl:string):ExternalOriginResourceConnectorItemRequestBuilder +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.externalOriginResourceConnectors.item.ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.settings.SettingsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.settings.SettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.identityGovernance.entitlementManagement.settings.SettingsRequestBuilder::|public|Delete(requestConfiguration?:SettingsRequestBuilderDeleteRequestConfiguration):void @@ -190736,6 +191505,7 @@ Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies. Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getClassifyText():TextClassificationRequest Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getEvaluationInput():DlpEvaluationInput Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getNotificationInfo():DlpNotification @@ -190743,6 +191513,7 @@ Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies. Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setClassifyText(value?:TextClassificationRequest):void Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setEvaluationInput(value?:DlpEvaluationInput):void Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setNotificationInfo(value?:DlpNotification):void Microsoft\Graph\Beta\Generated.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setTarget(value?:string):void @@ -194480,6 +195251,7 @@ Microsoft\Graph\Beta\Generated.models.admin::|public|constructor():void Microsoft\Graph\Beta\Generated.models.admin::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.admin::|public|getAppsAndServices():AdminAppsAndServices Microsoft\Graph\Beta\Generated.models.admin::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.admin::|public|getCloudLicensing():AdminCloudLicensing Microsoft\Graph\Beta\Generated.models.admin::|public|getConfigurationManagement():ConfigurationManagement Microsoft\Graph\Beta\Generated.models.admin::|public|getDynamics():AdminDynamics Microsoft\Graph\Beta\Generated.models.admin::|public|getEdge():Edge @@ -194500,6 +195272,7 @@ Microsoft\Graph\Beta\Generated.models.admin::|public|Serialize(writer:ISerializa Microsoft\Graph\Beta\Generated.models.admin::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.admin::|public|setAppsAndServices(value?:AdminAppsAndServices):void Microsoft\Graph\Beta\Generated.models.admin::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.admin::|public|setCloudLicensing(value?:AdminCloudLicensing):void Microsoft\Graph\Beta\Generated.models.admin::|public|setConfigurationManagement(value?:ConfigurationManagement):void Microsoft\Graph\Beta\Generated.models.admin::|public|setDynamics(value?:AdminDynamics):void Microsoft\Graph\Beta\Generated.models.admin::|public|setEdge(value?:Edge):void @@ -194651,6 +195424,7 @@ Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|getCatalog(): Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|getDeploymentAudiences():array Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|getDeployments():array Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|getPolicies():array Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|getProducts():array Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|getResourceConnections():array Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|getUpdatableAssets():array @@ -194660,6 +195434,7 @@ Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|Serialize(wri Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|setCatalog(value?:Catalog):void Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|setDeploymentAudiences(value?:array):void Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|setDeployments(value?:array):void +Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|setPolicies(value?:array):void Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|setProducts(value?:array):void Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|setResourceConnections(value?:array):void Microsoft\Graph\Beta\Generated.models.adminWindowsUpdates::|public|setUpdatableAssets(value?:array):void @@ -195052,6 +195827,10 @@ Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprintPrincipal::|public|O Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprintPrincipal::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprintPrincipal::|public|setSponsors(value?:array):void Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprintPrincipal::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityBlueprintPrincipal +Microsoft\Graph\Beta\Generated.models.agentIdentityType::0000-agentIdentity +Microsoft\Graph\Beta\Generated.models.agentIdentityType::0001-agentUser +Microsoft\Graph\Beta\Generated.models.agentIdentityType::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.agentIdentityType::0003-agentIdentityBlueprintPrincipal Microsoft\Graph\Beta\Generated.models.agentIdRiskLevel::0000-none Microsoft\Graph\Beta\Generated.models.agentIdRiskLevel::0001-low Microsoft\Graph\Beta\Generated.models.agentIdRiskLevel::0002-medium @@ -195160,6 +195939,7 @@ Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|getAgentId():s Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|getDetectedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|getDetectionTimingType():RiskDetectionTimingType Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|getIdentityType():AgentIdentityType Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|getLastModifiedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|getRiskDetail():RiskDetail Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|getRiskEventType():string @@ -195174,6 +195954,7 @@ Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|setAgentDispla Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|setAgentId(value?:string):void Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|setDetectedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|setDetectionTimingType(value?:RiskDetectionTimingType):void +Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|setIdentityType(value?:AgentIdentityType):void Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|setLastModifiedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|setRiskDetail(value?:RiskDetail):void Microsoft\Graph\Beta\Generated.models.agentRiskDetection::|public|setRiskEventType(value?:string):void @@ -200132,10 +200913,12 @@ Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|pu Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|getAudiences():AudiencesConfiguration Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|getIdentifierUris():IdentifierUriConfiguration +Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|getRedirectUris():RedirectUriConfiguration Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|setAudiences(value?:AudiencesConfiguration):void Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|setIdentifierUris(value?:IdentifierUriConfiguration):void +Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|public|setRedirectUris(value?:RedirectUriConfiguration):void Microsoft\Graph\Beta\Generated.models.appManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AppManagementApplicationConfiguration Microsoft\Graph\Beta\Generated.models.appManagementConfiguration::|public|constructor():void Microsoft\Graph\Beta\Generated.models.appManagementConfiguration::|public|getAdditionalData():array @@ -208092,21 +208875,6 @@ Microsoft\Graph\Beta\Generated.models.clientCertificateAuthentication::|public|O Microsoft\Graph\Beta\Generated.models.clientCertificateAuthentication::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.clientCertificateAuthentication::|public|setCertificateList(value?:array):void Microsoft\Graph\Beta\Generated.models.clientCertificateAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClientCertificateAuthentication -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|getBackingStore():BackingStore -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|getCertificateName():string -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|getKeyVaultUri():string -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|getOdataType():string -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|setCertificateName(value?:string):void -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|setKeyVaultUri(value?:string):void -Microsoft\Graph\Beta\Generated.models.clientCredentials::|public|setOdataType(value?:string):void -Microsoft\Graph\Beta\Generated.models.clientCredentials::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClientCredentials -Microsoft\Graph\Beta\Generated.models.clientCredentials~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.clientCredentialType::0000-none Microsoft\Graph\Beta\Generated.models.clientCredentialType::0001-clientSecret Microsoft\Graph\Beta\Generated.models.clientCredentialType::0002-clientAssertion @@ -208486,19 +209254,108 @@ Microsoft\Graph\Beta\Generated.models.cloudFlareWebApplicationFirewallProvider:: Microsoft\Graph\Beta\Generated.models.cloudFlareWebApplicationFirewallProvider::|public|setApiToken(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudFlareWebApplicationFirewallProvider::|public|setZoneId(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudFlareWebApplicationFirewallProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudFlareWebApplicationFirewallProvider +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing-->Entity +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|getAllotments():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|getAssignmentErrors():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|getAssignments():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|setAllotments(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|setAssignmentErrors(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|public|setAssignments(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.adminCloudLicensing::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AdminCloudLicensing +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment-->Entity +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getAllottedUnits():int +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getAssignableTo():AssigneeTypes +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getAssignments():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getConsumedUnits():int +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getServices():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getSkuId():string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getSkuPartNumber():string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getSubscriptions():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|getWaitingMembers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setAllottedUnits(value?:int):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setAssignableTo(value?:AssigneeTypes):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setAssignments(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setConsumedUnits(value?:int):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setServices(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setSkuId(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setSkuPartNumber(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setSubscriptions(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|public|setWaitingMembers(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Allotment +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotmentCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotmentCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotmentCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotmentCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotmentCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.allotmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AllotmentCollectionResponse Microsoft\Graph\Beta\Generated.models.cloudLicensing.assigneeTypes::0000-none Microsoft\Graph\Beta\Generated.models.cloudLicensing.assigneeTypes::0001-user Microsoft\Graph\Beta\Generated.models.cloudLicensing.assigneeTypes::0002-group Microsoft\Graph\Beta\Generated.models.cloudLicensing.assigneeTypes::0003-device Microsoft\Graph\Beta\Generated.models.cloudLicensing.assigneeTypes::0004-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment-->Entity +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|getAllotment():Allotment +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|getAssignedTo():DirectoryObject +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|getDisabledServicePlanIds():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|setAllotment(value?:Allotment):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|setAssignedTo(value?:DirectoryObject):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|public|setDisabledServicePlanIds(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Assignment +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AssignmentCollectionResponse +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError-->Entity +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|getAssignedTo():DirectoryObject +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|getCode():string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|getMessage():string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|getOccurrenceDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|getSkuId():string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|getUsageRight():UsageRight +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|setAssignedTo(value?:DirectoryObject):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|setCode(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|setMessage(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|setOccurrenceDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|setSkuId(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|public|setUsageRight(value?:UsageRight):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AssignmentError +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentErrorCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentErrorCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentErrorCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentErrorCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentErrorCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentErrorCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.assignmentErrorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AssignmentErrorCollectionResponse Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|getAssignments():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|getOdataType():string Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|getUsageRights():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|setAssignments(value?:array):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.groupCloudLicensing::|public|setUsageRights(value?:array):void @@ -208521,31 +209378,90 @@ Microsoft\Graph\Beta\Generated.models.cloudLicensing.service::|public|setPlanId( Microsoft\Graph\Beta\Generated.models.cloudLicensing.service::|public|setPlanName(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.service::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Service Microsoft\Graph\Beta\Generated.models.cloudLicensing.service~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|getNextLifecycleDate():Date +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|getStartDate():Date +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|getState():SubscriptionState +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|getSubscriptionId():string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|getTags():SubscriptionTags +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|setNextLifecycleDate(value?:Date):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|setStartDate(value?:Date):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|setState(value?:SubscriptionState):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|setSubscriptionId(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|public|setTags(value?:SubscriptionTags):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Subscription +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionState::0000-active +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionState::0001-warning +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionState::0002-suspended +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionState::0003-lockedOut +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionState::0004-deleted +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionState::0005-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionTags::0000-none +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionTags::0001-trial +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscriptionTags::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.cloudLicensing.subscription~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight-->Entity Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|getAllotments():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|getAssignments():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|getServices():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|getSkuId():string Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|getSkuPartNumber():string Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|setAllotments(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|setAssignments(value?:array):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|setServices(value?:array):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|setSkuId(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|public|setSkuPartNumber(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.usageRight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UsageRight Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|getAssignmentErrors():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|getAssignments():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|getOdataType():string Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|getUsageRights():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|getWaitingMembers():array Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|setAssignmentErrors(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|setAssignments(value?:array):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|setUsageRights(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|public|setWaitingMembers(value?:array):void Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserCloudLicensing Microsoft\Graph\Beta\Generated.models.cloudLicensing.userCloudLicensing~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember-->Entity +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|getAllotment():Allotment +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|getAssignedTo():DirectoryObject +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|getWaitingSinceDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|setAllotment(value?:Allotment):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|setAssignedTo(value?:DirectoryObject):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|public|setWaitingSinceDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMember::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WaitingMember +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMemberCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMemberCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMemberCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMemberCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMemberCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMemberCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudLicensing.waitingMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WaitingMemberCollectionResponse Microsoft\Graph\Beta\Generated.models.cloudPC-->Entity Microsoft\Graph\Beta\Generated.models.cloudPC::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPC::|public|getAadDeviceId():string @@ -209204,6 +210120,8 @@ Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageErrorCode::0009-sourceIm Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageErrorCode::0010-sourceImageWithDataDiskNotSupported Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageErrorCode::0011-sourceImageWithDiskEncryptionSetNotSupported Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageErrorCode::0012-sourceImageWithAzureDiskEncryptionNotSupported +Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageErrorCode::0013-fSLogixInstalledSourceImageNotSupported +Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageErrorCode::0014-startMenuAppLimitExceeded Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageOsStatus::0000-supported Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageOsStatus::0001-supportedWithWarning Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImageOsStatus::0002-unknown @@ -210323,6 +211241,7 @@ Microsoft\Graph\Beta\Generated.models.cloudPcReportName::0024-troubleshootIssueC Microsoft\Graph\Beta\Generated.models.cloudPcReportName::0025-cloudPcInsightReport Microsoft\Graph\Beta\Generated.models.cloudPcReportName::0026-regionalInaccessibleCloudPcTrendReport Microsoft\Graph\Beta\Generated.models.cloudPcReportName::0027-cloudPcUsageCategoryReport +Microsoft\Graph\Beta\Generated.models.cloudPcReportName::0028-cloudPCInventoryReport Microsoft\Graph\Beta\Generated.models.cloudPcReports-->Entity Microsoft\Graph\Beta\Generated.models.cloudPcReports::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcReports::|public|getExportJobs():array @@ -210554,6 +211473,7 @@ Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotType::0003-retention Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|getCategory():CloudPcSourceImageCategory Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|getDisplayName():string Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|getId():string @@ -210564,6 +211484,7 @@ Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|getSubsc Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|setCategory(value?:CloudPcSourceImageCategory):void Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|setDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|setId(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|setOdataType(value?:string):void @@ -210572,6 +211493,9 @@ Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|setSubsc Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|public|setSubscriptionId(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcSourceDeviceImage Microsoft\Graph\Beta\Generated.models.cloudPcSourceDeviceImage~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.cloudPcSourceImageCategory::0000-managedImage +Microsoft\Graph\Beta\Generated.models.cloudPcSourceImageCategory::0001-azureComputeGallery +Microsoft\Graph\Beta\Generated.models.cloudPcSourceImageCategory::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0000-notProvisioned Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0001-provisioning Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0002-provisioned @@ -210587,7 +211511,8 @@ Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0011-movingRegion Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0012-resizePendingLicense Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0013-updatingSingleSignOn Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0014-modifyingSingleSignOn -Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0015-preparing +Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0015-refreshPolicyConfiguration +Microsoft\Graph\Beta\Generated.models.cloudPcStatus::0016-preparing Microsoft\Graph\Beta\Generated.models.cloudPcStatusDetail::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcStatusDetail::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.cloudPcStatusDetail::|public|getAdditionalInformation():array @@ -212370,39 +213295,6 @@ Microsoft\Graph\Beta\Generated.models.configuration::|public|setAuthorizedApps(v Microsoft\Graph\Beta\Generated.models.configuration::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.configuration::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.configuration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Configuration -Microsoft\Graph\Beta\Generated.models.configurationApplication-->Entity -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getAppId():string -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getAppOwnerOrganizationId():string -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getClientCredentials():ClientCredentials -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getCreatedBy():IdentitySet -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getCreatedDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getDescription():string -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getDisplayName():string -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getLastModifiedBy():IdentitySet -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getLastModifiedDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|getTenantId():string -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setAppId(value?:string):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setAppOwnerOrganizationId(value?:string):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setClientCredentials(value?:ClientCredentials):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setCreatedBy(value?:IdentitySet):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setCreatedDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setDescription(value?:string):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setDisplayName(value?:string):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setLastModifiedBy(value?:IdentitySet):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setLastModifiedDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|public|setTenantId(value?:string):void -Microsoft\Graph\Beta\Generated.models.configurationApplication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfigurationApplication -Microsoft\Graph\Beta\Generated.models.configurationApplicationCollectionResponse-->BaseCollectionPaginationCountResponse -Microsoft\Graph\Beta\Generated.models.configurationApplicationCollectionResponse::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.configurationApplicationCollectionResponse::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.configurationApplicationCollectionResponse::|public|getValue():array -Microsoft\Graph\Beta\Generated.models.configurationApplicationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.configurationApplicationCollectionResponse::|public|setValue(value?:array):void -Microsoft\Graph\Beta\Generated.models.configurationApplicationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfigurationApplicationCollectionResponse Microsoft\Graph\Beta\Generated.models.configurationBaseline-->Entity Microsoft\Graph\Beta\Generated.models.configurationBaseline::|public|constructor():void Microsoft\Graph\Beta\Generated.models.configurationBaseline::|public|getDescription():string @@ -212455,7 +213347,6 @@ Microsoft\Graph\Beta\Generated.models.configurationDriftCollectionResponse::|pub Microsoft\Graph\Beta\Generated.models.configurationDriftCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfigurationDriftCollectionResponse Microsoft\Graph\Beta\Generated.models.configurationManagement-->Entity Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|getConfigurationApplications():array Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|getConfigurationDrifts():array Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|getConfigurationMonitoringResults():array Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|getConfigurationMonitors():array @@ -212464,7 +213355,6 @@ Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|getConfig Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|setConfigurationApplications(value?:array):void Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|setConfigurationDrifts(value?:array):void Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|setConfigurationMonitoringResults(value?:array):void Microsoft\Graph\Beta\Generated.models.configurationManagement::|public|setConfigurationMonitors(value?:array):void @@ -212595,8 +213485,6 @@ Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|getLastModif Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|getMode():MonitorMode Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|getMonitorRunFrequencyInHours():int Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|getParameters():OpenComplexDictionaryType -Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|getRunAsUTCMServicePrincipal():bool -Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|getRunningOnBehalfOf():IdentitySet Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|getStatus():MonitorStatus Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|getTenantId():string Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|OdataType:string @@ -212612,8 +213500,6 @@ Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|setLastModif Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|setMode(value?:MonitorMode):void Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|setMonitorRunFrequencyInHours(value?:int):void Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|setParameters(value?:OpenComplexDictionaryType):void -Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|setRunAsUTCMServicePrincipal(value?:bool):void -Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|setRunningOnBehalfOf(value?:IdentitySet):void Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|setStatus(value?:MonitorStatus):void Microsoft\Graph\Beta\Generated.models.configurationMonitor::|public|setTenantId(value?:string):void Microsoft\Graph\Beta\Generated.models.configurationMonitor::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfigurationMonitor @@ -212627,25 +213513,21 @@ Microsoft\Graph\Beta\Generated.models.configurationMonitorCollectionResponse::|s Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult-->Entity Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|constructor():void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getDriftsCount():int -Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getDriftsFixed():int Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getErrorDetails():array Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getMonitorId():string Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getRunCompletionDateTime():DateTime Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getRunInitiationDateTime():DateTime Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getRunStatus():MonitorRunStatus -Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getRunType():MonitorRunType Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|getTenantId():string Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setDriftsCount(value?:int):void -Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setDriftsFixed(value?:int):void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setErrorDetails(value?:array):void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setMonitorId(value?:string):void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setRunCompletionDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setRunInitiationDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setRunStatus(value?:MonitorRunStatus):void -Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setRunType(value?:MonitorRunType):void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|public|setTenantId(value?:string):void Microsoft\Graph\Beta\Generated.models.configurationMonitoringResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfigurationMonitoringResult Microsoft\Graph\Beta\Generated.models.configurationMonitoringResultCollectionResponse-->BaseCollectionPaginationCountResponse @@ -213747,6 +214629,7 @@ Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|getPublisher():str Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|getShortDescription():string Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|getSupportedHosts():array Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|getType():PackageType +Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|getZipFile():StreamInterface Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|setAvailableTo(value?:PackageStatus):void @@ -213759,6 +214642,7 @@ Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|setPublisher(value Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|setShortDescription(value?:string):void Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|setSupportedHosts(value?:array):void Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|setType(value?:PackageType):void +Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|setZipFile(value?:StreamInterface):void Microsoft\Graph\Beta\Generated.models.copilotPackage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotPackage Microsoft\Graph\Beta\Generated.models.copilotPackageDetail-->CopilotPackage Microsoft\Graph\Beta\Generated.models.copilotPackageDetail::|public|constructor():void @@ -214514,12 +215398,14 @@ Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguratio Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|getIdentifierUris():IdentifierUriConfiguration Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|getRedirectUris():RedirectUriConfiguration Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|setAudiences(value?:AudiencesConfiguration):void Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|setIdentifierUris(value?:IdentifierUriConfiguration):void Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|public|setRedirectUris(value?:RedirectUriConfiguration):void Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomAppManagementApplicationConfiguration Microsoft\Graph\Beta\Generated.models.customAppManagementApplicationConfiguration~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.customAppManagementConfiguration-->AppManagementConfiguration @@ -227215,6 +228101,7 @@ Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|getAssignme Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|getAvailableAccessPackages():array Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|getConnectedOrganizations():array Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|getControlConfigurations():array +Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|getExternalOriginResourceConnectors():array Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|getSettings():EntitlementManagementSettings Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|getSubjects():array @@ -227236,6 +228123,7 @@ Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|setAssignme Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|setAvailableAccessPackages(value?:array):void Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|setConnectedOrganizations(value?:array):void Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|setControlConfigurations(value?:array):void +Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|setExternalOriginResourceConnectors(value?:array):void Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|setSettings(value?:EntitlementManagementSettings):void Microsoft\Graph\Beta\Generated.models.entitlementManagement::|public|setSubjects(value?:array):void Microsoft\Graph\Beta\Generated.models.entitlementManagement::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EntitlementManagement @@ -228985,6 +229873,13 @@ Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnector::|public|s Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnector::|public|setModifiedBy(value?:string):void Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnector::|public|setModifiedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnector::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExternalOriginResourceConnector +Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnectorCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnectorCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnectorCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnectorCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnectorCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnectorCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.externalOriginResourceConnectorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExternalOriginResourceConnectorCollectionResponse Microsoft\Graph\Beta\Generated.models.externalProfile-->DirectoryObject Microsoft\Graph\Beta\Generated.models.externalProfile::|public|constructor():void Microsoft\Graph\Beta\Generated.models.externalProfile::|public|getAddress():PhysicalOfficeAddress @@ -230101,6 +230996,31 @@ Microsoft\Graph\Beta\Generated.models.fraudProtectionConfiguration::|public|setB Microsoft\Graph\Beta\Generated.models.fraudProtectionConfiguration::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.fraudProtectionConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FraudProtectionConfiguration Microsoft\Graph\Beta\Generated.models.fraudProtectionConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getProviderErrorMessages():array +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getProviderHttpStatusCodes():array +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getProviderName():string +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getProviderResponseTimes():array +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getProviderSessionId():string +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getReason():string +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|getVerdict():string +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setProviderErrorMessages(value?:array):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setProviderHttpStatusCodes(value?:array):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setProviderName(value?:string):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setProviderResponseTimes(value?:array):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setProviderSessionId(value?:string):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setReason(value?:string):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|public|setVerdict(value?:string):void +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FraudProtectionDetails +Microsoft\Graph\Beta\Generated.models.fraudProtectionDetails~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.fraudProtectionProvider-->Entity Microsoft\Graph\Beta\Generated.models.fraudProtectionProvider::|public|constructor():void Microsoft\Graph\Beta\Generated.models.fraudProtectionProvider::|public|getDisplayName():string @@ -247310,19 +248230,12 @@ Microsoft\Graph\Beta\Generated.models.modifiedProperty::|public|setOdataType(val Microsoft\Graph\Beta\Generated.models.modifiedProperty::|public|setOldValue(value?:string):void Microsoft\Graph\Beta\Generated.models.modifiedProperty::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ModifiedProperty Microsoft\Graph\Beta\Generated.models.modifiedProperty~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.monitorMode::0000-monitorOnce -Microsoft\Graph\Beta\Generated.models.monitorMode::0001-monitorOnly -Microsoft\Graph\Beta\Generated.models.monitorMode::0002-applyOnceAndMonitorContinuous -Microsoft\Graph\Beta\Generated.models.monitorMode::0003-applyOnce -Microsoft\Graph\Beta\Generated.models.monitorMode::0004-applyContinuous -Microsoft\Graph\Beta\Generated.models.monitorMode::0005-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.monitorMode::0000-monitorOnly +Microsoft\Graph\Beta\Generated.models.monitorMode::0001-unknownFutureValue Microsoft\Graph\Beta\Generated.models.monitorRunStatus::0000-successful Microsoft\Graph\Beta\Generated.models.monitorRunStatus::0001-partiallySuccessful Microsoft\Graph\Beta\Generated.models.monitorRunStatus::0002-failed Microsoft\Graph\Beta\Generated.models.monitorRunStatus::0003-unknownFutureValue -Microsoft\Graph\Beta\Generated.models.monitorRunType::0000-monitor -Microsoft\Graph\Beta\Generated.models.monitorRunType::0001-apply -Microsoft\Graph\Beta\Generated.models.monitorRunType::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.monitorStatus::0000-active Microsoft\Graph\Beta\Generated.models.monitorStatus::0001-inactive Microsoft\Graph\Beta\Generated.models.monitorStatus::0002-unknownFutureValue @@ -251808,6 +252721,43 @@ Microsoft\Graph\Beta\Generated.models.onOtpSendHandler::|public|setBackingStore( Microsoft\Graph\Beta\Generated.models.onOtpSendHandler::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.onOtpSendHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnOtpSendHandler Microsoft\Graph\Beta\Generated.models.onOtpSendHandler~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler-->OnPasswordSubmitHandler +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|getConfiguration():CustomExtensionOverwriteConfiguration +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|getCustomExtension():OnPasswordSubmitCustomExtension +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|getMigrationPropertyId():string +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|setConfiguration(value?:CustomExtensionOverwriteConfiguration):void +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|setCustomExtension(value?:OnPasswordSubmitCustomExtension):void +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|public|setMigrationPropertyId(value?:string):void +Microsoft\Graph\Beta\Generated.models.onPasswordMigrationCustomExtensionHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnPasswordMigrationCustomExtensionHandler +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitCustomExtension-->CustomAuthenticationExtension +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitCustomExtension::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitCustomExtension::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitCustomExtension::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitCustomExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitCustomExtension::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnPasswordSubmitCustomExtension +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnPasswordSubmitHandler +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitHandler~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitListener-->AuthenticationEventListener +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitListener::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitListener::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitListener::|public|getHandler():OnPasswordSubmitHandler +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitListener::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitListener::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitListener::|public|setHandler(value?:OnPasswordSubmitHandler):void +Microsoft\Graph\Beta\Generated.models.onPasswordSubmitListener::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnPasswordSubmitListener Microsoft\Graph\Beta\Generated.models.onPhoneMethodLoadStartExternalUsersAuthHandler-->OnPhoneMethodLoadStartHandler Microsoft\Graph\Beta\Generated.models.onPhoneMethodLoadStartExternalUsersAuthHandler::|public|constructor():void Microsoft\Graph\Beta\Generated.models.onPhoneMethodLoadStartExternalUsersAuthHandler::|public|GetFieldDeserializers():array @@ -260762,6 +261712,7 @@ Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|GetFieldDese Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|getIsEnabled():bool Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|getLastModifiedBy():IdentitySet Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|getLastModifiedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|getOffboardRequestedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|getProtectionMode():BackupPolicyProtectionMode Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|getProtectionPolicyArtifactCount():ProtectionPolicyArtifactCount Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|getRetentionSettings():array @@ -260775,6 +261726,7 @@ Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|setDisplayNa Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|setIsEnabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|setLastModifiedBy(value?:IdentitySet):void Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|setLastModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|setOffboardRequestedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|setProtectionMode(value?:BackupPolicyProtectionMode):void Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|setProtectionPolicyArtifactCount(value?:ProtectionPolicyArtifactCount):void Microsoft\Graph\Beta\Generated.models.protectionPolicyBase::|public|setRetentionSettings(value?:array):void @@ -260793,6 +261745,8 @@ Microsoft\Graph\Beta\Generated.models.protectionPolicyStatus::0002-updating Microsoft\Graph\Beta\Generated.models.protectionPolicyStatus::0003-active Microsoft\Graph\Beta\Generated.models.protectionPolicyStatus::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.protectionPolicyStatus::0005-dormant +Microsoft\Graph\Beta\Generated.models.protectionPolicyStatus::0006-offboardRequested +Microsoft\Graph\Beta\Generated.models.protectionPolicyStatus::0007-offboarded Microsoft\Graph\Beta\Generated.models.protectionRuleBase-->Entity Microsoft\Graph\Beta\Generated.models.protectionRuleBase::|public|constructor():void Microsoft\Graph\Beta\Generated.models.protectionRuleBase::|public|getCreatedBy():IdentitySet @@ -262247,6 +263201,191 @@ Microsoft\Graph\Beta\Generated.models.redirectSingleSignOnExtension::|public|set Microsoft\Graph\Beta\Generated.models.redirectSingleSignOnExtension::|public|setTeamIdentifier(value?:string):void Microsoft\Graph\Beta\Generated.models.redirectSingleSignOnExtension::|public|setUrlPrefixes(value?:array):void Microsoft\Graph\Beta\Generated.models.redirectSingleSignOnExtension::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectSingleSignOnExtension +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getAllowedDomains():array +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getExcludeActors():AppManagementPolicyActorExemptions +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getIsStateSetByMicrosoft():bool +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getPublicClient():RedirectUriPlatformAllowedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getRestrictForAppsCreatedAfterDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getSpa():RedirectUriPlatformAllowedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getState():AppManagementRestrictionState +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|getWeb():RedirectUriPlatformAllowedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setAllowedDomains(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setExcludeActors(value?:AppManagementPolicyActorExemptions):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setIsStateSetByMicrosoft(value?:bool):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setPublicClient(value?:RedirectUriPlatformAllowedDomainConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setRestrictForAppsCreatedAfterDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setSpa(value?:RedirectUriPlatformAllowedDomainConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setState(value?:AppManagementRestrictionState):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|public|setWeb(value?:RedirectUriPlatformAllowedDomainConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriAllowedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedDomainConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getAllowedSchemes():array +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getExcludeActors():AppManagementPolicyActorExemptions +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getIsStateSetByMicrosoft():bool +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getPublicClient():RedirectUriPlatformAllowedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getRestrictForAppsCreatedAfterDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getSpa():RedirectUriPlatformAllowedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getState():AppManagementRestrictionState +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|getWeb():RedirectUriPlatformAllowedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setAllowedSchemes(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setExcludeActors(value?:AppManagementPolicyActorExemptions):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setIsStateSetByMicrosoft(value?:bool):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setPublicClient(value?:RedirectUriPlatformAllowedSchemeConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setRestrictForAppsCreatedAfterDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setSpa(value?:RedirectUriPlatformAllowedSchemeConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setState(value?:AppManagementRestrictionState):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|public|setWeb(value?:RedirectUriPlatformAllowedSchemeConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriAllowedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriAllowedSchemeConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getBlockedDomains():array +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getExcludeActors():AppManagementPolicyActorExemptions +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getIsStateSetByMicrosoft():bool +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getPublicClient():RedirectUriPlatformBlockedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getRestrictForAppsCreatedAfterDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getSpa():RedirectUriPlatformBlockedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getState():AppManagementRestrictionState +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|getWeb():RedirectUriPlatformBlockedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setBlockedDomains(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setExcludeActors(value?:AppManagementPolicyActorExemptions):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setIsStateSetByMicrosoft(value?:bool):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setPublicClient(value?:RedirectUriPlatformBlockedDomainConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setRestrictForAppsCreatedAfterDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setSpa(value?:RedirectUriPlatformBlockedDomainConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setState(value?:AppManagementRestrictionState):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|public|setWeb(value?:RedirectUriPlatformBlockedDomainConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriBlockedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedDomainConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getBlockedSchemes():array +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getExcludeActors():AppManagementPolicyActorExemptions +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getExemptFormats():array +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getIsStateSetByMicrosoft():bool +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getPublicClient():RedirectUriPlatformBlockedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getRestrictForAppsCreatedAfterDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getSpa():RedirectUriPlatformBlockedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getState():AppManagementRestrictionState +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|getWeb():RedirectUriPlatformBlockedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setBlockedSchemes(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setExcludeActors(value?:AppManagementPolicyActorExemptions):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setExemptFormats(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setIsStateSetByMicrosoft(value?:bool):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setPublicClient(value?:RedirectUriPlatformBlockedSchemeConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setRestrictForAppsCreatedAfterDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setSpa(value?:RedirectUriPlatformBlockedSchemeConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setState(value?:AppManagementRestrictionState):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|public|setWeb(value?:RedirectUriPlatformBlockedSchemeConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriBlockedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriBlockedSchemeConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|getUriWithBlockedDomain():RedirectUriBlockedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|getUriWithBlockedScheme():RedirectUriBlockedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|getUriWithoutAllowedDomain():RedirectUriAllowedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|getUriWithoutAllowedScheme():RedirectUriAllowedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|getUriWithWildcard():RedirectUriWildcardConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|setUriWithBlockedDomain(value?:RedirectUriBlockedDomainConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|setUriWithBlockedScheme(value?:RedirectUriBlockedSchemeConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|setUriWithoutAllowedDomain(value?:RedirectUriAllowedDomainConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|setUriWithoutAllowedScheme(value?:RedirectUriAllowedSchemeConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|public|setUriWithWildcard(value?:RedirectUriWildcardConfiguration):void +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|getAllowedDomains():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|setAllowedDomains(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriPlatformAllowedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedDomainConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|getAllowedSchemes():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|setAllowedSchemes(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriPlatformAllowedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformAllowedSchemeConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|getBlockedDomains():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|setBlockedDomains(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriPlatformBlockedDomainConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedDomainConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|getBlockedSchemes():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|getExemptFormats():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|setBlockedSchemes(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|setExemptFormats(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriPlatformBlockedSchemeConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriPlatformBlockedSchemeConfiguration~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.redirectUriSettings::|public|constructor():void Microsoft\Graph\Beta\Generated.models.redirectUriSettings::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.redirectUriSettings::|public|getBackingStore():BackingStore @@ -262262,6 +263401,42 @@ Microsoft\Graph\Beta\Generated.models.redirectUriSettings::|public|setOdataType( Microsoft\Graph\Beta\Generated.models.redirectUriSettings::|public|setUri(value?:string):void Microsoft\Graph\Beta\Generated.models.redirectUriSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriSettings Microsoft\Graph\Beta\Generated.models.redirectUriSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|getExcludeActors():AppManagementPolicyActorExemptions +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|getExcludeFormats():RedirectUriWildcardExcludeFormats +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|getIsStateSetByMicrosoft():bool +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|getRestrictForAppsCreatedAfterDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|getState():AppManagementRestrictionState +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|setExcludeActors(value?:AppManagementPolicyActorExemptions):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|setExcludeFormats(value?:RedirectUriWildcardExcludeFormats):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|setIsStateSetByMicrosoft(value?:bool):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|setRestrictForAppsCreatedAfterDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|public|setState(value?:AppManagementRestrictionState):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriWildcardConfiguration +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|getExcludeWildcardsInPath():bool +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|getExcludeWildcardsInPathWithDomains():array +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|setExcludeWildcardsInPath(value?:bool):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|setExcludeWildcardsInPathWithDomains(value?:array):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RedirectUriWildcardExcludeFormats +Microsoft\Graph\Beta\Generated.models.redirectUriWildcardExcludeFormats~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.redundantAssignmentAlertConfiguration-->UnifiedRoleManagementAlertConfiguration Microsoft\Graph\Beta\Generated.models.redundantAssignmentAlertConfiguration::|public|constructor():void Microsoft\Graph\Beta\Generated.models.redundantAssignmentAlertConfiguration::|public|getDuration():DateInterval @@ -264111,6 +265286,7 @@ Microsoft\Graph\Beta\Generated.models.riskyAgent-->Entity Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|constructor():void Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|getAgentDisplayName():string Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|getIdentityType():AgentIdentityType Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|getIsDeleted():bool Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|getIsEnabled():bool Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|getIsProcessing():bool @@ -264121,6 +265297,7 @@ Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|getRiskState():RiskSta Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|setAgentDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|setIdentityType(value?:AgentIdentityType):void Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|setIsDeleted(value?:bool):void Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|setIsEnabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.riskyAgent::|public|setIsProcessing(value?:bool):void @@ -266474,6 +267651,21 @@ Microsoft\Graph\Beta\Generated.models.security.aedAuditRecord::|public|GetFieldD Microsoft\Graph\Beta\Generated.models.security.aedAuditRecord::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.security.aedAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.security.aedAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AedAuditRecord +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|getCount():int +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|getKind():string +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|setCount(value?:int):void +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|setKind(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AggregatedEnvironment +Microsoft\Graph\Beta\Generated.models.security.aggregatedEnvironment~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.security.aiAgentEvidence-->AlertEvidence Microsoft\Graph\Beta\Generated.models.security.aiAgentEvidence::|public|constructor():void Microsoft\Graph\Beta\Generated.models.security.aiAgentEvidence::|public|getAgentId():string @@ -267273,6 +268465,21 @@ Microsoft\Graph\Beta\Generated.models.security.auditData::|public|setBackingStor Microsoft\Graph\Beta\Generated.models.security.auditData::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.security.auditData::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AuditData Microsoft\Graph\Beta\Generated.models.security.auditData~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|getBy():string +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|getDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|setBy(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|setDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.auditInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AuditInfo +Microsoft\Graph\Beta\Generated.models.security.auditInfo~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.security.auditLogQuery-->Entity Microsoft\Graph\Beta\Generated.models.security.auditLogQuery::|public|constructor():void Microsoft\Graph\Beta\Generated.models.security.auditLogQuery::|public|getAdministrativeUnitIdFilters():array @@ -267674,6 +268881,14 @@ Microsoft\Graph\Beta\Generated.models.security.authorityTemplateCollectionRespon Microsoft\Graph\Beta\Generated.models.security.authorityTemplateCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.security.authorityTemplateCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.security.authorityTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AuthorityTemplateCollectionResponse +Microsoft\Graph\Beta\Generated.models.security.autoAuditingConfiguration-->Entity +Microsoft\Graph\Beta\Generated.models.security.autoAuditingConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.autoAuditingConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.autoAuditingConfiguration::|public|getIsAutomatic():bool +Microsoft\Graph\Beta\Generated.models.security.autoAuditingConfiguration::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.security.autoAuditingConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.autoAuditingConfiguration::|public|setIsAutomatic(value?:bool):void +Microsoft\Graph\Beta\Generated.models.security.autoAuditingConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AutoAuditingConfiguration Microsoft\Graph\Beta\Generated.models.security.autonomousSystem::|public|constructor():void Microsoft\Graph\Beta\Generated.models.security.autonomousSystem::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.security.autonomousSystem::|public|getBackingStore():BackingStore @@ -268725,25 +269940,35 @@ Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getAna Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getCompromiseIndicators():array Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getDetonationBehaviourDetails():DetonationBehaviourDetails +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getDetonationBehaviourDetailsV2():string Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getDetonationChain():DetonationChain Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getDetonationObservables():DetonationObservables Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getDetonationScreenshotUri():string Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getDetonationVerdict():string Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getDetonationVerdictReason():string +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getEntityMetadata():string Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getMitreTechniques():string Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getStaticAnalysis():string +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|getSubmissionSource():string Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setAnalysisDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setCompromiseIndicators(value?:array):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setDetonationBehaviourDetails(value?:DetonationBehaviourDetails):void +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setDetonationBehaviourDetailsV2(value?:string):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setDetonationChain(value?:DetonationChain):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setDetonationObservables(value?:DetonationObservables):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setDetonationScreenshotUri(value?:string):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setDetonationVerdict(value?:string):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setDetonationVerdictReason(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setEntityMetadata(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setMitreTechniques(value?:string):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setStaticAnalysis(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|public|setSubmissionSource(value?:string):void Microsoft\Graph\Beta\Generated.models.security.detonationDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DetonationDetails Microsoft\Graph\Beta\Generated.models.security.detonationDetails~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.security.detonationObservables::|public|constructor():void @@ -269455,8 +270680,10 @@ Microsoft\Graph\Beta\Generated.models.security.ediscoveryNoncustodialDataSourceC Microsoft\Graph\Beta\Generated.models.security.ediscoveryPurgeDataOperation-->CaseOperation Microsoft\Graph\Beta\Generated.models.security.ediscoveryPurgeDataOperation::|public|constructor():void Microsoft\Graph\Beta\Generated.models.security.ediscoveryPurgeDataOperation::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.ediscoveryPurgeDataOperation::|public|getReportFileMetadata():array Microsoft\Graph\Beta\Generated.models.security.ediscoveryPurgeDataOperation::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.security.ediscoveryPurgeDataOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.ediscoveryPurgeDataOperation::|public|setReportFileMetadata(value?:array):void Microsoft\Graph\Beta\Generated.models.security.ediscoveryPurgeDataOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EdiscoveryPurgeDataOperation Microsoft\Graph\Beta\Generated.models.security.ediscoveryReviewSet-->DataSet Microsoft\Graph\Beta\Generated.models.security.ediscoveryReviewSet::|public|constructor():void @@ -269700,6 +270927,33 @@ Microsoft\Graph\Beta\Generated.models.security.entityType::0002-machineName Microsoft\Graph\Beta\Generated.models.security.entityType::0003-other Microsoft\Graph\Beta\Generated.models.security.entityType::0004-unknown Microsoft\Graph\Beta\Generated.models.security.entityType::0005-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.security.environment-->Entity +Microsoft\Graph\Beta\Generated.models.security.environment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.environment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.environment::|public|getKind():EnvironmentKind +Microsoft\Graph\Beta\Generated.models.security.environment::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.security.environment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.environment::|public|setKind(value?:EnvironmentKind):void +Microsoft\Graph\Beta\Generated.models.security.environment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Environment +Microsoft\Graph\Beta\Generated.models.security.environmentCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.security.environmentCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.environmentCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.environmentCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.security.environmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.environmentCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.security.environmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EnvironmentCollectionResponse +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0000-azureSubscription +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0001-awsOrganization +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0002-awsAccount +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0003-gcpOrganization +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0004-gcpProject +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0005-dockersHubOrganization +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0006-devOpsConnection +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0007-azureDevOpsOrganization +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0008-gitHubOrganization +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0009-gitLabGroup +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0010-jFrogArtifactory +Microsoft\Graph\Beta\Generated.models.security.environmentKind::0011-unknownFutureValue Microsoft\Graph\Beta\Generated.models.security.epicSMSLinkRecord-->AuditData Microsoft\Graph\Beta\Generated.models.security.epicSMSLinkRecord::|public|constructor():void Microsoft\Graph\Beta\Generated.models.security.epicSMSLinkRecord::|public|GetFieldDeserializers():array @@ -272730,6 +273984,7 @@ Microsoft\Graph\Beta\Generated.models.security.remediationAction::0002-hardDelet Microsoft\Graph\Beta\Generated.models.security.remediationAction::0003-softDelete Microsoft\Graph\Beta\Generated.models.security.remediationAction::0004-moveToDeletedItems Microsoft\Graph\Beta\Generated.models.security.remediationAction::0005-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.security.remediationAction::0006-moveToQuarantine Microsoft\Graph\Beta\Generated.models.security.remediationSeverity::0000-low Microsoft\Graph\Beta\Generated.models.security.remediationSeverity::0001-medium Microsoft\Graph\Beta\Generated.models.security.remediationSeverity::0002-high @@ -273676,9 +274931,11 @@ Microsoft\Graph\Beta\Generated.models.security.serviceStatus::0005-unknown Microsoft\Graph\Beta\Generated.models.security.serviceStatus::0006-unknownFutureValue Microsoft\Graph\Beta\Generated.models.security.settingsContainer-->Entity Microsoft\Graph\Beta\Generated.models.security.settingsContainer::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.settingsContainer::|public|getAutoAuditingConfiguration():AutoAuditingConfiguration Microsoft\Graph\Beta\Generated.models.security.settingsContainer::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.security.settingsContainer::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.security.settingsContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.settingsContainer::|public|setAutoAuditingConfiguration(value?:AutoAuditingConfiguration):void Microsoft\Graph\Beta\Generated.models.security.settingsContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SettingsContainer Microsoft\Graph\Beta\Generated.models.security.sharePointAppPermissionOperationAuditRecord-->AuditData Microsoft\Graph\Beta\Generated.models.security.sharePointAppPermissionOperationAuditRecord::|public|constructor():void @@ -275049,6 +276306,31 @@ Microsoft\Graph\Beta\Generated.models.security.yammerAuditRecord::|public|GetFie Microsoft\Graph\Beta\Generated.models.security.yammerAuditRecord::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.security.yammerAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.security.yammerAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):YammerAuditRecord +Microsoft\Graph\Beta\Generated.models.security.zone-->Entity +Microsoft\Graph\Beta\Generated.models.security.zone::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.zone::|public|getAggregations():array +Microsoft\Graph\Beta\Generated.models.security.zone::|public|getCreated():AuditInfo +Microsoft\Graph\Beta\Generated.models.security.zone::|public|getDescription():string +Microsoft\Graph\Beta\Generated.models.security.zone::|public|getDisplayName():string +Microsoft\Graph\Beta\Generated.models.security.zone::|public|getEnvironments():array +Microsoft\Graph\Beta\Generated.models.security.zone::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.zone::|public|getModified():AuditInfo +Microsoft\Graph\Beta\Generated.models.security.zone::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.security.zone::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.zone::|public|setAggregations(value?:array):void +Microsoft\Graph\Beta\Generated.models.security.zone::|public|setCreated(value?:AuditInfo):void +Microsoft\Graph\Beta\Generated.models.security.zone::|public|setDescription(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.zone::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.zone::|public|setEnvironments(value?:array):void +Microsoft\Graph\Beta\Generated.models.security.zone::|public|setModified(value?:AuditInfo):void +Microsoft\Graph\Beta\Generated.models.security.zone::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Zone +Microsoft\Graph\Beta\Generated.models.security.zoneCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.security.zoneCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.zoneCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.zoneCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.security.zoneCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.zoneCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.security.zoneCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ZoneCollectionResponse Microsoft\Graph\Beta\Generated.models.securityAction-->Entity Microsoft\Graph\Beta\Generated.models.securityAction::|public|constructor():void Microsoft\Graph\Beta\Generated.models.securityAction::|public|getActionReason():string @@ -275401,6 +276683,7 @@ Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|getAppliedEvent Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|getCorrelationId():string Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|getCreatedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|getFraudProtectionDetails():FraudProtectionDetails Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|getSignUpIdentity():SignUpIdentity Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|getSignUpIdentityProvider():string Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|getSignUpStage():SignUpStage @@ -275413,6 +276696,7 @@ Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|setAppId(value? Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|setAppliedEventListeners(value?:array):void Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|setCorrelationId(value?:string):void Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|setFraudProtectionDetails(value?:FraudProtectionDetails):void Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|setSignUpIdentity(value?:SignUpIdentity):void Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|setSignUpIdentityProvider(value?:string):void Microsoft\Graph\Beta\Generated.models.selfServiceSignUp::|public|setSignUpStage(value?:SignUpStage):void @@ -278835,9 +280119,8 @@ Microsoft\Graph\Beta\Generated.models.siteSettings::|public|setTimeZone(value?:s Microsoft\Graph\Beta\Generated.models.siteSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SiteSettings Microsoft\Graph\Beta\Generated.models.siteSettings~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.siteTemplateType::0000-sitepagepublishing -Microsoft\Graph\Beta\Generated.models.siteTemplateType::0001-group -Microsoft\Graph\Beta\Generated.models.siteTemplateType::0002-sts -Microsoft\Graph\Beta\Generated.models.siteTemplateType::0003-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.siteTemplateType::0001-sts +Microsoft\Graph\Beta\Generated.models.siteTemplateType::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.sizeRange::|public|constructor():void Microsoft\Graph\Beta\Generated.models.sizeRange::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.sizeRange::|public|getBackingStore():BackingStore @@ -282867,6 +284150,27 @@ Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|S Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|setPolicyFiles(value?:array):void Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|setProtectionScopes(value?:TenantProtectionScopeContainer):void Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantDataSecurityAndGovernance +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation-->Entity +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|getLastActionDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|getResourceLocation():string +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|getStatus():LongRunningOperationStatus +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|getStatusDetail():string +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|setLastActionDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|setResourceLocation(value?:string):void +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|setStatus(value?:LongRunningOperationStatus):void +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|public|setStatusDetail(value?:string):void +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):LongRunningOperation +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperationStatus::0000-notStarted +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperationStatus::0001-running +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperationStatus::0002-succeeded +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperationStatus::0003-failed +Microsoft\Graph\Beta\Generated.models.tenantGovernanceServices.longRunningOperationStatus::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.tenantInformation::|public|constructor():void Microsoft\Graph\Beta\Generated.models.tenantInformation::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.tenantInformation::|public|getBackingStore():BackingStore @@ -285835,6 +287139,7 @@ Microsoft\Graph\Beta\Generated.models.usageAuthMethod::0024-alternateMobilePhone Microsoft\Graph\Beta\Generated.models.usageAuthMethod::0025-fido2SecurityKey Microsoft\Graph\Beta\Generated.models.usageAuthMethod::0026-oneTimePasscode Microsoft\Graph\Beta\Generated.models.usageAuthMethod::0027-passKeySynced +Microsoft\Graph\Beta\Generated.models.usageAuthMethod::0028-qrCode Microsoft\Graph\Beta\Generated.models.usageDetails::|public|constructor():void Microsoft\Graph\Beta\Generated.models.usageDetails::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.usageDetails::|public|getBackingStore():BackingStore @@ -285889,7 +287194,8 @@ Microsoft\Graph\Beta\Generated.models.usageRights::0016-userDefinedProtectionTyp Microsoft\Graph\Beta\Generated.models.usageRights::0017-encryptedProtectionTypeNotSupportedException Microsoft\Graph\Beta\Generated.models.usageRights::0018-purviewClaimsChallengeNotSupportedException Microsoft\Graph\Beta\Generated.models.usageRights::0019-exception -Microsoft\Graph\Beta\Generated.models.usageRights::0020-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.usageRights::0020-labelNotFoundException +Microsoft\Graph\Beta\Generated.models.usageRights::0021-unknownFutureValue Microsoft\Graph\Beta\Generated.models.usageRightsIncluded-->Entity Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|constructor():void Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|GetFieldDeserializers():array @@ -296073,6 +297379,37 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.applicableContentDeviceMatc Microsoft\Graph\Beta\Generated.models.windowsUpdates.applicableContentDeviceMatchCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ApplicableContentDeviceMatchCollectionResponse Microsoft\Graph\Beta\Generated.models.windowsUpdates.applicableContentDeviceMatch~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.windowsUpdates.applicableContent~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|getDeferralInDays():int +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|setDeferralInDays(value?:int):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ApprovalRule +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalRule~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalStatus::0000-approved +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalStatus::0001-suspended +Microsoft\Graph\Beta\Generated.models.windowsUpdates.approvalStatus::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|getGroup():Group +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|getGroupId():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|setGroup(value?:Group):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|setGroupId(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AssignedGroup +Microsoft\Graph\Beta\Generated.models.windowsUpdates.assignedGroup~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.windowsUpdates.azureADDevice-->UpdatableAsset Microsoft\Graph\Beta\Generated.models.windowsUpdates.azureADDevice::|public|constructor():void Microsoft\Graph\Beta\Generated.models.windowsUpdates.azureADDevice::|public|getEnrollment():UpdateManagementEnrollment @@ -296451,6 +297788,14 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.enrollmentState::0002-enrol Microsoft\Graph\Beta\Generated.models.windowsUpdates.enrollmentState::0003-enrolling Microsoft\Graph\Beta\Generated.models.windowsUpdates.enrollmentState::0004-unenrolling Microsoft\Graph\Beta\Generated.models.windowsUpdates.enrollmentState::0005-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.windowsUpdates.excludedGroupAssignment-->GroupAssignment +Microsoft\Graph\Beta\Generated.models.windowsUpdates.excludedGroupAssignment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.excludedGroupAssignment::|public|getAssignments():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.excludedGroupAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.excludedGroupAssignment::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.excludedGroupAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.excludedGroupAssignment::|public|setAssignments(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.excludedGroupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExcludedGroupAssignment Microsoft\Graph\Beta\Generated.models.windowsUpdates.expediteSettings::|public|constructor():void Microsoft\Graph\Beta\Generated.models.windowsUpdates.expediteSettings::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.windowsUpdates.expediteSettings::|public|getBackingStore():BackingStore @@ -296489,6 +297834,25 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.gradualRolloutSettings::|pu Microsoft\Graph\Beta\Generated.models.windowsUpdates.gradualRolloutSettings::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.gradualRolloutSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GradualRolloutSettings Microsoft\Graph\Beta\Generated.models.windowsUpdates.gradualRolloutSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GroupAssignment +Microsoft\Graph\Beta\Generated.models.windowsUpdates.groupAssignment~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.windowsUpdates.includedGroupAssignment-->GroupAssignment +Microsoft\Graph\Beta\Generated.models.windowsUpdates.includedGroupAssignment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.includedGroupAssignment::|public|getAssignments():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.includedGroupAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.includedGroupAssignment::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.includedGroupAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.includedGroupAssignment::|public|setAssignments(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.includedGroupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IncludedGroupAssignment Microsoft\Graph\Beta\Generated.models.windowsUpdates.itemBody::|public|constructor():void Microsoft\Graph\Beta\Generated.models.windowsUpdates.itemBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.windowsUpdates.itemBody::|public|getBackingStore():BackingStore @@ -296611,6 +297975,58 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.operationalInsightsConnecti Microsoft\Graph\Beta\Generated.models.windowsUpdates.operationalInsightsConnection::|public|setAzureSubscriptionId(value?:string):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.operationalInsightsConnection::|public|setWorkspaceName(value?:string):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.operationalInsightsConnection::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OperationalInsightsConnection +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy-->Entity +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|getApplicableContent():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|getApprovalRules():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|getApprovals():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|getDescription():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|getDisplayName():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|getLastModifiedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|getRings():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|setApplicableContent(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|setApprovalRules(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|setApprovals(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|setDescription(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|setLastModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|public|setRings(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Policy +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval-->Entity +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|getCatalogEntry():CatalogEntry +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|getCatalogEntryId():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|getLastModifiedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|getStatus():ApprovalStatus +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|setCatalogEntry(value?:CatalogEntry):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|setCatalogEntryId(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|setLastModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|public|setStatus(value?:ApprovalStatus):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApproval::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyApproval +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApprovalCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApprovalCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApprovalCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApprovalCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApprovalCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApprovalCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyApprovalCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyApprovalCollectionResponse +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.policyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyCollectionResponse Microsoft\Graph\Beta\Generated.models.windowsUpdates.product-->Entity Microsoft\Graph\Beta\Generated.models.windowsUpdates.product::|public|constructor():void Microsoft\Graph\Beta\Generated.models.windowsUpdates.product::|public|getEditions():array @@ -296665,6 +298081,16 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.productRevisionCollectionRe Microsoft\Graph\Beta\Generated.models.windowsUpdates.productRevisionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.productRevisionCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.productRevisionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProductRevisionCollectionResponse +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule-->ApprovalRule +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|public|getCadence():QualityUpdateCadence +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|public|getClassification():QualityUpdateClassification +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|public|setCadence(value?:QualityUpdateCadence):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|public|setClassification(value?:QualityUpdateClassification):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateApprovalRule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QualityUpdateApprovalRule Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateCadence::0000-monthly Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateCadence::0001-outOfBand Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateCadence::0002-unknownFutureValue @@ -296719,6 +298145,20 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateFilter::|publi Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateFilter::|public|setCadence(value?:QualityUpdateCadence):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateFilter::|public|setClassification(value?:QualityUpdateClassification):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateFilter::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QualityUpdateFilter +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdatePolicy-->Policy +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdatePolicy::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdatePolicy::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdatePolicy::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdatePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdatePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QualityUpdatePolicy +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateRing-->Ring +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateRing::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateRing::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateRing::|public|getIsHotpatchEnabled():bool +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateRing::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateRing::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateRing::|public|setIsHotpatchEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.qualityUpdateRing::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QualityUpdateRing Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings-->GradualRolloutSettings Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings::|public|constructor():void Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings::|public|getDevicesPerOffer():int @@ -296727,6 +298167,22 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings:: Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings::|public|setDevicesPerOffer(value?:int):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RateDrivenRolloutSettings +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryApprovalRule-->ApprovalRule +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryApprovalRule::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryApprovalRule::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryApprovalRule::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryApprovalRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryApprovalRule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RecoveryApprovalRule +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry-->SoftwareUpdateCatalogEntry +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|public|getCatalogName():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|public|getProductRevisions():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|public|setCatalogName(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|public|setProductRevisions(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.recoveryUpdateCatalogEntry::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RecoveryUpdateCatalogEntry Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationType::0000-inPlaceUpgrade Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationType::0001-unknownFutureValue Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter-->WindowsUpdateFilter @@ -296760,6 +298216,35 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.resourceConnectionState::00 Microsoft\Graph\Beta\Generated.models.windowsUpdates.resourceConnectionState::0001-notAuthorized Microsoft\Graph\Beta\Generated.models.windowsUpdates.resourceConnectionState::0002-notFound Microsoft\Graph\Beta\Generated.models.windowsUpdates.resourceConnectionState::0003-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring-->Entity +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|getDeferralInDays():int +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|getDescription():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|getDisplayName():string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|getExcludedGroupAssignment():ExcludedGroupAssignment +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|getIncludedGroupAssignment():IncludedGroupAssignment +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|getIsPaused():bool +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|getLastModifiedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|setDeferralInDays(value?:int):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|setDescription(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|setExcludedGroupAssignment(value?:ExcludedGroupAssignment):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|setIncludedGroupAssignment(value?:IncludedGroupAssignment):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|setIsPaused(value?:bool):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|public|setLastModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ring::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Ring +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ringCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ringCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ringCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ringCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ringCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ringCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.ringCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RingCollectionResponse Microsoft\Graph\Beta\Generated.models.windowsUpdates.safeguardCategory::0000-likelyIssues Microsoft\Graph\Beta\Generated.models.windowsUpdates.safeguardCategory::0001-unknownFutureValue Microsoft\Graph\Beta\Generated.models.windowsUpdates.safeguardProfile::|public|constructor():void @@ -301241,31 +302726,32 @@ Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccess Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; filter?:string; search?:string; skip?:int; top?:int):MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|getValue():array -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|setValue(value?:array):void -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceReportWithStartDateTimeWithEndDateTimeGetResponse -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; endDateTime?:DateTime; startDateTime?:DateTime):void -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(requestConfiguration?:MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):DeviceReportWithStartDateTimeWithEndDateTimeGetResponse -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|constructor(count?:bool; filter?:string; search?:string; skip?:int; top?:int):void -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; filter?:string; search?:string; skip?:int; top?:int):MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; endDateTime?:DateTime; startDateTime?:DateTime):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|Get(requestConfiguration?:MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration):DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|WithUrl(rawUrl:string):MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|constructor(count?:bool; discoveredApplicationSegmentId?:string; filter?:string; search?:string; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|discoveredApplicationSegmentId:string +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration::|public|queryParameters:MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; discoveredApplicationSegmentId?:string; filter?:string; search?:string; skip?:int; top?:int):MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array @@ -301574,7 +303060,7 @@ Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|pub Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|Get(requestConfiguration?:ReportsRequestBuilderGetRequestConfiguration):Reports Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy(aggregatedBy:string; endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder @@ -335886,7 +337372,31 @@ Microsoft\Graph\Beta\Generated.security.identities.sensors.sensorsRequestBuilder Microsoft\Graph\Beta\Generated.security.identities.sensors.sensorsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SensorsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.security.identities.sensors.sensorsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.security.identities.sensors.sensorsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|Delete(requestConfiguration?:AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|Get(requestConfiguration?:AutoAuditingConfigurationRequestBuilderGetRequestConfiguration):AutoAuditingConfiguration +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|Patch(body:AutoAuditingConfiguration; requestConfiguration?:AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration):AutoAuditingConfiguration +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AutoAuditingConfigurationRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|ToPatchRequestInformation(body:AutoAuditingConfiguration; requestConfiguration?:AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder::|public|WithUrl(rawUrl:string):AutoAuditingConfigurationRequestBuilder +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AutoAuditingConfigurationRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderGetRequestConfiguration::|public|queryParameters:AutoAuditingConfigurationRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AutoAuditingConfigurationRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.identities.settings.autoAuditingConfiguration.autoAuditingConfigurationRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.security.identities.settings.SettingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.identities.settings.SettingsRequestBuilder::|public|autoAuditingConfiguration:AutoAuditingConfigurationRequestBuilder Microsoft\Graph\Beta\Generated.security.identities.settings.SettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.identities.settings.SettingsRequestBuilder::|public|Delete(requestConfiguration?:SettingsRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Beta\Generated.security.identities.settings.SettingsRequestBuilder::|public|Get(requestConfiguration?:SettingsRequestBuilderGetRequestConfiguration):SettingsContainer @@ -338225,6 +339735,7 @@ Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|triggerT Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|userSecurityProfiles:UserSecurityProfilesRequestBuilder Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|WithUrl(rawUrl:string):SecurityRequestBuilder +Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|zones:ZonesRequestBuilder Microsoft\Graph\Beta\Generated.security.securityRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void Microsoft\Graph\Beta\Generated.security.securityRequestBuilderGetQueryParameters::|public|expand:array Microsoft\Graph\Beta\Generated.security.securityRequestBuilderGetQueryParameters::|public|select:array @@ -341757,6 +343268,171 @@ Microsoft\Graph\Beta\Generated.security.userSecurityProfiles.userSecurityProfile Microsoft\Graph\Beta\Generated.security.userSecurityProfiles.userSecurityProfilesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):UserSecurityProfilesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.security.userSecurityProfiles.userSecurityProfilesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.security.userSecurityProfiles.userSecurityProfilesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.AggregationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.AggregationsRequestBuilder::|public|ByAggregatedEnvironmentKind(aggregatedEnvironmentKind:string):AggregatedEnvironmentKindItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.AggregationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.AggregationsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.AggregationsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.AggregationsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.AggregationsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilder::|public|Get(requestConfiguration?:AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration):AggregatedEnvironment +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilder::|public|WithUrl(rawUrl:string):AggregatedEnvironmentKindItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration::|public|queryParameters:AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.aggregations.item.AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.environments.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|ByEnvironmentId(environmentId:string):EnvironmentItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|Get(requestConfiguration?:EnvironmentsRequestBuilderGetRequestConfiguration):EnvironmentCollectionResponse +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|Post(body:Environment; requestConfiguration?:EnvironmentsRequestBuilderPostRequestConfiguration):Environment +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:EnvironmentsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|ToPostRequestInformation(body:Environment; requestConfiguration?:EnvironmentsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.item.environments.EnvironmentsRequestBuilder::|public|WithUrl(rawUrl:string):EnvironmentsRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:EnvironmentsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:EnvironmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):EnvironmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.environments.environmentsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|Delete(requestConfiguration?:EnvironmentItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|Get(requestConfiguration?:EnvironmentItemRequestBuilderGetRequestConfiguration):Environment +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:EnvironmentItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:EnvironmentItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilder::|public|WithUrl(rawUrl:string):EnvironmentItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:EnvironmentItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:EnvironmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.environments.item.EnvironmentItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):EnvironmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|aggregations:AggregationsRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|Delete(requestConfiguration?:ZoneItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|environments:EnvironmentsRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|Get(requestConfiguration?:ZoneItemRequestBuilderGetRequestConfiguration):Zone +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|Patch(body:Zone; requestConfiguration?:ZoneItemRequestBuilderPatchRequestConfiguration):Zone +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ZoneItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ZoneItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|ToPatchRequestInformation(body:Zone; requestConfiguration?:ZoneItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilder::|public|WithUrl(rawUrl:string):ZoneItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ZoneItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ZoneItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ZoneItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.item.ZoneItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|ByZoneId(zoneId:string):ZoneItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|Get(requestConfiguration?:ZonesRequestBuilderGetRequestConfiguration):ZoneCollectionResponse +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|Post(body:Zone; requestConfiguration?:ZonesRequestBuilderPostRequestConfiguration):Zone +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ZonesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|ToPostRequestInformation(body:Zone; requestConfiguration?:ZonesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.zones.ZonesRequestBuilder::|public|WithUrl(rawUrl:string):ZonesRequestBuilder +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ZonesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetRequestConfiguration::|public|queryParameters:ZonesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ZonesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.zones.zonesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.servicePrincipals.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.servicePrincipals.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.servicePrincipals.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -350090,6 +351766,7 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventi Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getClassifyText():TextClassificationRequest Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getEvaluationInput():DlpEvaluationInput Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getNotificationInfo():DlpNotification @@ -350097,6 +351774,7 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventi Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setClassifyText(value?:TextClassificationRequest):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setEvaluationInput(value?:DlpEvaluationInput):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setNotificationInfo(value?:DlpNotification):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setTarget(value?:string):void @@ -412433,6 +414111,7 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventi Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getClassifyText():TextClassificationRequest Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getEvaluationInput():DlpEvaluationInput Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|getNotificationInfo():DlpNotification @@ -412440,6 +414119,7 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventi Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setClassifyText(value?:TextClassificationRequest):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setEvaluationInput(value?:DlpEvaluationInput):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setNotificationInfo(value?:DlpNotification):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.dataLossPreventionPolicies.evaluate.evaluatePostRequestBody::|public|setTarget(value?:string):void diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index e48b6bcaf65..8caac80571c 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "5DA63785EF55E0A5E55046ED2D4FA2BD501F7C70F4CF3DF10025C8E942028F3F07812002B26ED8C71DA51CB136C6C9980513B3D49EAECDB329C6AE335B352360", + "descriptionHash": "6AC8BEE38C6F8D84E3D84251C2E81EC29D6B9D422CE5A5460FB8388BC306BB365C22868B26D96A668A6F1B3BBC856B4B35A86F2811F6796B76204F1BE85AFA01", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",