Class HTTPValidationError

java.lang.Object
cz.fidentis.analyst.engines.face.facemasksapi.model.HTTPValidationError

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

  • Constructor Details

    • HTTPValidationError

      public HTTPValidationError()
  • Method Details

    • detail

      public HTTPValidationError detail(@Nullable List<ValidationError1> detail)
    • addDetailItem

      public HTTPValidationError addDetailItem(ValidationError1 detailItem)
    • getDetail

      @Nullable public List<ValidationError1> getDetail()
      Get detail
      Returns:
      detail
    • setDetail

      public void setDetail(@Nullable List<ValidationError1> detail)
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to HTTPValidationError
    • fromJson

      public static HTTPValidationError fromJson(String jsonString) throws IOException
      Create an instance of HTTPValidationError given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of HTTPValidationError
      Throws:
      IOException - if the JSON string is invalid with respect to HTTPValidationError
    • toJson

      public String toJson()
      Convert an instance of HTTPValidationError to an JSON string
      Returns:
      JSON string