Class LimitsRequestBuilder

java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
io.apicurio.registry.rest.client.v2.system.limits.LimitsRequestBuilder

@Generated("com.microsoft.kiota") public class LimitsRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Retrieve resource limits information
  • Constructor Details

    • LimitsRequestBuilder

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

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

    • get

      @Nullable public Limits get()
      This operation retrieves the list of limitations on used resources, that are applied on the current instance of Registry.
      Returns:
      a Limits
      Throws:
      AuthError - When receiving a 401 status code
      AuthError - When receiving a 403 status code
      Error - When receiving a 500 status code
    • get

      @Nullable public Limits get(@Nullable Consumer<LimitsRequestBuilder.GetRequestConfiguration> requestConfiguration)
      This operation retrieves the list of limitations on used resources, that are applied on the current instance of Registry.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a Limits
      Throws:
      AuthError - When receiving a 401 status code
      AuthError - When receiving a 403 status code
      Error - When receiving a 500 status code
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      This operation retrieves the list of limitations on used resources, that are applied on the current instance of Registry.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<LimitsRequestBuilder.GetRequestConfiguration> requestConfiguration)
      This operation retrieves the list of limitations on used resources, that are applied on the current instance of Registry.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public LimitsRequestBuilder 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 LimitsRequestBuilder