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

com.softlayer.api.service.account.network.vlan.Span Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import java.util.GregorianCalendar;

/**
 * The SoftLayer_Account_Network_Vlan_Span data type exposes the setting which controls the automatic spanning of private VLANs attached to a given customers account. 
 *
 * @see SoftLayer_Account_Network_Vlan_Span
 */
@ApiType("SoftLayer_Account_Network_Vlan_Span")
public class Span extends Entity {

    /**
     * The SoftLayer customer account associated with a VLAN.
     */
    @ApiProperty
    protected Account account;

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    /**
     * Flag indicating whether the customer wishes to have all private network VLANs associated with account automatically joined [0 or 1]
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean enabledFlag;

    public Boolean getEnabledFlag() {
        return enabledFlag;
    }

    public void setEnabledFlag(Boolean enabledFlag) {
        enabledFlagSpecified = true;
        this.enabledFlag = enabledFlag;
    }

    protected boolean enabledFlagSpecified;

    public boolean isEnabledFlagSpecified() {
        return enabledFlagSpecified;
    }

    public void unsetEnabledFlag() {
        enabledFlag = null;
        enabledFlagSpecified = false;
    }

    /**
     * The unique internal identifier of the SoftLayer_Account_Network_Vlan_Span object.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        idSpecified = true;
        this.id = id;
    }

    protected boolean idSpecified;

    public boolean isIdSpecified() {
        return idSpecified;
    }

    public void unsetId() {
        id = null;
        idSpecified = false;
    }

    /**
     * Timestamp of the last time the ACL for this account was applied.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar lastAppliedDate;

    public GregorianCalendar getLastAppliedDate() {
        return lastAppliedDate;
    }

    public void setLastAppliedDate(GregorianCalendar lastAppliedDate) {
        lastAppliedDateSpecified = true;
        this.lastAppliedDate = lastAppliedDate;
    }

    protected boolean lastAppliedDateSpecified;

    public boolean isLastAppliedDateSpecified() {
        return lastAppliedDateSpecified;
    }

    public void unsetLastAppliedDate() {
        lastAppliedDate = null;
        lastAppliedDateSpecified = false;
    }

    /**
     * Timestamp of the last time the subnet hash was verified for this VLAN span record.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar lastVerifiedDate;

    public GregorianCalendar getLastVerifiedDate() {
        return lastVerifiedDate;
    }

    public void setLastVerifiedDate(GregorianCalendar lastVerifiedDate) {
        lastVerifiedDateSpecified = true;
        this.lastVerifiedDate = lastVerifiedDate;
    }

    protected boolean lastVerifiedDateSpecified;

    public boolean isLastVerifiedDateSpecified() {
        return lastVerifiedDateSpecified;
    }

    public void unsetLastVerifiedDate() {
        lastVerifiedDate = null;
        lastVerifiedDateSpecified = false;
    }

    /**
     * Timestamp of the last edit of the record.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar modifyDate;

    public GregorianCalendar getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(GregorianCalendar modifyDate) {
        modifyDateSpecified = true;
        this.modifyDate = modifyDate;
    }

    protected boolean modifyDateSpecified;

    public boolean isModifyDateSpecified() {
        return modifyDateSpecified;
    }

    public void unsetModifyDate() {
        modifyDate = null;
        modifyDateSpecified = false;
    }

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

        public com.softlayer.api.service.Account.Mask account() {
            return withSubMask("account", com.softlayer.api.service.Account.Mask.class);
        }

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy