Class WorkFlowPropertiesDefinitionDTO

java.lang.Object
com.redhat.parodos.sdk.model.WorkFlowPropertiesDefinitionDTO

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

  • Constructor Details

    • WorkFlowPropertiesDefinitionDTO

      public WorkFlowPropertiesDefinitionDTO()
  • Method Details

    • version

      public WorkFlowPropertiesDefinitionDTO version(String version)
    • getVersion

      @Nullable public String getVersion()
      Get version
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • 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
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to WorkFlowPropertiesDefinitionDTO
    • fromJson

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

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