Skip to content

Commit

Permalink
Merge pull request #281 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 2.8.0
  • Loading branch information
SilasKenneth authored May 9, 2024
2 parents 04e852e + fdb5af5 commit 02fd04f
Show file tree
Hide file tree
Showing 3,411 changed files with 31,705 additions and 7,019 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can install the Beta PHP SDK with Composer by editing your `composer.json` f
```
{
"require": {
"microsoft/microsoft-graph-beta": "^2.7.0"
"microsoft/microsoft-graph-beta": "^2.8.0"
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* The collection of decisions for this access review.
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
* @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<AccessReviewDecisionCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-beta Find more info here
*/
public function get(?DecisionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -81,7 +82,7 @@ public function post(AccessReviewDecision $body, ?DecisionsRequestBuilderPostReq
}

/**
* The collection of decisions for this access review.
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
* @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* The collection of decisions for this access review.
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
*/
class DecisionsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param ApplyDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta Find more info here
*/
public function post(?ApplyDecisionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* The collection of decisions for the caller, if the caller is a reviewer.
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
* @param MyDecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<AccessReviewDecisionCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/accessreview-listmydecisions?view=graph-rest-beta Find more info here
*/
public function get(?MyDecisionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -81,7 +82,7 @@ public function post(AccessReviewDecision $body, ?MyDecisionsRequestBuilderPostR
}

/**
* The collection of decisions for the caller, if the caller is a reviewer.
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
* @param MyDecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* The collection of decisions for the caller, if the caller is a reviewer.
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
*/
class MyDecisionsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Delete navigation property reviewers for accessReviews
* In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
* @param AccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/accessreview-removereviewer?view=graph-rest-beta Find more info here
*/
public function delete(?AccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -74,7 +75,7 @@ public function patch(AccessReviewReviewer $body, ?AccessReviewReviewerItemReque
}

/**
* Delete navigation property reviewers for accessReviews
* In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
* @param AccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* The collection of reviewers for an access review, if access review reviewerType is of type delegated.
* In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object.
* @param ReviewersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<AccessReviewReviewerCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/accessreview-listreviewers?view=graph-rest-beta Find more info here
*/
public function get(?ReviewersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -66,11 +67,12 @@ public function get(?ReviewersRequestBuilderGetRequestConfiguration $requestConf
}

/**
* Create new navigation property to reviewers for accessReviews
* In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
* @param AccessReviewReviewer $body The request body
* @param ReviewersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<AccessReviewReviewer|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/accessreview-addreviewer?view=graph-rest-beta Find more info here
*/
public function post(AccessReviewReviewer $body, ?ReviewersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand All @@ -81,7 +83,7 @@ public function post(AccessReviewReviewer $body, ?ReviewersRequestBuilderPostReq
}

/**
* The collection of reviewers for an access review, if access review reviewerType is of type delegated.
* In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object.
* @param ReviewersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -102,7 +104,7 @@ public function toGetRequestInformation(?ReviewersRequestBuilderGetRequestConfig
}

/**
* Create new navigation property to reviewers for accessReviews
* In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
* @param AccessReviewReviewer $body The request body
* @param ReviewersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* The collection of reviewers for an access review, if access review reviewerType is of type delegated.
* In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object.
*/
class ReviewersRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ public function delete(?AppsAndServicesRequestBuilderDeleteRequestConfiguration
}

/**
* Get appsAndServices from admin
* Read the properties and relationships of a adminAppsAndServices object.
* @param AppsAndServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<AdminAppsAndServices|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/adminappsandservices-get?view=graph-rest-beta Find more info here
*/
public function get(?AppsAndServicesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -59,11 +60,12 @@ public function get(?AppsAndServicesRequestBuilderGetRequestConfiguration $reque
}

/**
* Update the navigation property appsAndServices in admin
* Update the properties of a adminAppsAndServices object.
* @param AdminAppsAndServices $body The request body
* @param AppsAndServicesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<AdminAppsAndServices|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/adminappsandservices-update?view=graph-rest-beta Find more info here
*/
public function patch(AdminAppsAndServices $body, ?AppsAndServicesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Expand Down Expand Up @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?AppsAndServicesRequestBuilderDeleteR
}

/**
* Get appsAndServices from admin
* Read the properties and relationships of a adminAppsAndServices object.
* @param AppsAndServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -113,7 +115,7 @@ public function toGetRequestInformation(?AppsAndServicesRequestBuilderGetRequest
}

/**
* Update the navigation property appsAndServices in admin
* Update the properties of a adminAppsAndServices object.
* @param AdminAppsAndServices $body The request body
* @param AppsAndServicesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Get appsAndServices from admin
* Read the properties and relationships of a adminAppsAndServices object.
*/
class AppsAndServicesRequestBuilderGetQueryParameters
{
Expand Down
10 changes: 6 additions & 4 deletions src/Generated/Admin/Dynamics/DynamicsRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ public function delete(?DynamicsRequestBuilderDeleteRequestConfiguration $reques
}

/**
* Get dynamics from admin
* Read the properties and relationships of a adminDynamics object.
* @param DynamicsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<AdminDynamics|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/admindynamics-get?view=graph-rest-beta Find more info here
*/
public function get(?DynamicsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -59,11 +60,12 @@ public function get(?DynamicsRequestBuilderGetRequestConfiguration $requestConfi
}

/**
* Update the navigation property dynamics in admin
* Update the properties of a adminDynamics object.
* @param AdminDynamics $body The request body
* @param DynamicsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<AdminDynamics|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/admindynamics-update?view=graph-rest-beta Find more info here
*/
public function patch(AdminDynamics $body, ?DynamicsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Expand Down Expand Up @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?DynamicsRequestBuilderDeleteRequestC
}

/**
* Get dynamics from admin
* Read the properties and relationships of a adminDynamics object.
* @param DynamicsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -113,7 +115,7 @@ public function toGetRequestInformation(?DynamicsRequestBuilderGetRequestConfigu
}

/**
* Update the navigation property dynamics in admin
* Update the properties of a adminDynamics object.
* @param AdminDynamics $body The request body
* @param DynamicsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Get dynamics from admin
* Read the properties and relationships of a adminDynamics object.
*/
class DynamicsRequestBuilderGetQueryParameters
{
Expand Down
Loading

0 comments on commit 02fd04f

Please sign in to comment.