Class UpdateKbOperationDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.UpdateKbOperationDTO
-
public class UpdateKbOperationDTO extends Object
Contains list of QnAs to be updated.
-
-
Constructor Summary
Constructors Constructor Description UpdateKbOperationDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateKbOperationDTOAddadd()Get the add value.StringdefaultAnswerUsedForExtraction()Get the defaultAnswerUsedForExtraction value.UpdateKbOperationDTODeletedelete()Get the delete value.BooleanenableHierarchicalExtraction()Get the enableHierarchicalExtraction value.UpdateKbOperationDTOUpdateupdate()Get the update value.UpdateKbOperationDTOwithAdd(UpdateKbOperationDTOAdd add)Set the add value.UpdateKbOperationDTOwithDefaultAnswerUsedForExtraction(String defaultAnswerUsedForExtraction)Set the defaultAnswerUsedForExtraction value.UpdateKbOperationDTOwithDelete(UpdateKbOperationDTODelete delete)Set the delete value.UpdateKbOperationDTOwithEnableHierarchicalExtraction(Boolean enableHierarchicalExtraction)Set the enableHierarchicalExtraction value.UpdateKbOperationDTOwithUpdate(UpdateKbOperationDTOUpdate update)Set the update value.
-
-
-
Method Detail
-
add
public UpdateKbOperationDTOAdd add()
Get the add value.- Returns:
- the add value
-
withAdd
public UpdateKbOperationDTO withAdd(UpdateKbOperationDTOAdd add)
Set the add value.- Parameters:
add- the add value to set- Returns:
- the UpdateKbOperationDTO object itself.
-
delete
public UpdateKbOperationDTODelete delete()
Get the delete value.- Returns:
- the delete value
-
withDelete
public UpdateKbOperationDTO withDelete(UpdateKbOperationDTODelete delete)
Set the delete value.- Parameters:
delete- the delete value to set- Returns:
- the UpdateKbOperationDTO object itself.
-
update
public UpdateKbOperationDTOUpdate update()
Get the update value.- Returns:
- the update value
-
withUpdate
public UpdateKbOperationDTO withUpdate(UpdateKbOperationDTOUpdate update)
Set the update value.- Parameters:
update- the update value to set- Returns:
- the UpdateKbOperationDTO object itself.
-
enableHierarchicalExtraction
public Boolean enableHierarchicalExtraction()
Get the enableHierarchicalExtraction value.- Returns:
- the enableHierarchicalExtraction value
-
withEnableHierarchicalExtraction
public UpdateKbOperationDTO withEnableHierarchicalExtraction(Boolean enableHierarchicalExtraction)
Set the enableHierarchicalExtraction value.- Parameters:
enableHierarchicalExtraction- the enableHierarchicalExtraction value to set- Returns:
- the UpdateKbOperationDTO object itself.
-
defaultAnswerUsedForExtraction
public String defaultAnswerUsedForExtraction()
Get the defaultAnswerUsedForExtraction value.- Returns:
- the defaultAnswerUsedForExtraction value
-
withDefaultAnswerUsedForExtraction
public UpdateKbOperationDTO withDefaultAnswerUsedForExtraction(String defaultAnswerUsedForExtraction)
Set the defaultAnswerUsedForExtraction value.- Parameters:
defaultAnswerUsedForExtraction- the defaultAnswerUsedForExtraction value to set- Returns:
- the UpdateKbOperationDTO object itself.
-
-