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

com.softlayer.api.service.billing.item.network.Interconnect Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.billing.Item;
import com.softlayer.api.service.network.interconnect.Tenant;

/**
 * A SoftLayer_Billing_Item_Network_Interconnect represents the [[SoftLayer_Billing_Item|billing item]] related to a network interconnect instance. 
 *
 * @see SoftLayer_Billing_Item_Network_Interconnect
 */
@ApiType("SoftLayer_Billing_Item_Network_Interconnect")
public class Interconnect extends Item {

    /**
     * The interconnect tenant that the billing item is associated with.
     */
    @ApiProperty
    protected Tenant resource;

    public Tenant getResource() {
        return resource;
    }

    public void setResource(Tenant resource) {
        this.resource = resource;
    }

    public static class Mask extends com.softlayer.api.service.billing.Item.Mask {

        public com.softlayer.api.service.network.interconnect.Tenant.Mask resource() {
            return withSubMask("resource", com.softlayer.api.service.network.interconnect.Tenant.Mask.class);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy