Skip to content

Commit 781415f

Browse files
authored
Merge pull request #930 from microsoftgraph/beta/pipelinebuild/144721
Generated beta models and request builders
2 parents 068dd9e + 7dfd7ed commit 781415f

File tree

4,717 files changed

+23815
-31181
lines changed

Some content is hidden

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

4,717 files changed

+23815
-31181
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [6.7.0] - 2024-04-24
15+
16+
### Added
17+
- Weekly generated beta models and request builders using Kiota
18+
1419
## [6.6.0] - 2024-04-16
1520

1621
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121
2222
dependencies {
2323
// Include the sdk as a dependency
24-
implementation 'com.microsoft.graph:microsoft-graph-beta:6.6.0'
24+
implementation 'com.microsoft.graph:microsoft-graph-beta:6.7.0'
2525
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
2626
implementation 'com.azure:azure-identity:1.11.0'
2727
}
@@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
3636
<!-- Include the sdk as a dependency -->
3737
<groupId>com.microsoft.graph</groupId>
3838
<artifactId>microsoft-graph-beta</artifactId>
39-
<version>6.6.0</version>
39+
<version>6.7.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph-beta
2828
mavenMajorVersion = 6
29-
mavenMinorVersion = 6
29+
mavenMinorVersion = 7
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

