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

com.softlayer.api.service.configuration.template.section.Attribute Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.configuration.template.section;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.configuration.template.Section;

/**
 * Configuration section attribute class contains supplementary information for a configuration section. 
 *
 * @see SoftLayer_Configuration_Template_Section_Attribute
 */
@ApiType("SoftLayer_Configuration_Template_Section_Attribute")
public class Attribute extends Entity {

    @ApiProperty
    protected Section configurationSection;

    public Section getConfigurationSection() {
        return configurationSection;
    }

    public void setConfigurationSection(Section configurationSection) {
        this.configurationSection = configurationSection;
    }

    /**
     * Value of a configuration section attribute
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String value;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        valueSpecified = true;
        this.value = value;
    }

    protected boolean valueSpecified;

    public boolean isValueSpecified() {
        return valueSpecified;
    }

    public void unsetValue() {
        value = null;
        valueSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public com.softlayer.api.service.configuration.template.Section.Mask configurationSection() {
            return withSubMask("configurationSection", com.softlayer.api.service.configuration.template.Section.Mask.class);
        }

        public Mask value() {
            withLocalProperty("value");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy