Class TaskDefinition

java.lang.Object
com.liferay.ai.hub.rest.dto.v1_0.TaskDefinition
All Implemented Interfaces:
Serializable

@Generated("") public class TaskDefinition extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • description

      protected String description
    • name

      protected String name
    • version

      protected Integer version
    • xClassName

      public String xClassName
  • Constructor Details

    • TaskDefinition

      public TaskDefinition()
  • Method Details

    • toDTO

      public static TaskDefinition toDTO(String json)
    • unsafeToDTO

      public static TaskDefinition unsafeToDTO(String json)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • setDescription

      public void setDescription(com.liferay.petra.function.UnsafeSupplier<String,Exception> descriptionUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • getVersion

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • setVersion

      public void setVersion(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> versionUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object