Class KnowledgebaseDTO


  • public class KnowledgebaseDTO
    extends Object
    Response schema for CreateKb operation.
    • Constructor Detail

      • KnowledgebaseDTO

        public KnowledgebaseDTO()
    • Method Detail

      • id

        public String id()
        Get the id value.
        Returns:
        the id value
      • withId

        public KnowledgebaseDTO withId​(String id)
        Set the id value.
        Parameters:
        id - the id value to set
        Returns:
        the KnowledgebaseDTO object itself.
      • hostName

        public String hostName()
        Get the hostName value.
        Returns:
        the hostName value
      • withHostName

        public KnowledgebaseDTO withHostName​(String hostName)
        Set the hostName value.
        Parameters:
        hostName - the hostName value to set
        Returns:
        the KnowledgebaseDTO object itself.
      • lastAccessedTimestamp

        public String lastAccessedTimestamp()
        Get the lastAccessedTimestamp value.
        Returns:
        the lastAccessedTimestamp value
      • withLastAccessedTimestamp

        public KnowledgebaseDTO withLastAccessedTimestamp​(String lastAccessedTimestamp)
        Set the lastAccessedTimestamp value.
        Parameters:
        lastAccessedTimestamp - the lastAccessedTimestamp value to set
        Returns:
        the KnowledgebaseDTO object itself.
      • lastChangedTimestamp

        public String lastChangedTimestamp()
        Get the lastChangedTimestamp value.
        Returns:
        the lastChangedTimestamp value
      • withLastChangedTimestamp

        public KnowledgebaseDTO withLastChangedTimestamp​(String lastChangedTimestamp)
        Set the lastChangedTimestamp value.
        Parameters:
        lastChangedTimestamp - the lastChangedTimestamp value to set
        Returns:
        the KnowledgebaseDTO object itself.
      • lastPublishedTimestamp

        public String lastPublishedTimestamp()
        Get the lastPublishedTimestamp value.
        Returns:
        the lastPublishedTimestamp value
      • withLastPublishedTimestamp

        public KnowledgebaseDTO withLastPublishedTimestamp​(String lastPublishedTimestamp)
        Set the lastPublishedTimestamp value.
        Parameters:
        lastPublishedTimestamp - the lastPublishedTimestamp value to set
        Returns:
        the KnowledgebaseDTO object itself.
      • name

        public String name()
        Get the name value.
        Returns:
        the name value
      • withName

        public KnowledgebaseDTO withName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the KnowledgebaseDTO object itself.
      • userId

        public String userId()
        Get the userId value.
        Returns:
        the userId value
      • withUserId

        public KnowledgebaseDTO withUserId​(String userId)
        Set the userId value.
        Parameters:
        userId - the userId value to set
        Returns:
        the KnowledgebaseDTO object itself.
      • urls

        public List<String> urls()
        Get the urls value.
        Returns:
        the urls value
      • withUrls

        public KnowledgebaseDTO withUrls​(List<String> urls)
        Set the urls value.
        Parameters:
        urls - the urls value to set
        Returns:
        the KnowledgebaseDTO object itself.
      • sources

        public List<String> sources()
        Get the sources value.
        Returns:
        the sources value
      • withSources

        public KnowledgebaseDTO withSources​(List<String> sources)
        Set the sources value.
        Parameters:
        sources - the sources value to set
        Returns:
        the KnowledgebaseDTO object itself.