Class CreateKbInputDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.CreateKbInputDTO
-
- Direct Known Subclasses:
UpdateKbOperationDTOAdd
public class CreateKbInputDTO extends Object
Input to create KB.
-
-
Constructor Summary
Constructors Constructor Description CreateKbInputDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FileDTO>
files()
Get the files value.List<QnADTO>
qnaList()
Get the qnaList value.List<String>
urls()
Get the urls value.CreateKbInputDTO
withFiles(List<FileDTO> files)
Set the files value.CreateKbInputDTO
withQnaList(List<QnADTO> qnaList)
Set the qnaList value.CreateKbInputDTO
withUrls(List<String> urls)
Set the urls value.
-
-
-
Method Detail
-
withQnaList
public CreateKbInputDTO withQnaList(List<QnADTO> qnaList)
Set the qnaList value.- Parameters:
qnaList
- the qnaList value to set- Returns:
- the CreateKbInputDTO object itself.
-
withUrls
public CreateKbInputDTO withUrls(List<String> urls)
Set the urls value.- Parameters:
urls
- the urls value to set- Returns:
- the CreateKbInputDTO object itself.
-
withFiles
public CreateKbInputDTO withFiles(List<FileDTO> files)
Set the files value.- Parameters:
files
- the files value to set- Returns:
- the CreateKbInputDTO object itself.
-
-