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

com.softlayer.api.service.network.component.Group Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.network.Component;
import java.util.ArrayList;
import java.util.List;

/**
 * @see SoftLayer_Network_Component_Group
 */
@ApiType("SoftLayer_Network_Component_Group")
public class Group extends Entity {

    /**
     * A network component group's associated network components.
     */
    @ApiProperty
    protected List networkComponents;

    public List getNetworkComponents() {
        if (networkComponents == null) {
            networkComponents = new ArrayList();
        }
        return networkComponents;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long groupTypeId;

    public Long getGroupTypeId() {
        return groupTypeId;
    }

    public void setGroupTypeId(Long groupTypeId) {
        groupTypeIdSpecified = true;
        this.groupTypeId = groupTypeId;
    }

    protected boolean groupTypeIdSpecified;

    public boolean isGroupTypeIdSpecified() {
        return groupTypeIdSpecified;
    }

    public void unsetGroupTypeId() {
        groupTypeId = null;
        groupTypeIdSpecified = false;
    }

    /**
     * A count of a network component group's associated network components.
     */
    @ApiProperty
    protected Long networkComponentCount;

    public Long getNetworkComponentCount() {
        return networkComponentCount;
    }

    public void setNetworkComponentCount(Long networkComponentCount) {
        this.networkComponentCount = networkComponentCount;
    }

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

        public com.softlayer.api.service.network.Component.Mask networkComponents() {
            return withSubMask("networkComponents", com.softlayer.api.service.network.Component.Mask.class);
        }

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy