Class ErrorNextCall

java.lang.Object
com.qtsurfer.api.client.model.ErrorNextCall

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class ErrorNextCall extends Object
The call that gets past an error, ready to send: a client that wants the same thing by another route makes this request. Present only on an error that has one.
  • Field Details

  • Constructor Details

    • ErrorNextCall

      public ErrorNextCall()
  • Method Details

    • method

      public ErrorNextCall method(@Nonnull ErrorNextCall.MethodEnum method)
    • getMethod

      @Nonnull public ErrorNextCall.MethodEnum getMethod()
      HTTP method of the call.
      Returns:
      method
    • setMethod

      public void setMethod(@Nonnull ErrorNextCall.MethodEnum method)
    • path

      public ErrorNextCall path(@Nonnull String path)
    • getPath

      @Nonnull public String getPath()
      Path of the call, relative to the server URL (the one that already ends in `/v1`).
      Returns:
      path
    • setPath

      public void setPath(@Nonnull String path)
    • body

      public ErrorNextCall body(@Nullable Map<String,Object> body)
    • putBodyItem

      public ErrorNextCall putBodyItem(String key, Object bodyItem)
    • getBody

      @Nullable public Map<String,Object> getBody()
      JSON body of the call, when it has one. Whatever depends on the caller and cannot be known here (such as the `name` of a dataset) is left for the client to add.
      Returns:
      body
    • setBody

      public void setBody(@Nullable Map<String,Object> body)
    • equals

      public boolean equals(Object o)
      Return true if this ErrorNextCall object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string