Class RoleAssignmentScheduleRequestsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.RoleAssignmentScheduleRequestsRequestBuilder
@Generated("com.microsoft.kiota")
public class RoleAssignmentScheduleRequestsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the roleAssignmentScheduleRequests property of the microsoft.graph.rbacApplication entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassRetrieve the requests for active role assignments to principals.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
ConstructorsConstructorDescriptionRoleAssignmentScheduleRequestsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleAssignmentScheduleRequestsRequestBuilderand sets the default values.RoleAssignmentScheduleRequestsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleAssignmentScheduleRequestsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyUnifiedRoleAssignmentScheduleRequestId(String unifiedRoleAssignmentScheduleRequestId) Provides operations to manage the roleAssignmentScheduleRequests 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()Retrieve the requests for active role assignments to principals.get(Consumer<RoleAssignmentScheduleRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the requests for active role assignments to principals.In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA.post(UnifiedRoleAssignmentScheduleRequest body, Consumer<RoleAssignmentScheduleRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA.com.microsoft.kiota.RequestInformationRetrieve the requests for active role assignments to principals.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<RoleAssignmentScheduleRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the requests for active role assignments to principals.com.microsoft.kiota.RequestInformationIn PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA.com.microsoft.kiota.RequestInformationtoPostRequestInformation(UnifiedRoleAssignmentScheduleRequest body, Consumer<RoleAssignmentScheduleRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
RoleAssignmentScheduleRequestsRequestBuilder
public RoleAssignmentScheduleRequestsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleAssignmentScheduleRequestsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
RoleAssignmentScheduleRequestsRequestBuilder
public RoleAssignmentScheduleRequestsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleAssignmentScheduleRequestsRequestBuilderand 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
-
byUnifiedRoleAssignmentScheduleRequestId
@Nonnull public UnifiedRoleAssignmentScheduleRequestItemRequestBuilder byUnifiedRoleAssignmentScheduleRequestId(@Nonnull String unifiedRoleAssignmentScheduleRequestId) Provides operations to manage the roleAssignmentScheduleRequests property of the microsoft.graph.rbacApplication entity.- Parameters:
unifiedRoleAssignmentScheduleRequestId- The unique identifier of unifiedRoleAssignmentScheduleRequest- Returns:
- a
UnifiedRoleAssignmentScheduleRequestItemRequestBuilder
-
filterByCurrentUserWithOn
@Nonnull public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@Nonnull String on) Provides operations to call the filterByCurrentUser method.- Parameters:
on- Usage: on='{on}'- Returns:
- a
FilterByCurrentUserWithOnRequestBuilder
-
get
Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments.- Returns:
- a
UnifiedRoleAssignmentScheduleRequestCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public UnifiedRoleAssignmentScheduleRequestCollectionResponse get(@Nullable Consumer<RoleAssignmentScheduleRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UnifiedRoleAssignmentScheduleRequestCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public UnifiedRoleAssignmentScheduleRequest post(@Nonnull UnifiedRoleAssignmentScheduleRequest body) In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events.- Parameters:
body- The request body- Returns:
- a
UnifiedRoleAssignmentScheduleRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public UnifiedRoleAssignmentScheduleRequest post(@Nonnull UnifiedRoleAssignmentScheduleRequest body, @Nullable Consumer<RoleAssignmentScheduleRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UnifiedRoleAssignmentScheduleRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<RoleAssignmentScheduleRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments.- 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 UnifiedRoleAssignmentScheduleRequest body) In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull UnifiedRoleAssignmentScheduleRequest body, @Nullable Consumer<RoleAssignmentScheduleRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events.- 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
RoleAssignmentScheduleRequestsRequestBuilder
-