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 name 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 community 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()
      Get symbols
      Returns:
      symbols
    • setSymbols

      public void setSymbols(@Nullable Symbols symbols)
    • debugHash

      public AnalysisCreateRequest debugHash(@Nullable String debugHash)
    • getDebugHash

      @Nullable public String getDebugHash()
      Get debugHash
      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)
    • 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