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

    • binaryId

      public Basic binaryId(@Nonnull Integer binaryId)
    • getBinaryId

      @Nonnull public Integer getBinaryId()
      The ID of the binary
      Returns:
      binaryId
    • setBinaryId

      public void setBinaryId(@Nonnull Integer binaryId)
    • 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)
    • modelId

      public Basic modelId(@Nonnull Integer modelId)
    • getModelId

      @Nonnull public Integer getModelId()
      The model ID used for analysis
      Returns:
      modelId
    • setModelId

      public void setModelId(@Nonnull Integer modelId)
    • 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)
    • isSystem

      public Basic isSystem(@Nonnull Boolean isSystem)
    • getIsSystem

      @Nonnull public Boolean getIsSystem()
      Whether the analysis is a system analysis
      Returns:
      isSystem
    • setIsSystem

      public void setIsSystem(@Nonnull Boolean isSystem)
    • 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()
      The base address of the binary
      Returns:
      baseAddress
    • setBaseAddress

      public void setBaseAddress(@Nullable Integer baseAddress)
    • binaryUuid

      public Basic binaryUuid(@Nullable String binaryUuid)
    • getBinaryUuid

      @Nullable public String getBinaryUuid()
      The UUID of the binary
      Returns:
      binaryUuid
    • setBinaryUuid

      public void setBinaryUuid(@Nullable String binaryUuid)
    • sequencerVersion

      public Basic sequencerVersion(@Nullable String sequencerVersion)
    • getSequencerVersion

      @Nullable public String getSequencerVersion()
      The sequencer version used for analysis
      Returns:
      sequencerVersion
    • setSequencerVersion

      public void setSequencerVersion(@Nullable String sequencerVersion)
    • teamId

      public Basic teamId(@Nonnull Integer teamId)
    • getTeamId

      @Nonnull public Integer getTeamId()
      The team ID of the analysis
      Returns:
      teamId
    • setTeamId

      public void setTeamId(@Nonnull Integer teamId)
    • putAdditionalProperty

      public Basic 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 Basic 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 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