Class AnalysisRecord

java.lang.Object
ai.reveng.model.AnalysisRecord

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

  • Constructor Details

    • AnalysisRecord

      public AnalysisRecord()
  • Method Details

    • analysisId

      public AnalysisRecord analysisId(@Nonnull Integer analysisId)
    • getAnalysisId

      @Nonnull public Integer getAnalysisId()
      ID to identify analysis
      Returns:
      analysisId
    • setAnalysisId

      public void setAnalysisId(@Nonnull Integer analysisId)
    • analysisScope

      public AnalysisRecord analysisScope(@Nonnull String analysisScope)
    • getAnalysisScope

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

      public void setAnalysisScope(@Nonnull String analysisScope)
    • binaryId

      public AnalysisRecord binaryId(@Nonnull Integer binaryId)
    • getBinaryId

      @Nonnull public Integer getBinaryId()
      ID to identify the binary analyse
      Returns:
      binaryId
    • setBinaryId

      public void setBinaryId(@Nonnull Integer binaryId)
    • modelId

      public AnalysisRecord modelId(@Nonnull Integer modelId)
    • getModelId

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

      public void setModelId(@Nonnull Integer modelId)
    • modelName

      public AnalysisRecord modelName(@Nonnull String modelName)
    • getModelName

      @Nonnull public String getModelName()
      Name of the model used for analysis
      Returns:
      modelName
    • setModelName

      public void setModelName(@Nonnull String modelName)
    • status

      public AnalysisRecord status(@Nonnull String status)
    • getStatus

      @Nonnull public String getStatus()
      The current status of analysis
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull String status)
    • creation

      public AnalysisRecord creation(@Nonnull OffsetDateTime creation)
    • getCreation

      @Nonnull public OffsetDateTime getCreation()
      The datetime of when the analysis was created
      Returns:
      creation
    • setCreation

      public void setCreation(@Nonnull OffsetDateTime creation)
    • isOwner

      public AnalysisRecord isOwner(@Nonnull Boolean isOwner)
    • getIsOwner

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

      public void setIsOwner(@Nonnull Boolean isOwner)
    • binaryName

      public AnalysisRecord binaryName(@Nonnull String binaryName)
    • getBinaryName

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

      public void setBinaryName(@Nonnull String binaryName)
    • sha256Hash

      public AnalysisRecord sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

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

      public void setSha256Hash(@Nonnull String sha256Hash)
    • functionBoundariesHash

      public AnalysisRecord functionBoundariesHash(@Nonnull String functionBoundariesHash)
    • getFunctionBoundariesHash

      @Nonnull public String getFunctionBoundariesHash()
      The hash of the function boundaries
      Returns:
      functionBoundariesHash
    • setFunctionBoundariesHash

      public void setFunctionBoundariesHash(@Nonnull String functionBoundariesHash)
    • binarySize

      public AnalysisRecord binarySize(@Nonnull Integer binarySize)
    • getBinarySize

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

      public void setBinarySize(@Nonnull Integer binarySize)
    • username

      public AnalysisRecord username(@Nonnull String username)
    • getUsername

      @Nonnull public String getUsername()
      The username of the analysis owner
      Returns:
      username
    • setUsername

      public void setUsername(@Nonnull String username)
    • dynamicExecutionStatus

      public AnalysisRecord dynamicExecutionStatus(@Nullable DynamicExecutionStatus dynamicExecutionStatus)
    • getDynamicExecutionStatus

      @Nullable public DynamicExecutionStatus getDynamicExecutionStatus()
      If searching for dynamic execution, the status of the task
      Returns:
      dynamicExecutionStatus
    • setDynamicExecutionStatus

      public void setDynamicExecutionStatus(@Nullable DynamicExecutionStatus dynamicExecutionStatus)
    • dynamicExecutionTaskId

      public AnalysisRecord dynamicExecutionTaskId(@Nullable Integer dynamicExecutionTaskId)
    • getDynamicExecutionTaskId

      @Nullable public Integer getDynamicExecutionTaskId()
      If searching for dynamic execution, the task ID of the task
      Returns:
      dynamicExecutionTaskId
    • setDynamicExecutionTaskId

      public void setDynamicExecutionTaskId(@Nullable Integer dynamicExecutionTaskId)
    • baseAddress

      public AnalysisRecord baseAddress(@Nonnull BigInteger baseAddress)
    • getBaseAddress

      @Nonnull public BigInteger getBaseAddress()
      The base address of the binary
      Returns:
      baseAddress
    • setBaseAddress

      public void setBaseAddress(@Nonnull BigInteger baseAddress)
    • tags

      public AnalysisRecord tags(@Nullable List<TagItem> tags)
    • addTagsItem

      public AnalysisRecord addTagsItem(TagItem tagsItem)
    • getTags

      @Nullable public List<TagItem> getTags()
      List of tags associated with the analysis
      Returns:
      tags
    • setTags

      public void setTags(@Nullable List<TagItem> tags)
    • putAdditionalProperty

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

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

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