Class Task

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

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

    • context

      protected Map<String,?> context
    • externalReferenceCode

      protected String externalReferenceCode
    • scope

      protected Scope scope
    • type

      protected String type
    • xClassName

      public String xClassName
  • Constructor Details

    • Task

      public Task()
  • Method Details

    • toDTO

      public static Task toDTO(String json)
    • unsafeToDTO

      public static Task unsafeToDTO(String json)
    • getContext

      @Valid public @Valid Map<String,?> getContext()
    • setContext

      public void setContext(Map<String,?> context)
    • setContext

      public void setContext(com.liferay.petra.function.UnsafeSupplier<Map<String,?>,Exception> contextUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getScope

      @Valid public @Valid Scope getScope()
    • setScope

      public void setScope(Scope scope)
    • setScope

      public void setScope(com.liferay.petra.function.UnsafeSupplier<Scope,Exception> scopeUnsafeSupplier)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • setType

      public void setType(com.liferay.petra.function.UnsafeSupplier<String,Exception> typeUnsafeSupplier)
    • 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