Class SpeedyDeleteRequestBuilder<T>

java.lang.Object
com.github.silent.samurai.speedy.api.client.builder.SpeedyDeleteRequestBuilder<T>

public class SpeedyDeleteRequestBuilder<T> extends Object
  • Constructor Details

    • SpeedyDeleteRequestBuilder

      public SpeedyDeleteRequestBuilder(String entityName, SpeedyApi<T> speedyApi)
  • Method Details

    • key

      public SpeedyDeleteRequestBuilder<T> key(String field, Object value)
      Parameters:
      field - the field name
      value - the field value
      Returns:
      this builder instance
    • execute

      public T execute() throws Exception
      Build and execute the delete request using the configured SpeedyApi.
      Returns:
      the response from the API
      Throws:
      Exception