Class FunctionDataTypesStatus

java.lang.Object
ai.reveng.model.FunctionDataTypesStatus

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

  • Constructor Details

    • FunctionDataTypesStatus

      public FunctionDataTypesStatus()
  • Method Details

    • functionId

      public FunctionDataTypesStatus functionId(@Nonnull Long functionId)
    • getFunctionId

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

      public void setFunctionId(@Nonnull Long functionId)
    • completed

      public FunctionDataTypesStatus completed(@Nonnull Boolean completed)
    • getCompleted

      @Nonnull public Boolean getCompleted()
      Whether the service has completed data types generation
      Returns:
      completed
    • setCompleted

      public void setCompleted(@Nonnull Boolean completed)
    • status

      public FunctionDataTypesStatus status(@Nonnull String status)
    • getStatus

      @Nonnull public String getStatus()
      The current status of the data types service
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull String status)
    • putAdditionalProperty

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

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

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