java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.entitlementmanagement.assignmentrequests.AssignmentRequestsRequestBuilder

@Generated("com.microsoft.kiota") public class AssignmentRequestsRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the assignmentRequests property of the microsoft.graph.entitlementManagement entity.
  • Constructor Details

    • AssignmentRequestsRequestBuilder

      public AssignmentRequestsRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new AssignmentRequestsRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • AssignmentRequestsRequestBuilder

      public AssignmentRequestsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new AssignmentRequestsRequestBuilder and 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

      @Nonnull public CountRequestBuilder count()
      Provides operations to count the resources in the collection.
      Returns:
      a CountRequestBuilder
    • byAccessPackageAssignmentRequestId

      @Nonnull public AccessPackageAssignmentRequestItemRequestBuilder byAccessPackageAssignmentRequestId(@Nonnull String accessPackageAssignmentRequestId)
      Provides operations to manage the assignmentRequests property of the microsoft.graph.entitlementManagement entity.
      Parameters:
      accessPackageAssignmentRequestId - The unique identifier of accessPackageAssignmentRequest
      Returns:
      a AccessPackageAssignmentRequestItemRequestBuilder
    • 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 accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages.
      Returns:
      a AccessPackageAssignmentRequestCollectionResponse
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a AccessPackageAssignmentRequestCollectionResponse
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • post

      @Nullable public AccessPackageAssignmentRequest post(@Nonnull AccessPackageAssignmentRequest body)
      In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment.
      Parameters:
      body - The request body
      Returns:
      a AccessPackageAssignmentRequest
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • post

      In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a AccessPackageAssignmentRequest
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AssignmentRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration)
      In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages.
      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 AccessPackageAssignmentRequest body)
      In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment.
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPostRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull AccessPackageAssignmentRequest body, @Nullable Consumer<AssignmentRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration)
      In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public AssignmentRequestsRequestBuilder withUrl(@Nonnull String rawUrl)
      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 AssignmentRequestsRequestBuilder