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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description QuestionAnswer()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
answer
@ApiProperty(canBeNullOrNotSet=true) protected String answer
The answer to a question asked on the SoftLayer KnowledgeLayer.
-
answerSpecified
protected boolean answerSpecified
-
link
@ApiProperty(canBeNullOrNotSet=true) protected String link
The link to a question asked on the SoftLayer KnowledgeLayer.
-
linkSpecified
protected boolean linkSpecified
-
question
@ApiProperty(canBeNullOrNotSet=true) protected String question
A question asked on the SoftLayer KnowledgeLayer.
-
questionSpecified
protected boolean questionSpecified
-
-
Method Detail
-
getAnswer
public String getAnswer()
-
setAnswer
public void setAnswer(String answer)
-
isAnswerSpecified
public boolean isAnswerSpecified()
-
unsetAnswer
public void unsetAnswer()
-
getLink
public String getLink()
-
setLink
public void setLink(String link)
-
isLinkSpecified
public boolean isLinkSpecified()
-
unsetLink
public void unsetLink()
-
getQuestion
public String getQuestion()
-
setQuestion
public void setQuestion(String question)
-
isQuestionSpecified
public boolean isQuestionSpecified()
-
unsetQuestion
public void unsetQuestion()
-
-