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

com.softlayer.api.service.network.storage.Hub Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy