Class ErrorResponse

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

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2024-11-22T13:25:14.392276159Z[Etc/UTC]") 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