Class AssignmentsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.entitlementmanagement.assignments.AssignmentsRequestBuilder
@Generated("com.microsoft.kiota")
public class AssignmentsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the assignments property of the microsoft.graph.entitlementManagement entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassIn Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects.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
ConstructorsConstructorDescriptionAssignmentsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAssignmentsRequestBuilderand sets the default values.AssignmentsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAssignmentsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to call the additionalAccess method.additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId(String accessPackageId, String incompatibleAccessPackageId) Provides operations to call the additionalAccess method.byAccessPackageAssignmentId(String accessPackageAssignmentId) Provides operations to manage the assignments property of the microsoft.graph.entitlementManagement entity.count()Provides operations to count the resources in the collection.Provides operations to call the filterByCurrentUser method.get()In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects.get(Consumer<AssignmentsRequestBuilder.GetRequestConfiguration> requestConfiguration) In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects.post(AccessPackageAssignment body) Create new navigation property to assignments for identityGovernancepost(AccessPackageAssignment body, Consumer<AssignmentsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to assignments for identityGovernancecom.microsoft.kiota.RequestInformationIn Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AssignmentsRequestBuilder.GetRequestConfiguration> requestConfiguration) In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects.com.microsoft.kiota.RequestInformationCreate new navigation property to assignments for identityGovernancecom.microsoft.kiota.RequestInformationtoPostRequestInformation(AccessPackageAssignment body, Consumer<AssignmentsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to assignments for identityGovernanceReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AssignmentsRequestBuilder
public AssignmentsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAssignmentsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AssignmentsRequestBuilder
public AssignmentsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAssignmentsRequestBuilderand 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
-
additionalAccess
Provides operations to call the additionalAccess method.- Returns:
- a
AdditionalAccessRequestBuilder
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId
@Nonnull public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId(@Nonnull String accessPackageId, @Nonnull String incompatibleAccessPackageId) Provides operations to call the additionalAccess method.- Parameters:
accessPackageId- Usage: accessPackageId='{accessPackageId}'incompatibleAccessPackageId- Usage: incompatibleAccessPackageId='{incompatibleAccessPackageId}'- Returns:
- a
AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder
-
byAccessPackageAssignmentId
@Nonnull public AccessPackageAssignmentItemRequestBuilder byAccessPackageAssignmentId(@Nonnull String accessPackageAssignmentId) Provides operations to manage the assignments property of the microsoft.graph.entitlementManagement entity.- Parameters:
accessPackageAssignmentId- The unique identifier of accessPackageAssignment- Returns:
- a
AccessPackageAssignmentItemRequestBuilder
-
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 Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'.- Returns:
- a
AccessPackageAssignmentCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public AccessPackageAssignmentCollectionResponse get(@Nullable Consumer<AssignmentsRequestBuilder.GetRequestConfiguration> requestConfiguration) In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AccessPackageAssignmentCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
Create new navigation property to assignments for identityGovernance- Parameters:
body- The request body- Returns:
- a
AccessPackageAssignment - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public AccessPackageAssignment post(@Nonnull AccessPackageAssignment body, @Nullable Consumer<AssignmentsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to assignments for identityGovernance- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AccessPackageAssignment - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AssignmentsRequestBuilder.GetRequestConfiguration> requestConfiguration) In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'.- 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 AccessPackageAssignment body) Create new navigation property to assignments for identityGovernance- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull AccessPackageAssignment body, @Nullable Consumer<AssignmentsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to assignments for 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
AssignmentsRequestBuilder
-