Class BinarySearchResult

java.lang.Object
ai.reveng.model.BinarySearchResult

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

  • Constructor Details

    • BinarySearchResult

      public BinarySearchResult()
  • Method Details

    • binaryId

      public BinarySearchResult binaryId(@Nonnull Integer binaryId)
    • getBinaryId

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

      public void setBinaryId(@Nonnull Integer binaryId)
    • binaryName

      public BinarySearchResult binaryName(@Nonnull String binaryName)
    • getBinaryName

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

      public void setBinaryName(@Nonnull String binaryName)
    • analysisId

      public BinarySearchResult analysisId(@Nonnull Integer analysisId)
    • getAnalysisId

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

      public void setAnalysisId(@Nonnull Integer analysisId)
    • sha256Hash

      public BinarySearchResult sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

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

      public void setSha256Hash(@Nonnull String sha256Hash)
    • tags

      public BinarySearchResult tags(@Nullable List<String> tags)
    • addTagsItem

      public BinarySearchResult addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      The tags of the binary
      Returns:
      tags
    • setTags

      public void setTags(@Nullable List<String> tags)
    • createdAt

      public BinarySearchResult createdAt(@Nonnull OffsetDateTime createdAt)
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      The creation date of the binary
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
    • modelId

      public BinarySearchResult modelId(@Nonnull Integer modelId)
    • getModelId

      @Nonnull public Integer getModelId()
      The model ID of the binary
      Returns:
      modelId
    • setModelId

      public void setModelId(@Nonnull Integer modelId)
    • modelName

      public BinarySearchResult modelName(@Nonnull String modelName)
    • getModelName

      @Nonnull public String getModelName()
      The name of the model
      Returns:
      modelName
    • setModelName

      public void setModelName(@Nonnull String modelName)
    • ownedBy

      public BinarySearchResult ownedBy(@Nonnull String ownedBy)
    • getOwnedBy

      @Nonnull public String getOwnedBy()
      The owner of the binary
      Returns:
      ownedBy
    • setOwnedBy

      public void setOwnedBy(@Nonnull String ownedBy)
    • putAdditionalProperty

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

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

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