Class ErrorResponse

java.lang.Object
net.finmath.smartbonds.pontes.model.ErrorResponse

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class ErrorResponse extends Object
ErrorResponse
  • Field Details

  • Constructor Details

    • ErrorResponse

      public ErrorResponse()
  • Method Details

    • status

      public ErrorResponse status(@Nonnull Integer status)
    • getStatus

      @Nonnull public Integer getStatus()
      HTTP Response code. e.g. 500.
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull Integer status)
    • title

      public ErrorResponse title(@Nullable String title)
    • getTitle

      @Nullable public String getTitle()
      A short, human-readable summary of the problem type. e.g. \"Server Error\".
      Returns:
      title
    • setTitle

      public void setTitle(@Nullable String title)
    • businessErrors

      public ErrorResponse businessErrors(@Nullable List<BusinessError> businessErrors)
    • addBusinessErrorsItem

      public ErrorResponse addBusinessErrorsItem(BusinessError businessErrorsItem)
    • getBusinessErrors

      @Nullable public List<BusinessError> getBusinessErrors()
      List of the errors triggered by business rules checked during the processing. Each error reports: - Business Rule ID - Error text of the Busines Rule
      Returns:
      businessErrors
    • setBusinessErrors

      public void setBusinessErrors(@Nullable List<BusinessError> businessErrors)
    • 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