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

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

The 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;

/**
 * The SoftLayer_Software_Description_Feature data type represents a single software description feature. A feature may show up on more than one software description and can not be created, modified, or removed. 
 *
 * @see SoftLayer_Software_Description_Feature
 */
@ApiType("SoftLayer_Software_Description_Feature")
public class Feature extends Entity {

    /**
     * The unique identifier for a software description feature.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        idSpecified = true;
        this.id = id;
    }

    protected boolean idSpecified;

    public boolean isIdSpecified() {
        return idSpecified;
    }

    public void unsetId() {
        id = null;
        idSpecified = false;
    }

    /**
     * A unique name used to reference this software description feature.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String keyName;

    public String getKeyName() {
        return keyName;
    }

    public void setKeyName(String keyName) {
        keyNameSpecified = true;
        this.keyName = keyName;
    }

    protected boolean keyNameSpecified;

    public boolean isKeyNameSpecified() {
        return keyNameSpecified;
    }

    public void unsetKeyName() {
        keyName = null;
        keyNameSpecified = false;
    }

    /**
     * The name of a software description feature.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        nameSpecified = true;
        this.name = name;
    }

    protected boolean nameSpecified;

    public boolean isNameSpecified() {
        return nameSpecified;
    }

    public void unsetName() {
        name = null;
        nameSpecified = false;
    }

    /**
     * The vendor that a software description feature belongs to.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String vendor;

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        vendorSpecified = true;
        this.vendor = vendor;
    }

    protected boolean vendorSpecified;

    public boolean isVendorSpecified() {
        return vendorSpecified;
    }

    public void unsetVendor() {
        vendor = null;
        vendorSpecified = false;
    }

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy