Class PromptDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.PromptDTO
-
public class PromptDTO extends Object
Prompt for an answer.
-
-
Constructor Summary
Constructors Constructor Description PromptDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerdisplayOrder()Get the displayOrder value.StringdisplayText()Get the displayText value.PromptDTOQnaqna()Get the qna value.IntegerqnaId()Get the qnaId value.PromptDTOwithDisplayOrder(Integer displayOrder)Set the displayOrder value.PromptDTOwithDisplayText(String displayText)Set the displayText value.PromptDTOwithQna(PromptDTOQna qna)Set the qna value.PromptDTOwithQnaId(Integer qnaId)Set the qnaId value.
-
-
-
Method Detail
-
displayOrder
public Integer displayOrder()
Get the displayOrder value.- Returns:
- the displayOrder value
-
withDisplayOrder
public PromptDTO withDisplayOrder(Integer displayOrder)
Set the displayOrder value.- Parameters:
displayOrder- the displayOrder value to set- Returns:
- the PromptDTO object itself.
-
qnaId
public Integer qnaId()
Get the qnaId value.- Returns:
- the qnaId value
-
withQnaId
public PromptDTO withQnaId(Integer qnaId)
Set the qnaId value.- Parameters:
qnaId- the qnaId value to set- Returns:
- the PromptDTO object itself.
-
qna
public PromptDTOQna qna()
Get the qna value.- Returns:
- the qna value
-
withQna
public PromptDTO withQna(PromptDTOQna qna)
Set the qna value.- Parameters:
qna- the qna value to set- Returns:
- the PromptDTO object itself.
-
displayText
public String displayText()
Get the displayText value.- Returns:
- the displayText value
-
-