com.softlayer.api.service.billing.item.virtual.ReservedCapacity 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
The 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);
}
}
}