src/main/java/com/microsoft/graph/beta/generated/accessreviews/AccessReviewsRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public AccessReviewsRequestBuilder(@jakarta.annotation.Nonnull final String rawU
6363
* Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
6464
* @return a {@link AccessReviewCollectionResponse}
6565
* @throws ODataError When receiving a 4XX or 5XX status code
66-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-1.0">Find more info here</a>
66+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-beta">Find more info here</a>
6767
*/
6868
@jakarta.annotation.Nullable
6969
public AccessReviewCollectionResponse get() {
@@ -74,7 +74,7 @@ public AccessReviewCollectionResponse get() {
7474
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7575
* @return a {@link AccessReviewCollectionResponse}
7676
* @throws ODataError When receiving a 4XX or 5XX status code
77-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-1.0">Find more info here</a>
77+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-beta">Find more info here</a>
7878
*/
7979
@jakarta.annotation.Nullable
8080
public AccessReviewCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -88,7 +88,7 @@ public AccessReviewCollectionResponse get(@jakarta.annotation.Nullable final jav
8888
* @param body The request body
8989
* @return a {@link AccessReview}
9090
* @throws ODataError When receiving a 4XX or 5XX status code
91-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-1.0">Find more info here</a>
91+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-beta">Find more info here</a>
9292
*/
9393
@jakarta.annotation.Nullable
9494
public AccessReview post(@jakarta.annotation.Nonnull final AccessReview body) {
@@ -100,7 +100,7 @@ public AccessReview post(@jakarta.annotation.Nonnull final AccessReview body) {
100100
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
101101
* @return a {@link AccessReview}
102102
* @throws ODataError When receiving a 4XX or 5XX status code
103-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-1.0">Find more info here</a>
103+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-beta">Find more info here</a>
104104
*/
105105
@jakarta.annotation.Nullable
106106
public AccessReview post(@jakarta.annotation.Nonnull final AccessReview body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {

src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/AccessReviewItemRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public AccessReviewItemRequestBuilder(@jakarta.annotation.Nonnull final String r
111111
/**
112112
* In the Microsoft Entra access reviews feature, delete an accessReview object.
113113
* @throws ODataError When receiving a 4XX or 5XX status code
114-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-1.0">Find more info here</a>
114+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-beta">Find more info here</a>
115115
*/
116116
public void delete() {
117117
delete(null);
@@ -120,7 +120,7 @@ public void delete() {
120120
* In the Microsoft Entra access reviews feature, delete an accessReview object.
121121
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
122122
* @throws ODataError When receiving a 4XX or 5XX status code
123-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-1.0">Find more info here</a>
123+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-beta">Find more info here</a>
124124
*/
125125
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
126126
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -132,7 +132,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
132132
* In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions.
133133
* @return a {@link AccessReview}
134134
* @throws ODataError When receiving a 4XX or 5XX status code
135-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-1.0">Find more info here</a>
135+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-beta">Find more info here</a>
136136
*/
137137
@jakarta.annotation.Nullable
138138
public AccessReview get() {
@@ -143,7 +143,7 @@ public AccessReview get() {
143143
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
144144
* @return a {@link AccessReview}
145145
* @throws ODataError When receiving a 4XX or 5XX status code
146-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-1.0">Find more info here</a>
146+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-beta">Find more info here</a>
147147
*/
148148
@jakarta.annotation.Nullable
149149
public AccessReview get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -157,7 +157,7 @@ public AccessReview get(@jakarta.annotation.Nullable final java.util.function.Co
157157
* @param body The request body
158158
* @return a {@link AccessReview}
159159
* @throws ODataError When receiving a 4XX or 5XX status code
160-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-1.0">Find more info here</a>
160+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-beta">Find more info here</a>
161161
*/
162162
@jakarta.annotation.Nullable
163163
public AccessReview patch(@jakarta.annotation.Nonnull final AccessReview body) {
@@ -169,7 +169,7 @@ public AccessReview patch(@jakarta.annotation.Nonnull final AccessReview body) {
169169
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
170170
* @return a {@link AccessReview}
171171
* @throws ODataError When receiving a 4XX or 5XX status code
172-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-1.0">Find more info here</a>
172+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-beta">Find more info here</a>
173173
*/
174174
@jakarta.annotation.Nullable
175175
public AccessReview patch(@jakarta.annotation.Nonnull final AccessReview body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {

src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/applydecisions/ApplyDecisionsRequestBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw
3737
/**
3838
* In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
3939
* @throws ODataError When receiving a 4XX or 5XX status code
40-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-1.0">Find more info here</a>
40+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta">Find more info here</a>
4141
*/
4242
public void post() {
4343
post(null);
@@ -46,7 +46,7 @@ public void post() {
4646
* In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
4747
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4848
* @throws ODataError When receiving a 4XX or 5XX status code
49-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-1.0">Find more info here</a>
49+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta">Find more info here</a>
5050
*/
5151
public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
5252
final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);

src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/DecisionsRequestBuilder.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,19 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
6060
super(requestAdapter, "{+baseurl}/accessReviews/{accessReview%2Did}/decisions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
6161
}
6262
/**
63-
* 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.
63+
* The collection of decisions for this access review.
6464
* @return a {@link AccessReviewDecisionCollectionResponse}
6565
* @throws ODataError When receiving a 4XX or 5XX status code
66-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-1.0">Find more info here</a>
6766
*/
6867
@jakarta.annotation.Nullable
6968
public AccessReviewDecisionCollectionResponse get() {
7069
return get(null);
7170
}
7271
/**
73-
* 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.
72+
* The collection of decisions for this access review.
7473
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7574
* @return a {@link AccessReviewDecisionCollectionResponse}
7675
* @throws ODataError When receiving a 4XX or 5XX status code
77-
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-1.0">Find more info here</a>
7876
*/
7977
@jakarta.annotation.Nullable
8078
public AccessReviewDecisionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -109,15 +107,15 @@ public AccessReviewDecision post(@jakarta.annotation.Nonnull final AccessReviewD
109107
return this.requestAdapter.send(requestInfo, errorMapping, AccessReviewDecision::createFromDiscriminatorValue);
110108
}
111109
/**
112-
* 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.
110+
* The collection of decisions for this access review.
113111
* @return a {@link RequestInformation}
114112
*/
115113
@jakarta.annotation.Nonnull
116114
public RequestInformation toGetRequestInformation() {
117115
return toGetRequestInformation(null);
118116
}
119117
/**
120-
* 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.
118+
* The collection of decisions for this access review.
121119
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
122120
* @return a {@link RequestInformation}
123121
*/
@@ -163,7 +161,7 @@ public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
163161
return new DecisionsRequestBuilder(rawUrl, requestAdapter);
164162
}
165163
/**
166-
* 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.
164+
* The collection of decisions for this access review.
167165
*/
168166
@jakarta.annotation.Generated("com.microsoft.kiota")
169167
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)