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

com.softlayer.api.service.product.Group Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.product;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * The SoftLayer_Product_Group data type contains product group relationship. 
 *
 * @see SoftLayer_Product_Group
 */
@ApiType("SoftLayer_Product_Group")
public class Group extends Entity {

    /**
     * The name of the product group.
     */
    @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;
    }

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy