Class AccessPackageResourceRoleScopeItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.entitlementmanagement.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder
@Generated("com.microsoft.kiota")
public class AccessPackageResourceRoleScopeItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the resourceRoleScopes property of the microsoft.graph.entitlementManagement entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet resourceRoleScopes from identityGovernanceclassConfiguration 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
ConstructorsConstructorDescriptionAccessPackageResourceRoleScopeItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAccessPackageResourceRoleScopeItemRequestBuilderand sets the default values.AccessPackageResourceRoleScopeItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAccessPackageResourceRoleScopeItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property resourceRoleScopes for identityGovernancevoiddelete(Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property resourceRoleScopes for identityGovernanceget()Get resourceRoleScopes from identityGovernanceget(Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get resourceRoleScopes from identityGovernanceUpdate the navigation property resourceRoleScopes in identityGovernancepatch(AccessPackageResourceRoleScope body, Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property resourceRoleScopes in identityGovernancerole()Provides operations to manage the role property of the microsoft.graph.accessPackageResourceRoleScope entity.scope()Provides operations to manage the scope property of the microsoft.graph.accessPackageResourceRoleScope entity.com.microsoft.kiota.RequestInformationDelete navigation property resourceRoleScopes for identityGovernancecom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property resourceRoleScopes for identityGovernancecom.microsoft.kiota.RequestInformationGet resourceRoleScopes from identityGovernancecom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get resourceRoleScopes from identityGovernancecom.microsoft.kiota.RequestInformationUpdate the navigation property resourceRoleScopes in identityGovernancecom.microsoft.kiota.RequestInformationtoPatchRequestInformation(AccessPackageResourceRoleScope body, Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property resourceRoleScopes in identityGovernanceReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AccessPackageResourceRoleScopeItemRequestBuilder
public AccessPackageResourceRoleScopeItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAccessPackageResourceRoleScopeItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AccessPackageResourceRoleScopeItemRequestBuilder
public AccessPackageResourceRoleScopeItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAccessPackageResourceRoleScopeItemRequestBuilderand 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
-
role
Provides operations to manage the role property of the microsoft.graph.accessPackageResourceRoleScope entity.- Returns:
- a
RoleRequestBuilder
-
scope
Provides operations to manage the scope property of the microsoft.graph.accessPackageResourceRoleScope entity.- Returns:
- a
ScopeRequestBuilder
-
delete
public void delete()Delete navigation property resourceRoleScopes for identityGovernance- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property resourceRoleScopes for identityGovernance- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Get resourceRoleScopes from identityGovernance- Returns:
- a
AccessPackageResourceRoleScope - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public AccessPackageResourceRoleScope get(@Nullable Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get resourceRoleScopes from identityGovernance- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AccessPackageResourceRoleScope - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property resourceRoleScopes in identityGovernance- Parameters:
body- The request body- Returns:
- a
AccessPackageResourceRoleScope - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public AccessPackageResourceRoleScope patch(@Nonnull AccessPackageResourceRoleScope body, @Nullable Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property resourceRoleScopes in identityGovernance- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AccessPackageResourceRoleScope - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property resourceRoleScopes for identityGovernance- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property resourceRoleScopes for identityGovernance- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get resourceRoleScopes from identityGovernance- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get resourceRoleScopes from identityGovernance- 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 AccessPackageResourceRoleScope body) Update the navigation property resourceRoleScopes in identityGovernance- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull AccessPackageResourceRoleScope body, @Nullable Consumer<AccessPackageResourceRoleScopeItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property resourceRoleScopes in identityGovernance- 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
AccessPackageResourceRoleScopeItemRequestBuilder
-