Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ public class GetQueryParameters implements QueryParameters {
* Skip the first n items
*/
@jakarta.annotation.Nullable
public Long skip;
public Integer skip;
/**
* Show only the first n items
*/
@jakarta.annotation.Nullable
public Long top;
public Integer top;
/**
* Extracts the query parameters into a map for the URI template parsing.
* @return a {@link Map<String, Object>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
}
/**
* Get the number of the resource
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get() {
public Integer get() {
return get(null);
}
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
}
/**
* Get the number of the resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ public class GetQueryParameters implements QueryParameters {
* Skip the first n items
*/
@jakarta.annotation.Nullable
public Long skip;
public Integer skip;
/**
* Show only the first n items
*/
@jakarta.annotation.Nullable
public Long top;
public Integer top;
/**
* Extracts the query parameters into a map for the URI template parsing.
* @return a {@link Map<String, Object>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
}
/**
* Get the number of the resource
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get() {
public Integer get() {
return get(null);
}
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
}
/**
* Get the number of the resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw
/**
* 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.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta">Find more info here</a>
*/
public void post() {
post(null);
Expand All @@ -45,6 +46,7 @@ public void post() {
* 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.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta">Find more info here</a>
*/
public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@ public class GetQueryParameters implements QueryParameters {
* Skip the first n items
*/
@jakarta.annotation.Nullable
public Long skip;
public Integer skip;
/**
* Show only the first n items
*/
@jakarta.annotation.Nullable
public Long top;
public Integer top;
/**
* Extracts the query parameters into a map for the URI template parsing.
* @return a {@link Map<String, Object>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
}
/**
* Get the number of the resource
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get() {
public Integer get() {
return get(null);
}
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
}
/**
* Get the number of the resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ public class GetQueryParameters implements QueryParameters {
* Skip the first n items
*/
@jakarta.annotation.Nullable
public Long skip;
public Integer skip;
/**
* Show only the first n items
*/
@jakarta.annotation.Nullable
public Long top;
public Integer top;
/**
* Extracts the query parameters into a map for the URI template parsing.
* @return a {@link Map<String, Object>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
}
/**
* Get the number of the resource
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get() {
public Integer get() {
return get(null);
}
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
}
/**
* Get the number of the resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ public class GetQueryParameters implements QueryParameters {
* Skip the first n items
*/
@jakarta.annotation.Nullable
public Long skip;
public Integer skip;
/**
* Show only the first n items
*/
@jakarta.annotation.Nullable
public Long top;
public Integer top;
/**
* Extracts the query parameters into a map for the URI template parsing.
* @return a {@link Map<String, Object>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
}
/**
* Get the number of the resource
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get() {
public Integer get() {
return get(null);
}
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
}
/**
* Get the number of the resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ public class GetQueryParameters implements QueryParameters {
* Skip the first n items
*/
@jakarta.annotation.Nullable
public Long skip;
public Integer skip;
/**
* Show only the first n items
*/
@jakarta.annotation.Nullable
public Long top;
public Integer top;
/**
* Extracts the query parameters into a map for the URI template parsing.
* @return a {@link Map<String, Object>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
}
/**
* Get the number of the resource
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get() {
public Integer get() {
return get(null);
}
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
}
/**
* Get the number of the resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw
/**
* In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-reset?view=graph-rest-beta">Find more info here</a>
*/
public void post() {
post(null);
Expand All @@ -45,6 +46,7 @@ public void post() {
* In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/accessreview-reset?view=graph-rest-beta">Find more info here</a>
*/
public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ public class GetQueryParameters implements QueryParameters {
* Skip the first n items
*/
@jakarta.annotation.Nullable
public Long skip;
public Integer skip;
/**
* Show only the first n items
*/
@jakarta.annotation.Nullable
public Long top;
public Integer top;
/**
* Extracts the query parameters into a map for the URI template parsing.
* @return a {@link Map<String, Object>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
}
/**
* Get the number of the resource
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get() {
public Integer get() {
return get(null);
}
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Long}
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
public Long get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Long.class);
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
}
/**
* Get the number of the resource
Expand Down
Loading
Loading