All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.catalyst.enrollment.request.container.AnswerOption Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show 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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy