com.softlayer.api.service.container.ticket.survey.Preference 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
package com.softlayer.api.service.container.ticket.survey;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.GregorianCalendar;
/**
* @see SoftLayer_Container_Ticket_Survey_Preference
*/
@ApiType("SoftLayer_Container_Ticket_Survey_Preference")
public class Preference extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean applicable;
public Boolean getApplicable() {
return applicable;
}
public void setApplicable(Boolean applicable) {
applicableSpecified = true;
this.applicable = applicable;
}
protected boolean applicableSpecified;
public boolean isApplicableSpecified() {
return applicableSpecified;
}
public void unsetApplicable() {
applicable = null;
applicableSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean optedOut;
public Boolean getOptedOut() {
return optedOut;
}
public void setOptedOut(Boolean optedOut) {
optedOutSpecified = true;
this.optedOut = optedOut;
}
protected boolean optedOutSpecified;
public boolean isOptedOutSpecified() {
return optedOutSpecified;
}
public void unsetOptedOut() {
optedOut = null;
optedOutSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar optedOutDate;
public GregorianCalendar getOptedOutDate() {
return optedOutDate;
}
public void setOptedOutDate(GregorianCalendar optedOutDate) {
optedOutDateSpecified = true;
this.optedOutDate = optedOutDate;
}
protected boolean optedOutDateSpecified;
public boolean isOptedOutDateSpecified() {
return optedOutDateSpecified;
}
public void unsetOptedOutDate() {
optedOutDate = null;
optedOutDateSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask applicable() {
withLocalProperty("applicable");
return this;
}
public Mask optedOut() {
withLocalProperty("optedOut");
return this;
}
public Mask optedOutDate() {
withLocalProperty("optedOutDate");
return this;
}
}
}