com.softlayer.api.service.network.component.Group Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
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;
}
}
}