Class Binary

java.lang.Object
ai.reveng.model.Binary

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

  • Constructor Details

    • Binary

      public Binary()
  • Method Details

    • analysisId

      public Binary analysisId(@Nonnull Long analysisId)
    • getAnalysisId

      @Nonnull public Long getAnalysisId()
      Get analysisId
      Returns:
      analysisId
    • setAnalysisId

      public void setAnalysisId(@Nonnull Long analysisId)
    • binaryId

      public Binary binaryId(@Nonnull Long binaryId)
    • getBinaryId

      @Nonnull public Long getBinaryId()
      Get binaryId
      Returns:
      binaryId
    • setBinaryId

      public void setBinaryId(@Nonnull Long binaryId)
    • binaryName

      public Binary binaryName(@Nonnull String binaryName)
    • getBinaryName

      @Nonnull public String getBinaryName()
      Get binaryName
      Returns:
      binaryName
    • setBinaryName

      public void setBinaryName(@Nonnull String binaryName)
    • createdAt

      public Binary createdAt(@Nonnull OffsetDateTime createdAt)
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
    • isSystemAnalysis

      public Binary isSystemAnalysis(@Nonnull Boolean isSystemAnalysis)
    • getIsSystemAnalysis

      @Nonnull public Boolean getIsSystemAnalysis()
      Get isSystemAnalysis
      Returns:
      isSystemAnalysis
    • setIsSystemAnalysis

      public void setIsSystemAnalysis(@Nonnull Boolean isSystemAnalysis)
    • ownerId

      public Binary ownerId(@Nonnull Long ownerId)
    • getOwnerId

      @Nonnull public Long getOwnerId()
      Get ownerId
      Returns:
      ownerId
    • setOwnerId

      public void setOwnerId(@Nonnull Long ownerId)
    • sha256Hash

      public Binary sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

      @Nonnull public String getSha256Hash()
      Get sha256Hash
      Returns:
      sha256Hash
    • setSha256Hash

      public void setSha256Hash(@Nonnull String sha256Hash)
    • putAdditionalProperty

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

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

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