Class UpdateQuestionsDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.UpdateQuestionsDTO
-
- Direct Known Subclasses:
UpdateQnaDTOQuestions
public class UpdateQuestionsDTO extends Object
PATCH Body schema for Update Kb which contains list of questions to be added and deleted.
-
-
Constructor Summary
Constructors Constructor Description UpdateQuestionsDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>add()Get the add value.List<String>delete()Get the delete value.UpdateQuestionsDTOwithAdd(List<String> add)Set the add value.UpdateQuestionsDTOwithDelete(List<String> delete)Set the delete value.
-
-
-
Method Detail
-
withAdd
public UpdateQuestionsDTO withAdd(List<String> add)
Set the add value.- Parameters:
add- the add value to set- Returns:
- the UpdateQuestionsDTO object itself.
-
withDelete
public UpdateQuestionsDTO withDelete(List<String> delete)
Set the delete value.- Parameters:
delete- the delete value to set- Returns:
- the UpdateQuestionsDTO object itself.
-
-