Class Answer
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.billing.order.item.category.Answer
@ApiType("SoftLayer_Billing_Order_Item_Category_Answer") public class Answer extends Entity
The SoftLayer_Billing_Order_Item_Category_Answer data type represents a single answer to an item category question.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Answer.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
answer
The answer to the question.protected boolean
answerSpecified
protected GregorianCalendar
createDate
The date that the answer was created.protected boolean
createDateSpecified
protected Item
orderItem
The billing order item that the answer is for.protected Question
question
The question that is being answered.protected Long
questionId
The identifier for the question that the answer belongs to.protected boolean
questionIdSpecified
-
Constructor Summary
Constructors Constructor Description Answer()
-
Method Summary
Modifier and Type Method Description String
getAnswer()
GregorianCalendar
getCreateDate()
Item
getOrderItem()
Question
getQuestion()
Long
getQuestionId()
boolean
isAnswerSpecified()
boolean
isCreateDateSpecified()
boolean
isQuestionIdSpecified()
void
setAnswer(String answer)
void
setCreateDate(GregorianCalendar createDate)
void
setOrderItem(Item orderItem)
void
setQuestion(Question question)
void
setQuestionId(Long questionId)
void
unsetAnswer()
void
unsetCreateDate()
void
unsetQuestionId()
-
Field Details
-
orderItem
The billing order item that the answer is for. -
question
The question that is being answered. -
answer
The answer to the question. -
answerSpecified
protected boolean answerSpecified -
createDate
The date that the answer was created. -
createDateSpecified
protected boolean createDateSpecified -
questionId
The identifier for the question that the answer belongs to. -
questionIdSpecified
protected boolean questionIdSpecified
-
-
Constructor Details
-
Answer
public Answer()
-
-
Method Details
-
getOrderItem
-
setOrderItem
-
getQuestion
-
setQuestion
-
getAnswer
-
setAnswer
-
isAnswerSpecified
public boolean isAnswerSpecified() -
unsetAnswer
public void unsetAnswer() -
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getQuestionId
-
setQuestionId
-
isQuestionIdSpecified
public boolean isQuestionIdSpecified() -
unsetQuestionId
public void unsetQuestionId()
-