Class Message

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

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

    • chat

      protected Chat chat
    • context

      protected Map<String,?> context
    • scope

      protected Scope scope
    • text

      protected String text
    • xClassName

      public String xClassName
  • Constructor Details

    • Message

      public Message()
  • Method Details

    • toDTO

      public static Message toDTO(String json)
    • unsafeToDTO

      public static Message unsafeToDTO(String json)
    • getChat

      @Valid public @Valid Chat getChat()
    • setChat

      public void setChat(Chat chat)
    • setChat

      public void setChat(com.liferay.petra.function.UnsafeSupplier<Chat,Exception> chatUnsafeSupplier)
    • 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)
    • getScope

      @Valid public @Valid Scope getScope()
    • setScope

      public void setScope(Scope scope)
    • setScope

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

      public String getText()
    • setText

      public void setText(String text)
    • setText

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