Class AnalysisBasicInfoOutputBody

java.lang.Object
ai.reveng.model.AnalysisBasicInfoOutputBody

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

  • Constructor Details

    • AnalysisBasicInfoOutputBody

      public AnalysisBasicInfoOutputBody()
  • Method Details

    • analysisScope

      public AnalysisBasicInfoOutputBody analysisScope(@Nonnull AnalysisBasicInfoOutputBody.AnalysisScopeEnum analysisScope)
    • getAnalysisScope

      @Nonnull public AnalysisBasicInfoOutputBody.AnalysisScopeEnum getAnalysisScope()
      PUBLIC, PRIVATE, or TEAM
      Returns:
      analysisScope
    • setAnalysisScope

      public void setAnalysisScope(@Nonnull AnalysisBasicInfoOutputBody.AnalysisScopeEnum analysisScope)
    • baseAddress

      public AnalysisBasicInfoOutputBody baseAddress(@Nullable Long baseAddress)
    • getBaseAddress

      @Nullable public Long getBaseAddress()
      Base address of the binary, null when unknown
      Returns:
      baseAddress
    • setBaseAddress

      public void setBaseAddress(@Nullable Long baseAddress)
    • binaryId

      public AnalysisBasicInfoOutputBody binaryId(@Nonnull Long binaryId)
    • getBinaryId

      @Nonnull public Long getBinaryId()
      Binary ID
      Returns:
      binaryId
    • setBinaryId

      public void setBinaryId(@Nonnull Long binaryId)
    • binaryName

      public AnalysisBasicInfoOutputBody binaryName(@Nonnull String binaryName)
    • getBinaryName

      @Nonnull public String getBinaryName()
      Binary filename
      Returns:
      binaryName
    • setBinaryName

      public void setBinaryName(@Nonnull String binaryName)
    • binarySize

      public AnalysisBasicInfoOutputBody binarySize(@Nonnull Long binarySize)
    • getBinarySize

      @Nonnull public Long getBinarySize()
      Binary size in bytes
      Returns:
      binarySize
    • setBinarySize

      public void setBinarySize(@Nonnull Long binarySize)
    • binaryUuid

      public AnalysisBasicInfoOutputBody binaryUuid(@Nullable String binaryUuid)
    • getBinaryUuid

      @Nullable public String getBinaryUuid()
      UUID of the binary, omitted when not set
      Returns:
      binaryUuid
    • setBinaryUuid

      public void setBinaryUuid(@Nullable String binaryUuid)
    • creation

      public AnalysisBasicInfoOutputBody creation(@Nonnull OffsetDateTime creation)
    • getCreation

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

      public void setCreation(@Nonnull OffsetDateTime creation)
    • debug

      public AnalysisBasicInfoOutputBody debug(@Nonnull Boolean debug)
    • getDebug

      @Nonnull public Boolean getDebug()
      True when the binary was analysed with debug symbols
      Returns:
      debug
    • setDebug

      public void setDebug(@Nonnull Boolean debug)
    • functionCount

      public AnalysisBasicInfoOutputBody functionCount(@Nonnull Long functionCount)
    • getFunctionCount

      @Nonnull public Long getFunctionCount()
      Number of functions in the binary
      Returns:
      functionCount
    • setFunctionCount

      public void setFunctionCount(@Nonnull Long functionCount)
    • isAdvanced

      public AnalysisBasicInfoOutputBody isAdvanced(@Nonnull Boolean isAdvanced)
    • getIsAdvanced

      @Nonnull public Boolean getIsAdvanced()
      True when the analysis was run in advanced mode
      Returns:
      isAdvanced
    • setIsAdvanced

      public void setIsAdvanced(@Nonnull Boolean isAdvanced)
    • isOwner

      public AnalysisBasicInfoOutputBody isOwner(@Nonnull Boolean isOwner)
    • getIsOwner

      @Nonnull public Boolean getIsOwner()
      True when the caller is the analysis owner
      Returns:
      isOwner
    • setIsOwner

      public void setIsOwner(@Nonnull Boolean isOwner)
    • isSystem

      public AnalysisBasicInfoOutputBody isSystem(@Nonnull Boolean isSystem)
    • getIsSystem

      @Nonnull public Boolean getIsSystem()
      True when the analysis is owned by a system user
      Returns:
      isSystem
    • setIsSystem

      public void setIsSystem(@Nonnull Boolean isSystem)
    • modelId

      public AnalysisBasicInfoOutputBody modelId(@Nonnull Long modelId)
    • getModelId

      @Nonnull public Long getModelId()
      Model ID
      Returns:
      modelId
    • setModelId

      public void setModelId(@Nonnull Long modelId)
    • modelName

      public AnalysisBasicInfoOutputBody modelName(@Nonnull String modelName)
    • getModelName

      @Nonnull public String getModelName()
      Model used for analysis
      Returns:
      modelName
    • setModelName

      public void setModelName(@Nonnull String modelName)
    • ownerUsername

      public AnalysisBasicInfoOutputBody ownerUsername(@Nonnull String ownerUsername)
    • getOwnerUsername

      @Nonnull public String getOwnerUsername()
      Username of the analysis owner
      Returns:
      ownerUsername
    • setOwnerUsername

      public void setOwnerUsername(@Nonnull String ownerUsername)
    • sequencerVersion

      public AnalysisBasicInfoOutputBody sequencerVersion(@Nullable String sequencerVersion)
    • getSequencerVersion

      @Nullable public String getSequencerVersion()
      Sequencer version, omitted when not set
      Returns:
      sequencerVersion
    • setSequencerVersion

      public void setSequencerVersion(@Nullable String sequencerVersion)
    • sha256Hash

      public AnalysisBasicInfoOutputBody sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

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

      public void setSha256Hash(@Nonnull String sha256Hash)
    • teamId

      public AnalysisBasicInfoOutputBody teamId(@Nonnull Long teamId)
    • getTeamId

      @Nonnull public Long getTeamId()
      Team ID of the analysis
      Returns:
      teamId
    • setTeamId

      public void setTeamId(@Nonnull Long teamId)
    • putAdditionalProperty

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

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

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