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

com.softlayer.api.service.hardware.resource.configuration.Property Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.hardware.resource.Configuration;
import com.softlayer.api.service.hardware.resource.configuration.property.Type;

/**
 * @see SoftLayer_Hardware_Resource_Configuration_Property
 */
@ApiType("SoftLayer_Hardware_Resource_Configuration_Property")
public class Property extends Entity {

    @ApiProperty
    protected Configuration configuration;

    public Configuration getConfiguration() {
        return configuration;
    }

    public void setConfiguration(Configuration configuration) {
        this.configuration = configuration;
    }

    @ApiProperty
    protected Type type;

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long configurationId;

    public Long getConfigurationId() {
        return configurationId;
    }

    public void setConfigurationId(Long configurationId) {
        configurationIdSpecified = true;
        this.configurationId = configurationId;
    }

    protected boolean configurationIdSpecified;

    public boolean isConfigurationIdSpecified() {
        return configurationIdSpecified;
    }

    public void unsetConfigurationId() {
        configurationId = null;
        configurationIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long configurationPropertyTypeId;

    public Long getConfigurationPropertyTypeId() {
        return configurationPropertyTypeId;
    }

    public void setConfigurationPropertyTypeId(Long configurationPropertyTypeId) {
        configurationPropertyTypeIdSpecified = true;
        this.configurationPropertyTypeId = configurationPropertyTypeId;
    }

    protected boolean configurationPropertyTypeIdSpecified;

    public boolean isConfigurationPropertyTypeIdSpecified() {
        return configurationPropertyTypeIdSpecified;
    }

    public void unsetConfigurationPropertyTypeId() {
        configurationPropertyTypeId = null;
        configurationPropertyTypeIdSpecified = false;
    }

    @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.hardware.resource.Configuration.Mask configuration() {
            return withSubMask("configuration", com.softlayer.api.service.hardware.resource.Configuration.Mask.class);
        }

        public com.softlayer.api.service.hardware.resource.configuration.property.Type.Mask type() {
            return withSubMask("type", com.softlayer.api.service.hardware.resource.configuration.property.Type.Mask.class);
        }

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy