Class RoleEligibilityScheduleRequestsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.rolemanagement.directory.roleeligibilityschedulerequests.RoleEligibilityScheduleRequestsRequestBuilder
@Generated("com.microsoft.kiota")
public class RoleEligibilityScheduleRequestsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassIn PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionRoleEligibilityScheduleRequestsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleEligibilityScheduleRequestsRequestBuilderand sets the default values.RoleEligibilityScheduleRequestsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleEligibilityScheduleRequestsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyUnifiedRoleEligibilityScheduleRequestId(String unifiedRoleEligibilityScheduleRequestId) Provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity.count()Provides operations to count the resources in the collection.Provides operations to call the filterByCurrentUser method.get()In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.get(Consumer<RoleEligibilityScheduleRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object.post(UnifiedRoleEligibilityScheduleRequest body, Consumer<RoleEligibilityScheduleRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object.com.microsoft.kiota.RequestInformationIn PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<RoleEligibilityScheduleRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.com.microsoft.kiota.RequestInformationIn PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object.com.microsoft.kiota.RequestInformationtoPostRequestInformation(UnifiedRoleEligibilityScheduleRequest body, Consumer<RoleEligibilityScheduleRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
RoleEligibilityScheduleRequestsRequestBuilder
public RoleEligibilityScheduleRequestsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleEligibilityScheduleRequestsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
RoleEligibilityScheduleRequestsRequestBuilder
public RoleEligibilityScheduleRequestsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleEligibilityScheduleRequestsRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byUnifiedRoleEligibilityScheduleRequestId
@Nonnull public UnifiedRoleEligibilityScheduleRequestItemRequestBuilder byUnifiedRoleEligibilityScheduleRequestId(@Nonnull String unifiedRoleEligibilityScheduleRequestId) Provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity.- Parameters:
unifiedRoleEligibilityScheduleRequestId- The unique identifier of unifiedRoleEligibilityScheduleRequest- Returns:
- a
UnifiedRoleEligibilityScheduleRequestItemRequestBuilder
-
filterByCurrentUserWithOn
@Nonnull public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@Nonnull String on) Provides operations to call the filterByCurrentUser method.- Parameters:
on- Usage: on='{on}'- Returns:
- a
FilterByCurrentUserWithOnRequestBuilder
-
get
In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.- Returns:
- a
UnifiedRoleEligibilityScheduleRequestCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public UnifiedRoleEligibilityScheduleRequestCollectionResponse get(@Nullable Consumer<RoleEligibilityScheduleRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UnifiedRoleEligibilityScheduleRequestCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public UnifiedRoleEligibilityScheduleRequest post(@Nonnull UnifiedRoleEligibilityScheduleRequest body) In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments.- Parameters:
body- The request body- Returns:
- a
UnifiedRoleEligibilityScheduleRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public UnifiedRoleEligibilityScheduleRequest post(@Nonnull UnifiedRoleEligibilityScheduleRequest body, @Nullable Consumer<RoleEligibilityScheduleRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UnifiedRoleEligibilityScheduleRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<RoleEligibilityScheduleRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull UnifiedRoleEligibilityScheduleRequest body) In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull UnifiedRoleEligibilityScheduleRequest body, @Nullable Consumer<RoleEligibilityScheduleRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
RoleEligibilityScheduleRequestsRequestBuilder
-