Class ErrorResponse

java.lang.Object
org.springframework.ai.huggingface.model.ErrorResponse

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2024-03-12T15:00:59.645979611-04:00[America/New_York]") public class ErrorResponse extends Object
ErrorResponse
  • Constructor Details

    • ErrorResponse

      public ErrorResponse()
  • Method Details

    • error

      public ErrorResponse error(String error)
    • getError

      public String getError()
      Get error
      Returns:
      error
    • setError

      public void setError(String error)
    • errorType

      public ErrorResponse errorType(String errorType)
    • getErrorType

      public String getErrorType()
      Get errorType
      Returns:
      errorType
    • setErrorType

      public void setErrorType(String errorType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object