Skip to content

Commit 123d570

Browse files
authored
Merge pull request #941 from microsoftgraph/beta/pipelinebuild/147067
Generated beta models and request builders
2 parents d2dc129 + 6c591b5 commit 123d570

File tree

1,757 files changed

+34097
-10316
lines changed

Some content is hidden

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

1,757 files changed

+34097
-10316
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [6.9.0] - 2024-05-09
15+
16+
### Changed
17+
18+
- Weekly generated beta models and request builders using Kiota
19+
- Downgrade `jakarta.annotations-api` dependency for java 8 compatibility
20+
21+
## [6.8.0] - 2024-05-02
22+
23+
### Changed
24+
25+
- Weekly generated beta models and request builders using Kiota
26+
1427
## [6.7.0] - 2024-04-24
1528

1629
### 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.8.0'
24+
implementation 'com.microsoft.graph:microsoft-graph-beta:6.9.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.8.0</version>
39+
<version>6.9.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 = 8
29+
mavenMinorVersion = 9
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

gradle/dependencies.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ dependencies {
55
testImplementation 'org.mockito:mockito-inline:5.2.0'
66

77
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
8-
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
8+
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
99

1010
// Core Http library
11-
api 'com.microsoft.graph:microsoft-graph-core:3.1.9'
11+
api 'com.microsoft.graph:microsoft-graph-core:3.1.10'
12+
1213
implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.1.11'
1314
implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.1.11'
1415
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-json:1.1.11'

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,21 @@ 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-
* The collection of decisions for this access review.
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.
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-beta">Find more info here</a>
6667
*/
6768
@jakarta.annotation.Nullable
6869
public AccessReviewDecisionCollectionResponse get() {
6970
return get(null);
7071
}
7172
/**
72-
* The collection of decisions for this access review.
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.
7374
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7475
* @return a {@link AccessReviewDecisionCollectionResponse}
7576
* @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-beta">Find more info here</a>
7678
*/
7779
@jakarta.annotation.Nullable
7880
public AccessReviewDecisionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -107,15 +109,15 @@ public AccessReviewDecision post(@jakarta.annotation.Nonnull final AccessReviewD
107109
return this.requestAdapter.send(requestInfo, errorMapping, AccessReviewDecision::createFromDiscriminatorValue);
108110
}
109111
/**
110-
* The collection of decisions for this access review.
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.
111113
* @return a {@link RequestInformation}
112114
*/
113115
@jakarta.annotation.Nonnull
114116
public RequestInformation toGetRequestInformation() {
115117
return toGetRequestInformation(null);
116118
}
117119
/**
118-
* The collection of decisions for this access review.
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.
119121
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
120122
* @return a {@link RequestInformation}
121123
*/
@@ -161,7 +163,7 @@ public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
161163
return new DecisionsRequestBuilder(rawUrl, requestAdapter);
162164
}
163165
/**
164-
* The collection of decisions for this access review.
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.
165167
*/
166168
@jakarta.annotation.Generated("com.microsoft.kiota")
167169
public class GetQueryParameters implements QueryParameters {

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ 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-beta">Find more info here</a>
4140
*/
4241
public void post() {
4342
post(null);
@@ -46,7 +45,6 @@ public void post() {
4645
* 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.
4746
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4847
* @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-beta">Find more info here</a>
5048
*/
5149
public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
5250
final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,21 @@ public MyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
6060
super(requestAdapter, "{+baseurl}/accessReviews/{accessReview%2Did}/myDecisions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
6161
}
6262
/**
63-
* The collection of decisions for the caller, if the caller is a reviewer.
63+
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
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-listmydecisions?view=graph-rest-beta">Find more info here</a>
6667
*/
6768
@jakarta.annotation.Nullable
6869
public AccessReviewDecisionCollectionResponse get() {
6970
return get(null);
7071
}
7172
/**
72-
* The collection of decisions for the caller, if the caller is a reviewer.
73+
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
7374
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7475
* @return a {@link AccessReviewDecisionCollectionResponse}
7576
* @throws ODataError When receiving a 4XX or 5XX status code
77+
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-listmydecisions?view=graph-rest-beta">Find more info here</a>
7678
*/
7779
@jakarta.annotation.Nullable
7880
public AccessReviewDecisionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -107,15 +109,15 @@ public AccessReviewDecision post(@jakarta.annotation.Nonnull final AccessReviewD
107109
return this.requestAdapter.send(requestInfo, errorMapping, AccessReviewDecision::createFromDiscriminatorValue);
108110
}
109111
/**
110-
* The collection of decisions for the caller, if the caller is a reviewer.
112+
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
111113
* @return a {@link RequestInformation}
112114
*/
113115
@jakarta.annotation.Nonnull
114116
public RequestInformation toGetRequestInformation() {
115117
return toGetRequestInformation(null);
116118
}
117119
/**
118-
* The collection of decisions for the caller, if the caller is a reviewer.
120+
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
119121
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
120122
* @return a {@link RequestInformation}
121123
*/
@@ -161,7 +163,7 @@ public MyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin
161163
return new MyDecisionsRequestBuilder(rawUrl, requestAdapter);
162164
}
163165
/**
164-
* The collection of decisions for the caller, if the caller is a reviewer.
166+
* In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
165167
*/
166168
@jakarta.annotation.Generated("com.microsoft.kiota")
167169
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)