Class AnalysisCreateRequest

java.lang.Object
ai.reveng.model.AnalysisCreateRequest

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

  • Constructor Details

    • AnalysisCreateRequest

      public AnalysisCreateRequest()
  • Method Details

    • filename

      public AnalysisCreateRequest filename(@Nonnull String filename)
    • getFilename

      @Nonnull public String getFilename()
      The name of the file
      Returns:
      filename
    • setFilename

      public void setFilename(@Nonnull String filename)
    • sha256Hash

      public AnalysisCreateRequest sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

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

      public void setSha256Hash(@Nonnull String sha256Hash)
    • tags

      public AnalysisCreateRequest tags(@Nullable List<Tag> tags)
    • addTagsItem

      public AnalysisCreateRequest addTagsItem(Tag tagsItem)
    • getTags

      @Nullable public List<Tag> getTags()
      List of tags to assign to an analysis
      Returns:
      tags
    • setTags

      public void setTags(@Nullable List<Tag> tags)
    • analysisScope

      public AnalysisCreateRequest analysisScope(@Nullable AnalysisScope analysisScope)
    • getAnalysisScope

      @Nullable public AnalysisScope getAnalysisScope()
      The scope of the analysis determines who can access it
      Returns:
      analysisScope
    • setAnalysisScope

      public void setAnalysisScope(@Nullable AnalysisScope analysisScope)
    • symbols

      public AnalysisCreateRequest symbols(@Nullable Symbols symbols)
    • getSymbols

      @Nullable public Symbols getSymbols()
      Symbols are user-defined properties which inform how the binary is decompiled
      Returns:
      symbols
    • setSymbols

      public void setSymbols(@Nullable Symbols symbols)
    • debugHash

      public AnalysisCreateRequest debugHash(@Nullable String debugHash)
    • getDebugHash

      @Nullable public String getDebugHash()
      Hash of the debug file
      Returns:
      debugHash
    • setDebugHash

      public void setDebugHash(@Nullable String debugHash)
    • analysisConfig

      public AnalysisCreateRequest analysisConfig(@Nullable AnalysisConfig analysisConfig)
    • getAnalysisConfig

      @Nullable public AnalysisConfig getAnalysisConfig()
      The analysis config enables the configuration of optional analysis stages
      Returns:
      analysisConfig
    • setAnalysisConfig

      public void setAnalysisConfig(@Nullable AnalysisConfig analysisConfig)
    • binaryConfig

      public AnalysisCreateRequest binaryConfig(@Nullable BinaryConfig binaryConfig)
    • getBinaryConfig

      @Nullable public BinaryConfig getBinaryConfig()
      The binary config can override automatically determined values such as ISA, Platform, File Format, etc
      Returns:
      binaryConfig
    • setBinaryConfig

      public void setBinaryConfig(@Nullable BinaryConfig binaryConfig)
    • autoRunAgents

      public AnalysisCreateRequest autoRunAgents(@Nullable AutoRunAgents autoRunAgents)
    • getAutoRunAgents

      @Nullable public AutoRunAgents getAutoRunAgents()
      Get autoRunAgents
      Returns:
      autoRunAgents
    • setAutoRunAgents

      public void setAutoRunAgents(@Nullable AutoRunAgents autoRunAgents)
    • putAdditionalProperty

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

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

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