Class Agent


  • public class Agent
    extends Object
    An Agent in a Workspace
    • Constructor Detail

      • Agent

        public Agent()
    • Method Detail

      • getName

        public String getName()
        Returns the Agent name.
        Returns:
        Agent name
      • getDescription

        public String getDescription()
        Returns the Agent description.
        Returns:
        Agent description
      • getMode

        public String getMode()
        Returns the Agent mode, e.g. chat.
        Returns:
        Agent mode
      • getIcon

        public String getIcon()
        Returns the icon URL.
        Returns:
        icon URL
      • isPublished

        public boolean isPublished()
        Returns whether the Agent is published; only published Agents can start conversations.
        Returns:
        true if published
      • getPublishedAt

        public long getPublishedAt()
        Returns the publish time, Unix timestamp in seconds; 0 if unpublished.
        Returns:
        publish time
      • getCreatedAt

        public long getCreatedAt()
        Returns the creation time, Unix timestamp in seconds.
        Returns:
        creation time
      • getUpdatedAt

        public long getUpdatedAt()
        Returns the last updated time, Unix timestamp in seconds.
        Returns:
        last updated time