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

com.softlayer.api.service.software.description.Attribute Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.software.description;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.software.Description;
import com.softlayer.api.service.software.description.attribute.Type;

/**
 * The SoftLayer_Software_Description_Attribute data type represents an attributes associated with this software description. 
 *
 * @see SoftLayer_Software_Description_Attribute
 */
@ApiType("SoftLayer_Software_Description_Attribute")
public class Attribute extends Entity {

    @ApiProperty
    protected Description softwareDescription;

    public Description getSoftwareDescription() {
        return softwareDescription;
    }

    public void setSoftwareDescription(Description softwareDescription) {
        this.softwareDescription = softwareDescription;
    }

    @ApiProperty
    protected Type type;

    public Type getType() {
        return type;
    }

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

    /**
     * The value that was assigned to this 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.software.Description.Mask softwareDescription() {
            return withSubMask("softwareDescription", com.softlayer.api.service.software.Description.Mask.class);
        }

        public com.softlayer.api.service.software.description.attribute.Type.Mask type() {
            return withSubMask("type", com.softlayer.api.service.software.description.attribute.Type.Mask.class);
        }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy