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

com.softlayer.api.service.network.interconnect.Tenant Maven / Gradle / Ivy

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

import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.billing.item.network.Interconnect;
import com.softlayer.api.service.network.directlink.ServiceType;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.concurrent.Future;

/**
 * A network interconnect tenant defines an IP routing path through a network interconnect. Each network interconnect requires a single primary tenant, indicated by the primaryFlag 
 *
 * @see SoftLayer_Network_Interconnect_Tenant
 */
@ApiType("SoftLayer_Network_Interconnect_Tenant")
public class Tenant extends Entity {

    /**
     * The active billing item for a network interconnect.
     */
    @ApiProperty
    protected Interconnect billingItem;

    public Interconnect getBillingItem() {
        return billingItem;
    }

    public void setBillingItem(Interconnect billingItem) {
        this.billingItem = billingItem;
    }

    @ApiProperty
    protected String datacenterName;

    public String getDatacenterName() {
        return datacenterName;
    }

    public void setDatacenterName(String datacenterName) {
        this.datacenterName = datacenterName;
    }

    @ApiProperty
    protected String portLabel;

    public String getPortLabel() {
        return portLabel;
    }

    public void setPortLabel(String portLabel) {
        this.portLabel = portLabel;
    }

    @ApiProperty
    protected ServiceType serviceType;

    public ServiceType getServiceType() {
        return serviceType;
    }

    public void setServiceType(ServiceType serviceType) {
        this.serviceType = serviceType;
    }

    @ApiProperty
    protected String vendorName;

    public String getVendorName() {
        return vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }

    @ApiProperty
    protected String zoneName;

    public String getZoneName() {
        return zoneName;
    }

    public void setZoneName(String zoneName) {
        this.zoneName = zoneName;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long accountId;

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        accountIdSpecified = true;
        this.accountId = accountId;
    }

    protected boolean accountIdSpecified;

    public boolean isAccountIdSpecified() {
        return accountIdSpecified;
    }

    public void unsetAccountId() {
        accountId = null;
        accountIdSpecified = false;
    }

