Class SecurityChecksResult

java.lang.Object
ai.reveng.model.SecurityChecksResult

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

  • Constructor Details

    • SecurityChecksResult

      public SecurityChecksResult()
  • Method Details

    • functionId

      public SecurityChecksResult functionId(@Nonnull Long functionId)
    • getFunctionId

      @Nonnull public Long getFunctionId()
      Get functionId
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Long functionId)
    • functionName

      public SecurityChecksResult functionName(@Nonnull String functionName)
    • getFunctionName

      @Nonnull public String getFunctionName()
      Get functionName
      Returns:
      functionName
    • setFunctionName

      public void setFunctionName(@Nonnull String functionName)
    • name

      public SecurityChecksResult name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • vulnClass

      public SecurityChecksResult vulnClass(@Nonnull VulnerabilityType vulnClass)
    • getVulnClass

      @Nonnull public VulnerabilityType getVulnClass()
      Get vulnClass
      Returns:
      vulnClass
    • setVulnClass

      public void setVulnClass(@Nonnull VulnerabilityType vulnClass)
    • description

      public SecurityChecksResult description(@Nonnull String description)
    • getDescription

      @Nonnull public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(@Nonnull String description)
    • remediation

      public SecurityChecksResult remediation(@Nonnull String remediation)
    • getRemediation

      @Nonnull public String getRemediation()
      Get remediation
      Returns:
      remediation
    • setRemediation

      public void setRemediation(@Nonnull String remediation)
    • confidence

      public SecurityChecksResult confidence(@Nonnull ConfidenceType confidence)
    • getConfidence

      @Nonnull public ConfidenceType getConfidence()
      Get confidence
      Returns:
      confidence
    • setConfidence

      public void setConfidence(@Nonnull ConfidenceType confidence)
    • severity

      public SecurityChecksResult severity(@Nonnull SeverityType severity)
    • getSeverity

      @Nonnull public SeverityType getSeverity()
      Get severity
      Returns:
      severity
    • setSeverity

      public void setSeverity(@Nonnull SeverityType severity)
    • putAdditionalProperty

      public SecurityChecksResult 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 SecurityChecksResult 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 SecurityChecksResult
    • fromJson

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

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