Class RoleManagementRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.rolemanagement.RoleManagementRequestBuilder
@Generated("com.microsoft.kiota")
public class RoleManagementRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the roleManagement singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet roleManagementclassConfiguration 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
ConstructorsConstructorDescriptionRoleManagementRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleManagementRequestBuilderand sets the default values.RoleManagementRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleManagementRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the directory property of the microsoft.graph.roleManagement entity.Provides operations to manage the entitlementManagement property of the microsoft.graph.roleManagement entity.get()Get roleManagementget(Consumer<RoleManagementRequestBuilder.GetRequestConfiguration> requestConfiguration) Get roleManagementpatch(RoleManagement body) Update roleManagementpatch(RoleManagement body, Consumer<RoleManagementRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update roleManagementcom.microsoft.kiota.RequestInformationGet roleManagementcom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<RoleManagementRequestBuilder.GetRequestConfiguration> requestConfiguration) Get roleManagementcom.microsoft.kiota.RequestInformationUpdate roleManagementcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(RoleManagement body, Consumer<RoleManagementRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update roleManagementReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
RoleManagementRequestBuilder
public RoleManagementRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleManagementRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
RoleManagementRequestBuilder
public RoleManagementRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRoleManagementRequestBuilderand 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
-
directory
Provides operations to manage the directory property of the microsoft.graph.roleManagement entity.- Returns:
- a
DirectoryRequestBuilder
-
entitlementManagement
Provides operations to manage the entitlementManagement property of the microsoft.graph.roleManagement entity.- Returns:
- a
EntitlementManagementRequestBuilder
-
get
Get roleManagement- Returns:
- a
RoleManagement - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public RoleManagement get(@Nullable Consumer<RoleManagementRequestBuilder.GetRequestConfiguration> requestConfiguration) Get roleManagement- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RoleManagement - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update roleManagement- Parameters:
body- The request body- Returns:
- a
RoleManagement - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public RoleManagement patch(@Nonnull RoleManagement body, @Nullable Consumer<RoleManagementRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update roleManagement- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RoleManagement - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get roleManagement- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<RoleManagementRequestBuilder.GetRequestConfiguration> requestConfiguration) Get roleManagement- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull RoleManagement body) Update roleManagement- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull RoleManagement body, @Nullable Consumer<RoleManagementRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update roleManagement- 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
RoleManagementRequestBuilder
-