Class TcpCarvedFile

java.lang.Object
ai.reveng.model.TcpCarvedFile

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

  • Constructor Details

    • TcpCarvedFile

      public TcpCarvedFile()
  • Method Details

    • direction

      public TcpCarvedFile direction(@Nonnull String direction)
    • getDirection

      @Nonnull public String getDirection()
      Get direction
      Returns:
      direction
    • setDirection

      public void setDirection(@Nonnull String direction)
    • filename

      public TcpCarvedFile filename(@Nullable String filename)
    • getFilename

      @Nullable public String getFilename()
      Get filename
      Returns:
      filename
    • setFilename

      public void setFilename(@Nullable String filename)
    • isPe

      public TcpCarvedFile isPe(@Nonnull Boolean isPe)
    • getIsPe

      @Nonnull public Boolean getIsPe()
      Get isPe
      Returns:
      isPe
    • setIsPe

      public void setIsPe(@Nonnull Boolean isPe)
    • mimeType

      public TcpCarvedFile mimeType(@Nullable String mimeType)
    • getMimeType

      @Nullable public String getMimeType()
      Get mimeType
      Returns:
      mimeType
    • setMimeType

      public void setMimeType(@Nullable String mimeType)
    • offset

      public TcpCarvedFile offset(@Nonnull Long offset)
    • getOffset

      @Nonnull public Long getOffset()
      Get offset
      Returns:
      offset
    • setOffset

      public void setOffset(@Nonnull Long offset)
    • sha256

      public TcpCarvedFile sha256(@Nonnull String sha256)
    • getSha256

      @Nonnull public String getSha256()
      Get sha256
      Returns:
      sha256
    • setSha256

      public void setSha256(@Nonnull String sha256)
    • size

      public TcpCarvedFile size(@Nonnull Long size)
    • getSize

      @Nonnull public Long getSize()
      Get size
      Returns:
      size
    • setSize

      public void setSize(@Nonnull Long size)
    • yaraHits

      public TcpCarvedFile yaraHits(@Nullable List<String> yaraHits)
    • addYaraHitsItem

      public TcpCarvedFile addYaraHitsItem(String yaraHitsItem)
    • getYaraHits

      @Nullable public List<String> getYaraHits()
      Get yaraHits
      Returns:
      yaraHits
    • setYaraHits

      public void setYaraHits(@Nullable List<String> yaraHits)
    • 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 TcpCarvedFile
    • fromJson

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

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