com.softlayer.api.service.billing.item.network.Interconnect 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.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);
}
}
}