    /**
     * Specifies ASN used for BGP.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long bgpAsn;

    public Long getBgpAsn() {
        return bgpAsn;
    }

    public void setBgpAsn(Long bgpAsn) {
        bgpAsnSpecified = true;
        this.bgpAsn = bgpAsn;
    }

    protected boolean bgpAsnSpecified;

    public boolean isBgpAsnSpecified() {
        return bgpAsnSpecified;
    }

    public void unsetBgpAsn() {
        bgpAsn = null;
        bgpAsnSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar createDate;

    public GregorianCalendar getCreateDate() {
        return createDate;
    }

    public void setCreateDate(GregorianCalendar createDate) {
        createDateSpecified = true;
        this.createDate = createDate;
    }

    protected boolean createDateSpecified;

    public boolean isCreateDateSpecified() {
        return createDateSpecified;
    }

    public void unsetCreateDate() {
        createDate = null;
        createDateSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String errorMessage;

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        errorMessageSpecified = true;
        this.errorMessage = errorMessage;
    }

    protected boolean errorMessageSpecified;

    public boolean isErrorMessageSpecified() {
        return errorMessageSpecified;
    }

    public void unsetErrorMessage() {
        errorMessage = null;
        errorMessageSpecified = false;
    }

    /**
     * The Direct Link connectivity to all SoftLayer data centers if globalRoutingFlag = 1 and local connectivity if globalRoutingFlag = 0. 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean globalRoutingFlag;

    public Boolean getGlobalRoutingFlag() {
        return globalRoutingFlag;
    }

    public void setGlobalRoutingFlag(Boolean globalRoutingFlag) {
        globalRoutingFlagSpecified = true;
        this.globalRoutingFlag = globalRoutingFlag;
    }

    protected boolean globalRoutingFlagSpecified;

    public boolean isGlobalRoutingFlagSpecified() {
        return globalRoutingFlagSpecified;
    }

    public void unsetGlobalRoutingFlag() {
        globalRoutingFlag = null;
        globalRoutingFlagSpecified = false;
    }

    @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;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String interconnectType;

    public String getInterconnectType() {
        return interconnectType;
    }

    public void setInterconnectType(String interconnectType) {
        interconnectTypeSpecified = true;
        this.interconnectType = interconnectType;
    }

    protected boolean interconnectTypeSpecified;

    public boolean isInterconnectTypeSpecified() {
        return interconnectTypeSpecified;
    }

    public void unsetInterconnectType() {
        interconnectType = null;
        interconnectTypeSpecified = false;
    }

    /**
     * Link speed of a Direct Link connection.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long linkSpeed;

    public Long getLinkSpeed() {
        return linkSpeed;
    }

    public void setLinkSpeed(Long linkSpeed) {
        linkSpeedSpecified = true;
        this.linkSpeed = linkSpeed;
    }

    protected boolean linkSpeedSpecified;

    public boolean isLinkSpeedSpecified() {
        return linkSpeedSpecified;
    }

    public void unsetLinkSpeed() {
        linkSpeed = null;
        linkSpeedSpecified = false;
    }

    /**
     * IP address (v4 or v6) of "near" router serial interface. No check/update of IP Address table. 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String localIpAddress;

    public String getLocalIpAddress() {
        return localIpAddress;
    }

    public void setLocalIpAddress(String localIpAddress) {
        localIpAddressSpecified = true;
        this.localIpAddress = localIpAddress;
    }

    protected boolean localIpAddressSpecified;

    public boolean isLocalIpAddressSpecified() {
        return localIpAddressSpecified;
    }

    public void unsetLocalIpAddress() {
        localIpAddress = null;
        localIpAddressSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String location;

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        locationSpecified = true;
        this.location = location;
    }

    protected boolean locationSpecified;

    public boolean isLocationSpecified() {
        return locationSpecified;
    }

    public void unsetLocation() {
        location = null;
        locationSpecified = false;
    }

    @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;
    }

    /**
     * Specifies the Interconnect connection name.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        nameSpecified = true;
        this.name = name;
    }

    protected boolean nameSpecified;

    public boolean isNameSpecified() {
        return nameSpecified;
    }

    public void unsetName() {
        name = null;
        nameSpecified = false;
    }

    /**
     * Direct Link provider can request change to existing routing, Customer can approve the change. newGlobalRoutingFlag = 1 gives connectivity to all IBM data centers, and if newGlobalRoutingFlag = 0, it gives local connectivity. 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean newGlobalRoutingFlag;

    public Boolean getNewGlobalRoutingFlag() {
        return newGlobalRoutingFlag;
    }

    public void setNewGlobalRoutingFlag(Boolean newGlobalRoutingFlag) {
        newGlobalRoutingFlagSpecified = true;
        this.newGlobalRoutingFlag = newGlobalRoutingFlag;
    }

    protected boolean newGlobalRoutingFlagSpecified;

    public boolean isNewGlobalRoutingFlagSpecified() {
        return newGlobalRoutingFlagSpecified;
    }

    public void unsetNewGlobalRoutingFlag() {
        newGlobalRoutingFlag = null;
        newGlobalRoutingFlagSpecified = false;
    }

    /**
     * Updated Link speed of a Direct Link connection.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long newLinkSpeed;

    public Long getNewLinkSpeed() {
        return newLinkSpeed;
    }

    public void setNewLinkSpeed(Long newLinkSpeed) {
        newLinkSpeedSpecified = true;
        this.newLinkSpeed = newLinkSpeed;
    }

    protected boolean newLinkSpeedSpecified;

    public boolean isNewLinkSpeedSpecified() {
        return newLinkSpeedSpecified;
    }

    public void unsetNewLinkSpeed() {
        newLinkSpeed = null;
        newLinkSpeedSpecified = false;
    }

    /**
     * This field will have the ticket id if the tenant workflow fails 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String note;

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        noteSpecified = true;
        this.note = note;
    }

    protected boolean noteSpecified;

    public boolean isNoteSpecified() {
        return noteSpecified;
    }

    public void unsetNote() {
        note = null;
        noteSpecified = false;
    }

    /**
     * Link speed of a Direct Link connection on Equinix Side.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long peerLinkSpeed;

    public Long getPeerLinkSpeed() {
        return peerLinkSpeed;
    }

    public void setPeerLinkSpeed(Long peerLinkSpeed) {
        peerLinkSpeedSpecified = true;
        this.peerLinkSpeed = peerLinkSpeed;
    }

    protected boolean peerLinkSpeedSpecified;

    public boolean isPeerLinkSpeedSpecified() {
        return peerLinkSpeedSpecified;
    }

    public void unsetPeerLinkSpeed() {
        peerLinkSpeed = null;
        peerLinkSpeedSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String port;

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        portSpecified = true;
        this.port = port;
    }

    protected boolean portSpecified;

    public boolean isPortSpecified() {
        return portSpecified;
    }

    public void unsetPort() {
        port = null;
        portSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String provider;

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        providerSpecified = true;
        this.provider = provider;
    }

    protected boolean providerSpecified;

    public boolean isProviderSpecified() {
        return providerSpecified;
    }

    public void unsetProvider() {
        provider = null;
        providerSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long providerAccountId;

    public Long getProviderAccountId() {
        return providerAccountId;
    }

    public void setProviderAccountId(Long providerAccountId) {
        providerAccountIdSpecified = true;
        this.providerAccountId = providerAccountId;
    }

    protected boolean providerAccountIdSpecified;

    public boolean isProviderAccountIdSpecified() {
        return providerAccountIdSpecified;
    }

    public void unsetProviderAccountId() {
        providerAccountId = null;
        providerAccountIdSpecified = false;
    }

    /**
     * Specifies redundant connection is available if 1.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean redundancyFlag;

    public Boolean getRedundancyFlag() {
        return redundancyFlag;
    }

    public void setRedundancyFlag(Boolean redundancyFlag) {
        redundancyFlagSpecified = true;
        this.redundancyFlag = redundancyFlag;
    }

    protected boolean redundancyFlagSpecified;

    public boolean isRedundancyFlagSpecified() {
        return redundancyFlagSpecified;
    }

    public void unsetRedundancyFlag() {
        redundancyFlag = null;
        redundancyFlagSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String remoteIpAddress;

    public String getRemoteIpAddress() {
        return remoteIpAddress;
    }

    public void setRemoteIpAddress(String remoteIpAddress) {
        remoteIpAddressSpecified = true;
        this.remoteIpAddress = remoteIpAddress;
    }

    protected boolean remoteIpAddressSpecified;

    public boolean isRemoteIpAddressSpecified() {
        return remoteIpAddressSpecified;
    }

    public void unsetRemoteIpAddress() {
        remoteIpAddress = null;
        remoteIpAddressSpecified = false;
    }

    /**
     * Service key for Interconnect connection.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String serviceKey;

    public String getServiceKey() {
        return serviceKey;
    }

    public void setServiceKey(String serviceKey) {
        serviceKeySpecified = true;
        this.serviceKey = serviceKey;
    }

    protected boolean serviceKeySpecified;

    public boolean isServiceKeySpecified() {
        return serviceKeySpecified;
    }

    public void unsetServiceKey() {
        serviceKey = null;
        serviceKeySpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long serviceTypeId;

    public Long getServiceTypeId() {
        return serviceTypeId;
    }

    public void setServiceTypeId(Long serviceTypeId) {
        serviceTypeIdSpecified = true;
        this.serviceTypeId = serviceTypeId;
    }

    protected boolean serviceTypeIdSpecified;

    public boolean isServiceTypeIdSpecified() {
        return serviceTypeIdSpecified;
    }

    public void unsetServiceTypeId() {
        serviceTypeId = null;
        serviceTypeIdSpecified = false;
    }

    /**
     * The direct link connection status. IN_PROGRESS, PROVISIONING, CONNECTION_UP, CONNECTION_DOWN 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        statusSpecified = true;
        this.status = status;
    }

    protected boolean statusSpecified;

    public boolean isStatusSpecified() {
        return statusSpecified;
    }

    public void unsetStatus() {
        status = null;
        statusSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long vlanId;

    public Long getVlanId() {
        return vlanId;
    }

    public void setVlanId(Long vlanId) {
        vlanIdSpecified = true;
        this.vlanId = vlanId;
    }

    protected boolean vlanIdSpecified;

    public boolean isVlanIdSpecified() {
        return vlanIdSpecified;
    }

    public void unsetVlanId() {
        vlanId = null;
        vlanIdSpecified = false;
    }

    public Service asService(ApiClient client) {
        return service(client, id);
    }

    public static Service service(ApiClient client) {
        return client.createService(Service.class, null);
    }

    public static Service service(ApiClient client, Long id) {
        return client.createService(Service.class, id == null ? null : id.toString());
    }

    /**
     * A network interconnect tenant defines an IP routing path through a network interconnect. Each network interconnect requires a single primary tenant, indicated by the primaryFlag 
     *
     * @see SoftLayer_Network_Interconnect_Tenant
     */
    @com.softlayer.api.annotation.ApiService("SoftLayer_Network_Interconnect_Tenant")
    public static interface Service extends com.softlayer.api.Service {

        public ServiceAsync asAsync();
        public Mask withNewMask();
        public Mask withMask();
        public void setMask(Mask mask);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::allowDeleteConnection
         */
        @ApiMethod
        public Boolean allowDeleteConnection(String serviceKey);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::createConnection
         */
        @ApiMethod
        public String createConnection(Tenant templateObject);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::deleteConnection
         */
        @ApiMethod
        public Boolean deleteConnection(Tenant receivedObject);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::editConnection
         */
        @ApiMethod
        public String editConnection(Tenant receivedObject);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getAllConnections
         */
        @ApiMethod
        public String getAllConnections();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getAllObjects
         */
        @ApiMethod
        public List getAllObjects();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getAllPortLabelsWithCurrentUsage
         */
        @ApiMethod
        public List getAllPortLabelsWithCurrentUsage(Long directLinkLocationId);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getBgpIpRange
         */
        @ApiMethod
        public String getBgpIpRange();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getConnection
         */
        @ApiMethod
        public String getConnection(String serviceKey, String provider);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getDirectLinkSpeeds
         */
        @ApiMethod
        public String getDirectLinkSpeeds(String offeringType);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getNetworkZones
         */
        @ApiMethod
        public List getNetworkZones();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getObject
         */
        @ApiMethod(instanceRequired = true)
        public Tenant getObject();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getPorts
         */
        @ApiMethod
        public String getPorts(String provider);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::isAdnAccount
         */
        @ApiMethod
        public Boolean isAdnAccount();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::rejectApprovalRequests
         */
        @ApiMethod
        public Boolean rejectApprovalRequests(String serviceKey);

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::updateConnectionStatus
         */
        @ApiMethod
        public Boolean updateConnectionStatus(Long tenantId);

        /**
         * The active billing item for a network interconnect.
         *
         * @see SoftLayer_Network_Interconnect_Tenant::getBillingItem
         */
        @ApiMethod(instanceRequired = true)
        public Interconnect getBillingItem();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getDatacenterName
         */
        @ApiMethod(instanceRequired = true)
        public String getDatacenterName();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getPortLabel
         */
        @ApiMethod(instanceRequired = true)
        public String getPortLabel();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getServiceType
         */
        @ApiMethod(instanceRequired = true)
        public ServiceType getServiceType();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getVendorName
         */
        @ApiMethod(instanceRequired = true)
        public String getVendorName();

        /**
         * @see SoftLayer_Network_Interconnect_Tenant::getZoneName
         */
        @ApiMethod(instanceRequired = true)
        public String getZoneName();

    }

    public static interface ServiceAsync extends com.softlayer.api.ServiceAsync {

        public Mask withNewMask();
        public Mask withMask();
        public void setMask(Mask mask);

        /**
         * Async version of {@link Service#allowDeleteConnection}
         */
        public Future allowDeleteConnection(String serviceKey);

        public Future allowDeleteConnection(String serviceKey, ResponseHandler callback);

        /**
         * Async version of {@link Service#createConnection}
         */
        public Future createConnection(Tenant templateObject);

        public Future createConnection(Tenant templateObject, ResponseHandler callback);

        /**
         * Async version of {@link Service#deleteConnection}
         */
        public Future deleteConnection(Tenant receivedObject);

        public Future deleteConnection(Tenant receivedObject, ResponseHandler callback);

