com.softlayer.api.service.network.storage.Hub 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.network.storage;
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.Storage;
import java.util.ArrayList;
import java.util.List;
/**
* The SoftLayer_Network_Storage_Hub data type models Virtual Server type Storage storage offerings.
*
* @see SoftLayer_Network_Storage_Hub
*/
@ApiType("SoftLayer_Network_Storage_Hub")
public class Hub extends Storage {
/**
* The billing items tied to a Storage service's bandwidth usage.
*/
@ApiProperty
protected List- bandwidthBillingItems;
public List
- getBandwidthBillingItems() {
if (bandwidthBillingItems == null) {
bandwidthBillingItems = new ArrayList
- ();
}
return bandwidthBillingItems;
}
/**
* A count of the billing items tied to a Storage service's bandwidth usage.
*/
@ApiProperty
protected Long bandwidthBillingItemCount;
public Long getBandwidthBillingItemCount() {
return bandwidthBillingItemCount;
}
public void setBandwidthBillingItemCount(Long bandwidthBillingItemCount) {
this.bandwidthBillingItemCount = bandwidthBillingItemCount;
}
public static class Mask extends com.softlayer.api.service.network.Storage.Mask {
public com.softlayer.api.service.billing.Item.Mask bandwidthBillingItems() {
return withSubMask("bandwidthBillingItems", com.softlayer.api.service.billing.Item.Mask.class);
}
public Mask bandwidthBillingItemCount() {
withLocalProperty("bandwidthBillingItemCount");
return this;
}
}
}