Skip to content

Commit f479918

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 193250
1 parent 9700163 commit f479918

File tree

8,358 files changed

+51314
-93547
lines changed

Some content is hidden

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

8,358 files changed

+51314
-93547
lines changed

src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/AccessReviewDecisionsRequestBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ public class GetQueryParameters implements QueryParameters {
199199
* Skip the first n items
200200
*/
201201
@jakarta.annotation.Nullable
202-
public Integer skip;
202+
public Long skip;
203203
/**
204204
* Show only the first n items
205205
*/
206206
@jakarta.annotation.Nullable
207-
public Integer top;
207+
public Long top;
208208
/**
209209
* Extracts the query parameters into a map for the URI template parsing.
210210
* @return a {@link Map<String, Object>}

src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/count/CountRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
3737
}
3838
/**
3939
* Get the number of the resource
40-
* @return a {@link Integer}
40+
* @return a {@link Long}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
*/
4343
@jakarta.annotation.Nullable
44-
public Integer get() {
44+
public Long get() {
4545
return get(null);
4646
}
4747
/**
4848
* Get the number of the resource
4949
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50-
* @return a {@link Integer}
50+
* @return a {@link Long}
5151
* @throws ODataError When receiving a 4XX or 5XX status code
5252
*/
5353
@jakarta.annotation.Nullable
54-
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
54+
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
5555
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
5656
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
5757
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
58-
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
58+
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
5959
}
6060
/**
6161
* Get the number of the resource

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ public class GetQueryParameters implements QueryParameters {
203203
* Skip the first n items
204204
*/
205205
@jakarta.annotation.Nullable
206-
public Integer skip;
206+
public Long skip;
207207
/**
208208
* Show only the first n items
209209
*/
210210
@jakarta.annotation.Nullable
211-
public Integer top;
211+
public Long top;
212212
/**
213213
* Extracts the query parameters into a map for the URI template parsing.
214214
* @return a {@link Map<String, Object>}

src/main/java/com/microsoft/graph/beta/generated/accessreviews/count/CountRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
3737
}
3838
/**
3939
* Get the number of the resource
40-
* @return a {@link Integer}
40+
* @return a {@link Long}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
*/
4343
@jakarta.annotation.Nullable
44-
public Integer get() {
44+
public Long get() {
4545
return get(null);
4646
}
4747
/**
4848
* Get the number of the resource
4949
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50-
* @return a {@link Integer}
50+
* @return a {@link Long}
5151
* @throws ODataError When receiving a 4XX or 5XX status code
5252
*/
5353
@jakarta.annotation.Nullable
54-
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
54+
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
5555
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
5656
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
5757
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
58-
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
58+
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
5959
}
6060
/**
6161
* Get the number of the resource

src/main/java/com/microsoft/graph/beta/generated/accessreviews/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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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/decisions/DecisionsRequestBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@ public class GetQueryParameters implements QueryParameters {
201201
* Skip the first n items
202202
*/
203203
@jakarta.annotation.Nullable
204-
public Integer skip;
204+
public Long skip;
205205
/**
206206
* Show only the first n items
207207
*/
208208
@jakarta.annotation.Nullable
209-
public Integer top;
209+
public Long top;
210210
/**
211211
* Extracts the query parameters into a map for the URI template parsing.
212212
* @return a {@link Map<String, Object>}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
3737
}
3838
/**
3939
* Get the number of the resource
40-
* @return a {@link Integer}
40+
* @return a {@link Long}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
*/
4343
@jakarta.annotation.Nullable
44-
public Integer get() {
44+
public Long get() {
4545
return get(null);
4646
}
4747
/**
4848
* Get the number of the resource
4949
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50-
* @return a {@link Integer}
50+
* @return a {@link Long}
5151
* @throws ODataError When receiving a 4XX or 5XX status code
5252
*/
5353
@jakarta.annotation.Nullable
54-
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
54+
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
5555
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
5656
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
5757
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
58-
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
58+
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
5959
}
6060
/**
6161
* Get the number of the resource

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ public class GetQueryParameters implements QueryParameters {
199199
* Skip the first n items
200200
*/
201201
@jakarta.annotation.Nullable
202-
public Integer skip;
202+
public Long skip;
203203
/**
204204
* Show only the first n items
205205
*/
206206
@jakarta.annotation.Nullable
207-
public Integer top;
207+
public Long top;
208208
/**
209209
* Extracts the query parameters into a map for the URI template parsing.
210210
* @return a {@link Map<String, Object>}

src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/count/CountRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
3737
}
3838
/**
3939
* Get the number of the resource
40-
* @return a {@link Integer}
40+
* @return a {@link Long}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
*/
4343
@jakarta.annotation.Nullable
44-
public Integer get() {
44+
public Long get() {
4545
return get(null);
4646
}
4747
/**
4848
* Get the number of the resource
4949
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50-
* @return a {@link Integer}
50+
* @return a {@link Long}
5151
* @throws ODataError When receiving a 4XX or 5XX status code
5252
*/
5353
@jakarta.annotation.Nullable
54-
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
54+
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
5555
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
5656
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
5757
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
58-
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
58+
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
5959
}
6060
/**
6161
* Get the number of the resource

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ public class GetQueryParameters implements QueryParameters {
199199
* Skip the first n items
200200
*/
201201
@jakarta.annotation.Nullable
202-
public Integer skip;
202+
public Long skip;
203203
/**
204204
* Show only the first n items
205205
*/
206206
@jakarta.annotation.Nullable
207-
public Integer top;
207+
public Long top;
208208
/**
209209
* Extracts the query parameters into a map for the URI template parsing.
210210
* @return a {@link Map<String, Object>}

0 commit comments

Comments
 (0)