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

com.softlayer.api.service.billing.item.virtual.ReservedCapacity Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.billing.Item;
import com.softlayer.api.service.virtual.reservedcapacitygroup.Instance;

/**
 * @see SoftLayer_Billing_Item_Virtual_ReservedCapacity
 */
@ApiType("SoftLayer_Billing_Item_Virtual_ReservedCapacity")
public class ReservedCapacity extends Item {

    /**
     * The resource for a virtual dedicated host billing item.
     */
    @ApiProperty
    protected Instance resource;

    public Instance getResource() {
        return resource;
    }

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

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

        public com.softlayer.api.service.virtual.reservedcapacitygroup.Instance.Mask resource() {
            return withSubMask("resource", com.softlayer.api.service.virtual.reservedcapacitygroup.Instance.Mask.class);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy