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

com.softlayer.api.service.container.network.securitygroup.Limit Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy