Class UpdateKbContentsDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.UpdateKbContentsDTO
-
- Direct Known Subclasses:
UpdateKbOperationDTOUpdate
public class UpdateKbContentsDTO extends Object
PATCH body schema for Update operation in Update Kb.
-
-
Constructor Summary
Constructors Constructor Description UpdateKbContentsDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdefaultAnswer()Get the defaultAnswer value.Stringname()Get the name value.List<UpdateQnaDTO>qnaList()Get the qnaList value.List<String>urls()Get the urls value.UpdateKbContentsDTOwithDefaultAnswer(String defaultAnswer)Set the defaultAnswer value.UpdateKbContentsDTOwithName(String name)Set the name value.UpdateKbContentsDTOwithQnaList(List<UpdateQnaDTO> qnaList)Set the qnaList value.UpdateKbContentsDTOwithUrls(List<String> urls)Set the urls value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public UpdateKbContentsDTO withName(String name)
Set the name value.- Parameters:
name- the name value to set- Returns:
- the UpdateKbContentsDTO object itself.
-
qnaList
public List<UpdateQnaDTO> qnaList()
Get the qnaList value.- Returns:
- the qnaList value
-
withQnaList
public UpdateKbContentsDTO withQnaList(List<UpdateQnaDTO> qnaList)
Set the qnaList value.- Parameters:
qnaList- the qnaList value to set- Returns:
- the UpdateKbContentsDTO object itself.
-
withUrls
public UpdateKbContentsDTO withUrls(List<String> urls)
Set the urls value.- Parameters:
urls- the urls value to set- Returns:
- the UpdateKbContentsDTO object itself.
-
defaultAnswer
public String defaultAnswer()
Get the defaultAnswer value.- Returns:
- the defaultAnswer value
-
withDefaultAnswer
public UpdateKbContentsDTO withDefaultAnswer(String defaultAnswer)
Set the defaultAnswer value.- Parameters:
defaultAnswer- the defaultAnswer value to set- Returns:
- the UpdateKbContentsDTO object itself.
-
-