com.softlayer.api.service.catalyst.enrollment.request.container.AnswerOption 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.catalyst.enrollment.request.container;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* @see SoftLayer_Catalyst_Enrollment_Request_Container_AnswerOption
*/
@ApiType("SoftLayer_Catalyst_Enrollment_Request_Container_AnswerOption")
public class AnswerOption extends Entity {
@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;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long index;
public Long getIndex() {
return index;
}
public void setIndex(Long index) {
indexSpecified = true;
this.index = index;
}
protected boolean indexSpecified;
public boolean isIndexSpecified() {
return indexSpecified;
}
public void unsetIndex() {
index = null;
indexSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask answer() {
withLocalProperty("answer");
return this;
}
public Mask index() {
withLocalProperty("index");
return this;
}
}
}