com.softlayer.api.service.container.network.securitygroup.Limit 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.container.network.securitygroup;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* @see SoftLayer_Container_Network_SecurityGroup_Limit
*/
@ApiType("SoftLayer_Container_Network_SecurityGroup_Limit")
public class Limit extends Entity {
/**
* A key value describing what type of limit.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String typeKey;
public String getTypeKey() {
return typeKey;
}
public void setTypeKey(String typeKey) {
typeKeySpecified = true;
this.typeKey = typeKey;
}
protected boolean typeKeySpecified;
public boolean isTypeKeySpecified() {
return typeKeySpecified;
}
public void unsetTypeKey() {
typeKey = null;
typeKeySpecified = false;
}
/**
* The value of the security group limit.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long value;
public Long getValue() {
return value;
}
public void setValue(Long 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 Mask typeKey() {
withLocalProperty("typeKey");
return this;
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}