Class SecurityChecksResponse

java.lang.Object
ai.reveng.model.SecurityChecksResponse

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SecurityChecksResponse extends Object
SecurityChecksResponse
  • Field Details

  • Constructor Details

    • SecurityChecksResponse

      public SecurityChecksResponse()
  • Method Details

    • binaryId

      public SecurityChecksResponse binaryId(@Nonnull Integer binaryId)
    • getBinaryId

      @Nonnull public Integer getBinaryId()
      Get binaryId
      Returns:
      binaryId
    • setBinaryId

      public void setBinaryId(@Nonnull Integer binaryId)
    • totalResults

      public SecurityChecksResponse totalResults(@Nonnull Integer totalResults)
    • getTotalResults

      @Nonnull public Integer getTotalResults()
      Get totalResults
      Returns:
      totalResults
    • setTotalResults

      public void setTotalResults(@Nonnull Integer totalResults)
    • results

      public SecurityChecksResponse results(@Nonnull List<SecurityChecksResult> results)
    • addResultsItem

      public SecurityChecksResponse addResultsItem(SecurityChecksResult resultsItem)
    • getResults

      @Nonnull public List<SecurityChecksResult> getResults()
      Get results
      Returns:
      results
    • setResults

      public void setResults(@Nonnull List<SecurityChecksResult> results)
    • putAdditionalProperty

      public SecurityChecksResponse putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the SecurityChecksResponse instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 SecurityChecksResponse
    • fromJson

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

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