Class Created

java.lang.Object
ai.reveng.model.Created

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

  • Constructor Details

    • Created

      public Created()
  • Method Details

    • analysisId

      public Created analysisId(@Nonnull Integer analysisId)
    • getAnalysisId

      @Nonnull public Integer getAnalysisId()
      The ID corresponding to the newly created analysis
      Returns:
      analysisId
    • setAnalysisId

      public void setAnalysisId(@Nonnull Integer analysisId)
    • binaryId

      public Created binaryId(@Nonnull Integer binaryId)
    • getBinaryId

      @Nonnull public Integer getBinaryId()
      The ID corresponding to the binary that was created
      Returns:
      binaryId
    • setBinaryId

      public void setBinaryId(@Nonnull Integer binaryId)
    • reference

      @Deprecated public Created reference(@Nonnull String reference)
      Deprecated.
    • getReference

      @Deprecated @Nonnull public String getReference()
      Deprecated.
      Deprecated will always be empty string
      Returns:
      reference
    • setReference

      @Deprecated public void setReference(@Nonnull String reference)
      Deprecated.
    • 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 Created
    • fromJson

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

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