com.softlayer.api.service.container.knowledgelayer.QuestionAnswer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.container.knowledgelayer;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.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.
*
* @see SoftLayer_Container_KnowledgeLayer_QuestionAnswer
*/
@ApiType("SoftLayer_Container_KnowledgeLayer_QuestionAnswer")
public class QuestionAnswer extends Entity {
/**
* The answer to a question asked on the SoftLayer KnowledgeLayer.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String answer;
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
answerSpecified = true;
this.answer = answer;
}
protected boolean answerSpecified;
public boolean isAnswerSpecified() {
return answerSpecified;
}
public void unsetAnswer() {
answer = null;
answerSpecified = false;
}
/**
* The link to a question asked on the SoftLayer KnowledgeLayer.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String link;
public String getLink() {
return link;
}
public void setLink(String link) {
linkSpecified = true;
this.link = link;
}
protected boolean linkSpecified;
public boolean isLinkSpecified() {
return linkSpecified;
}
public void unsetLink() {
link = null;
linkSpecified = false;
}
/**
* A question asked on the SoftLayer KnowledgeLayer.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String question;
public String getQuestion() {
return question;
}
public void setQuestion(String question) {
questionSpecified = true;
this.question = question;
}
protected boolean questionSpecified;
public boolean isQuestionSpecified() {
return questionSpecified;
}
public void unsetQuestion() {
question = null;
questionSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask answer() {
withLocalProperty("answer");
return this;
}
public Mask link() {
withLocalProperty("link");
return this;
}
public Mask question() {
withLocalProperty("question");
return this;
}
}
}