Class ExtractedFileEntry

java.lang.Object
ai.reveng.model.ExtractedFileEntry

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

  • Constructor Details

    • ExtractedFileEntry

      public ExtractedFileEntry()
  • Method Details

    • fileHash

      public ExtractedFileEntry fileHash(@Nullable String fileHash)
    • getFileHash

      @Nullable public String getFileHash()
      Get fileHash
      Returns:
      fileHash
    • setFileHash

      public void setFileHash(@Nullable String fileHash)
    • fileSize

      public ExtractedFileEntry fileSize(@Nonnull Long fileSize)
    • getFileSize

      @Nonnull public Long getFileSize()
      Get fileSize
      Returns:
      fileSize
    • setFileSize

      public void setFileSize(@Nonnull Long fileSize)
    • fileType

      public ExtractedFileEntry fileType(@Nullable String fileType)
    • getFileType

      @Nullable public String getFileType()
      Get fileType
      Returns:
      fileType
    • setFileType

      public void setFileType(@Nullable String fileType)
    • filename

      public ExtractedFileEntry filename(@Nullable String filename)
    • getFilename

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

      public void setFilename(@Nullable String filename)
    • isPe

      public ExtractedFileEntry isPe(@Nullable Boolean isPe)
    • getIsPe

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

      public void setIsPe(@Nullable Boolean isPe)
    • mimeType

      public ExtractedFileEntry mimeType(@Nullable String mimeType)
    • getMimeType

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

      public void setMimeType(@Nullable String mimeType)
    • reason

      public ExtractedFileEntry reason(@Nullable String reason)
    • getReason

      @Nullable public String getReason()
      Get reason
      Returns:
      reason
    • setReason

      public void setReason(@Nullable String reason)
    • seqNum

      public ExtractedFileEntry seqNum(@Nonnull Long seqNum)
    • getSeqNum

      @Nonnull public Long getSeqNum()
      Get seqNum
      Returns:
      seqNum
    • setSeqNum

      public void setSeqNum(@Nonnull Long seqNum)
    • sha256

      public ExtractedFileEntry sha256(@Nullable String sha256)
    • getSha256

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

      public void setSha256(@Nullable String sha256)
    • zipFilename

      public ExtractedFileEntry zipFilename(@Nullable String zipFilename)
    • getZipFilename

      @Nullable public String getZipFilename()
      Get zipFilename
      Returns:
      zipFilename
    • setZipFilename

      public void setZipFilename(@Nullable String zipFilename)
    • putAdditionalProperty

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

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

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