        /**
         * Async version of {@link Service#editConnection}
         */
        public Future editConnection(Tenant receivedObject);

        public Future editConnection(Tenant receivedObject, ResponseHandler callback);

        /**
         * Async version of {@link Service#getAllConnections}
         */
        public Future getAllConnections();

        public Future getAllConnections(ResponseHandler callback);

        /**
         * Async version of {@link Service#getAllObjects}
         */
        public Future> getAllObjects();

        public Future getAllObjects(ResponseHandler> callback);

        /**
         * Async version of {@link Service#getAllPortLabelsWithCurrentUsage}
         */
        public Future> getAllPortLabelsWithCurrentUsage(Long directLinkLocationId);

        public Future getAllPortLabelsWithCurrentUsage(Long directLinkLocationId, ResponseHandler> callback);

        /**
         * Async version of {@link Service#getBgpIpRange}
         */
        public Future getBgpIpRange();

        public Future getBgpIpRange(ResponseHandler callback);

        /**
         * Async version of {@link Service#getConnection}
         */
        public Future getConnection(String serviceKey, String provider);

        public Future getConnection(String serviceKey, String provider, ResponseHandler callback);

        /**
         * Async version of {@link Service#getDirectLinkSpeeds}
         */
        public Future getDirectLinkSpeeds(String offeringType);

        public Future getDirectLinkSpeeds(String offeringType, ResponseHandler callback);

        /**
         * Async version of {@link Service#getNetworkZones}
         */
        public Future> getNetworkZones();

        public Future getNetworkZones(ResponseHandler> callback);

        /**
         * Async version of {@link Service#getObject}
         */
        public Future getObject();

        public Future getObject(ResponseHandler callback);

        /**
         * Async version of {@link Service#getPorts}
         */
        public Future getPorts(String provider);

        public Future getPorts(String provider, ResponseHandler callback);

        /**
         * Async version of {@link Service#isAdnAccount}
         */
        public Future isAdnAccount();

        public Future isAdnAccount(ResponseHandler callback);

        /**
         * Async version of {@link Service#rejectApprovalRequests}
         */
        public Future rejectApprovalRequests(String serviceKey);

        public Future rejectApprovalRequests(String serviceKey, ResponseHandler callback);

        /**
         * Async version of {@link Service#updateConnectionStatus}
         */
        public Future updateConnectionStatus(Long tenantId);

        public Future updateConnectionStatus(Long tenantId, ResponseHandler callback);

        /**
         * Async version of {@link Service#getBillingItem}
         */
        public Future getBillingItem();

        /**
         * Async callback version of {@link Service#getBillingItem}
         */
        public Future getBillingItem(ResponseHandler callback);

        /**
         * Async version of {@link Service#getDatacenterName}
         */
        public Future getDatacenterName();

        /**
         * Async callback version of {@link Service#getDatacenterName}
         */
        public Future getDatacenterName(ResponseHandler callback);

        /**
         * Async version of {@link Service#getPortLabel}
         */
        public Future getPortLabel();

        /**
         * Async callback version of {@link Service#getPortLabel}
         */
        public Future getPortLabel(ResponseHandler callback);

        /**
         * Async version of {@link Service#getServiceType}
         */
        public Future getServiceType();

        /**
         * Async callback version of {@link Service#getServiceType}
         */
        public Future getServiceType(ResponseHandler callback);

        /**
         * Async version of {@link Service#getVendorName}
         */
        public Future getVendorName();

        /**
         * Async callback version of {@link Service#getVendorName}
         */
        public Future getVendorName(ResponseHandler callback);

        /**
         * Async version of {@link Service#getZoneName}
         */
        public Future getZoneName();

        /**
         * Async callback version of {@link Service#getZoneName}
         */
        public Future getZoneName(ResponseHandler callback);

    }

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

        public com.softlayer.api.service.billing.item.network.Interconnect.Mask billingItem() {
            return withSubMask("billingItem", com.softlayer.api.service.billing.item.network.Interconnect.Mask.class);
        }

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

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

        public com.softlayer.api.service.network.directlink.ServiceType.Mask serviceType() {
            return withSubMask("serviceType", com.softlayer.api.service.network.directlink.ServiceType.Mask.class);
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy