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 UpdateKbOperationDTOAdd
add()
Get the add value.String
defaultAnswerUsedForExtraction()
Get the defaultAnswerUsedForExtraction value.UpdateKbOperationDTODelete
delete()
Get the delete value.Boolean
enableHierarchicalExtraction()
Get the enableHierarchicalExtraction value.UpdateKbOperationDTOUpdate
update()
Get the update value.UpdateKbOperationDTO
withAdd(UpdateKbOperationDTOAdd add)
Set the add value.UpdateKbOperationDTO
withDefaultAnswerUsedForExtraction(String defaultAnswerUsedForExtraction)
Set the defaultAnswerUsedForExtraction value.UpdateKbOperationDTO
withDelete(UpdateKbOperationDTODelete delete)
Set the delete value.UpdateKbOperationDTO
withEnableHierarchicalExtraction(Boolean enableHierarchicalExtraction)
Set the enableHierarchicalExtraction value.UpdateKbOperationDTO
withUpdate(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.
-
-