Class QuestionAnswer
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.knowledgelayer.QuestionAnswer
@ApiType("SoftLayer_Container_KnowledgeLayer_QuestionAnswer") public class QuestionAnswer extends Entity
SoftLayer_Container_KnowledgeLayer_QuestionAnswer models a single question and answer pair from SoftLayer's KnowledgeLayer knowledge base. SoftLayer's backend network interfaces with the KnowledgeLayer to recommend helpful articles when support tickets are created.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuestionAnswer.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
answer
The answer to a question asked on the SoftLayer KnowledgeLayer.protected boolean
answerSpecified
protected String
link
The link to a question asked on the SoftLayer KnowledgeLayer.protected boolean
linkSpecified
protected String
question
A question asked on the SoftLayer KnowledgeLayer.protected boolean
questionSpecified
-
Constructor Summary
Constructors Constructor Description QuestionAnswer()
-
Method Summary
Modifier and Type Method Description String
getAnswer()
String
getLink()
String
getQuestion()
boolean
isAnswerSpecified()
boolean
isLinkSpecified()
boolean
isQuestionSpecified()
void
setAnswer(String answer)
void
setLink(String link)
void
setQuestion(String question)
void
unsetAnswer()
void
unsetLink()
void
unsetQuestion()
-
Field Details
-
answer
The answer to a question asked on the SoftLayer KnowledgeLayer. -
answerSpecified
protected boolean answerSpecified -
link
The link to a question asked on the SoftLayer KnowledgeLayer. -
linkSpecified
protected boolean linkSpecified -
question
A question asked on the SoftLayer KnowledgeLayer. -
questionSpecified
protected boolean questionSpecified
-
-
Constructor Details
-
QuestionAnswer
public QuestionAnswer()
-
-
Method Details
-
getAnswer
-
setAnswer
-
isAnswerSpecified
public boolean isAnswerSpecified() -
unsetAnswer
public void unsetAnswer() -
getLink
-
setLink
-
isLinkSpecified
public boolean isLinkSpecified() -
unsetLink
public void unsetLink() -
getQuestion
-
setQuestion
-
isQuestionSpecified
public boolean isQuestionSpecified() -
unsetQuestion
public void unsetQuestion()
-