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 Integer
displayOrder()
Get the displayOrder value.String
displayText()
Get the displayText value.PromptDTOQna
qna()
Get the qna value.Integer
qnaId()
Get the qnaId value.PromptDTO
withDisplayOrder(Integer displayOrder)
Set the displayOrder value.PromptDTO
withDisplayText(String displayText)
Set the displayText value.PromptDTO
withQna(PromptDTOQna qna)
Set the qna value.PromptDTO
withQnaId(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
-
-