Class Basic

java.lang.Object
ai.reveng.model.Basic

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

  • Constructor Details

    • Basic

      public Basic()
  • Method Details

    • binaryName

      public Basic binaryName(@Nonnull String binaryName)
    • getBinaryName

      @Nonnull public String getBinaryName()
      The name of the binary uploaded
      Returns:
      binaryName
    • setBinaryName

      public void setBinaryName(@Nonnull String binaryName)
    • binarySize

      public Basic binarySize(@Nonnull Integer binarySize)
    • getBinarySize

      @Nonnull public Integer getBinarySize()
      The size of the binary uploaded (bytes)
      Returns:
      binarySize
    • setBinarySize

      public void setBinarySize(@Nonnull Integer binarySize)
    • creation

      public Basic creation(@Nonnull OffsetDateTime creation)
    • getCreation

      @Nonnull public OffsetDateTime getCreation()
      When the binary was uploaded
      Returns:
      creation
    • setCreation

      public void setCreation(@Nonnull OffsetDateTime creation)
    • sha256Hash

      public Basic sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

      @Nonnull public String getSha256Hash()
      The hash of the binary uploaded
      Returns:
      sha256Hash
    • setSha256Hash

      public void setSha256Hash(@Nonnull String sha256Hash)
    • modelName

      public Basic modelName(@Nonnull String modelName)
    • getModelName

      @Nonnull public String getModelName()
      The model name used for analysis
      Returns:
      modelName
    • setModelName

      public void setModelName(@Nonnull String modelName)
    • ownerUsername

      public Basic ownerUsername(@Nonnull String ownerUsername)
    • getOwnerUsername

      @Nonnull public String getOwnerUsername()
      The name of the owner of the binary
      Returns:
      ownerUsername
    • setOwnerUsername

      public void setOwnerUsername(@Nonnull String ownerUsername)
    • analysisScope

      public Basic analysisScope(@Nonnull String analysisScope)
    • getAnalysisScope

      @Nonnull public String getAnalysisScope()
      The scope of the analysis
      Returns:
      analysisScope
    • setAnalysisScope

      public void setAnalysisScope(@Nonnull String analysisScope)
    • isOwner

      public Basic isOwner(@Nonnull Boolean isOwner)
    • getIsOwner

      @Nonnull public Boolean getIsOwner()
      Whether the current user is the owner
      Returns:
      isOwner
    • setIsOwner

      public void setIsOwner(@Nonnull Boolean isOwner)
    • debug

      public Basic debug(@Nonnull Boolean debug)
    • getDebug

      @Nonnull public Boolean getDebug()
      Whether the current analysis was analysed with debug symbols
      Returns:
      debug
    • setDebug

      public void setDebug(@Nonnull Boolean debug)
    • functionCount

      public Basic functionCount(@Nonnull Integer functionCount)
    • getFunctionCount

      @Nonnull public Integer getFunctionCount()
      The number of functions in the binary
      Returns:
      functionCount
    • setFunctionCount

      public void setFunctionCount(@Nonnull Integer functionCount)
    • isAdvanced

      public Basic isAdvanced(@Nonnull Boolean isAdvanced)
    • getIsAdvanced

      @Nonnull public Boolean getIsAdvanced()
      Whether the analysis was advanced
      Returns:
      isAdvanced
    • setIsAdvanced

      public void setIsAdvanced(@Nonnull Boolean isAdvanced)
    • baseAddress

      public Basic baseAddress(@Nullable Integer baseAddress)
    • getBaseAddress

      @Nullable public Integer getBaseAddress()
      Get baseAddress
      Returns:
      baseAddress
    • setBaseAddress

      public void setBaseAddress(@Nullable Integer baseAddress)
    • 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 Basic
    • fromJson

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

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