Class BatchUpdateDataTypesResult

java.lang.Object
ai.reveng.model.BatchUpdateDataTypesResult

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

  • Constructor Details

    • BatchUpdateDataTypesResult

      public BatchUpdateDataTypesResult()
  • Method Details

    • dataTypes

      public BatchUpdateDataTypesResult dataTypes(@Nullable Object dataTypes)
    • getDataTypes

      @Nullable public Object getDataTypes()
      Get dataTypes
      Returns:
      dataTypes
    • setDataTypes

      public void setDataTypes(@Nullable Object dataTypes)
    • dataTypesVersion

      public BatchUpdateDataTypesResult dataTypesVersion(@Nullable Long dataTypesVersion)
    • getDataTypesVersion

      @Nullable public Long getDataTypesVersion()
      Version after update (present when status is 'updated')
      Returns:
      dataTypesVersion
    • setDataTypesVersion

      public void setDataTypesVersion(@Nullable Long dataTypesVersion)
    • error

      public BatchUpdateDataTypesResult error(@Nullable String error)
    • getError

      @Nullable public String getError()
      Error message (present when status is 'error')
      Returns:
      error
    • setError

      public void setError(@Nullable String error)
    • functionId

      public BatchUpdateDataTypesResult functionId(@Nonnull Long functionId)
    • getFunctionId

      @Nonnull public Long getFunctionId()
      Function ID
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Long functionId)
    • status

    • getStatus

      @Nonnull public BatchUpdateDataTypesResult.StatusEnum getStatus()
      Outcome for this function
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull BatchUpdateDataTypesResult.StatusEnum status)
    • 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 BatchUpdateDataTypesResult
    • fromJson

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

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