Class UpdateFunctionDataTypes

java.lang.Object
ai.reveng.model.UpdateFunctionDataTypes

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

  • Constructor Details

    • UpdateFunctionDataTypes

      public UpdateFunctionDataTypes()
  • Method Details

    • dataTypesVersion

      public UpdateFunctionDataTypes dataTypesVersion(@Nonnull Integer dataTypesVersion)
    • getDataTypesVersion

      @Nonnull public Integer getDataTypesVersion()
      Version of the function data types, used to check this update is not overwriting a newer one
      Returns:
      dataTypesVersion
    • setDataTypesVersion

      public void setDataTypesVersion(@Nonnull Integer dataTypesVersion)
    • dataTypes

      public UpdateFunctionDataTypes dataTypes(@Nonnull FunctionInfoInput dataTypes)
    • getDataTypes

      @Nonnull public FunctionInfoInput getDataTypes()
      Function data types information to update
      Returns:
      dataTypes
    • setDataTypes

      public void setDataTypes(@Nonnull FunctionInfoInput dataTypes)
    • 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 UpdateFunctionDataTypes
    • fromJson

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

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