Class CreateKbDTO


  • public class CreateKbDTO
    extends Object
    Post body schema for CreateKb operation.
    • Constructor Detail

      • CreateKbDTO

        public CreateKbDTO()
    • Method Detail

      • name

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

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

        public List<QnADTO> qnaList()
        Get the qnaList value.
        Returns:
        the qnaList value
      • withQnaList

        public CreateKbDTO withQnaList​(List<QnADTO> qnaList)
        Set the qnaList value.
        Parameters:
        qnaList - the qnaList value to set
        Returns:
        the CreateKbDTO object itself.
      • urls

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

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

        public List<FileDTO> files()
        Get the files value.
        Returns:
        the files value
      • withFiles

        public CreateKbDTO withFiles​(List<FileDTO> files)
        Set the files value.
        Parameters:
        files - the files value to set
        Returns:
        the CreateKbDTO object itself.
      • enableHierarchicalExtraction

        public Boolean enableHierarchicalExtraction()
        Get the enableHierarchicalExtraction value.
        Returns:
        the enableHierarchicalExtraction value
      • withEnableHierarchicalExtraction

        public CreateKbDTO withEnableHierarchicalExtraction​(Boolean enableHierarchicalExtraction)
        Set the enableHierarchicalExtraction value.
        Parameters:
        enableHierarchicalExtraction - the enableHierarchicalExtraction value to set
        Returns:
        the CreateKbDTO object itself.
      • defaultAnswerUsedForExtraction

        public String defaultAnswerUsedForExtraction()
        Get the defaultAnswerUsedForExtraction value.
        Returns:
        the defaultAnswerUsedForExtraction value
      • withDefaultAnswerUsedForExtraction

        public CreateKbDTO withDefaultAnswerUsedForExtraction​(String defaultAnswerUsedForExtraction)
        Set the defaultAnswerUsedForExtraction value.
        Parameters:
        defaultAnswerUsedForExtraction - the defaultAnswerUsedForExtraction value to set
        Returns:
        the CreateKbDTO object itself.
      • language

        public String language()
        Get the language value.
        Returns:
        the language value
      • withLanguage

        public CreateKbDTO withLanguage​(String language)
        Set the language value.
        Parameters:
        language - the language value to set
        Returns:
        the CreateKbDTO object itself.
      • enableMultipleLanguages

        public Boolean enableMultipleLanguages()
        Get the enableMultipleLanguages value.
        Returns:
        the enableMultipleLanguages value
      • withEnableMultipleLanguages

        public CreateKbDTO withEnableMultipleLanguages​(Boolean enableMultipleLanguages)
        Set the enableMultipleLanguages value.
        Parameters:
        enableMultipleLanguages - the enableMultipleLanguages value to set
        Returns:
        the CreateKbDTO object itself.
      • defaultAnswer

        public String defaultAnswer()
        Get the defaultAnswer value.
        Returns:
        the defaultAnswer value
      • withDefaultAnswer

        public CreateKbDTO withDefaultAnswer​(String defaultAnswer)
        Set the defaultAnswer value.
        Parameters:
        defaultAnswer - the defaultAnswer value to set
        Returns:
        the CreateKbDTO object itself.