com.softlayer.api.service.billing.item.virtual.disk.Image 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.virtual.disk;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.billing.Item;
/**
* The SoftLayer_Billing_Item_Virtual_Disk_Image data type contains general information relating to a single SoftLayer billing item for disk images.
*
* @see SoftLayer_Billing_Item_Virtual_Disk_Image
*/
@ApiType("SoftLayer_Billing_Item_Virtual_Disk_Image")
public class Image extends Item {
/**
* The disk image to which the billing item points.
*/
@ApiProperty
protected com.softlayer.api.service.virtual.disk.Image resource;
public com.softlayer.api.service.virtual.disk.Image getResource() {
return resource;
}
public void setResource(com.softlayer.api.service.virtual.disk.Image resource) {
this.resource = resource;
}
/**
* The resource (unique identifier) for a disk image billing item.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long resourceTableId;
public Long getResourceTableId() {
return resourceTableId;
}
public void setResourceTableId(Long resourceTableId) {
resourceTableIdSpecified = true;
this.resourceTableId = resourceTableId;
}
protected boolean resourceTableIdSpecified;
public boolean isResourceTableIdSpecified() {
return resourceTableIdSpecified;
}
public void unsetResourceTableId() {
resourceTableId = null;
resourceTableIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.billing.Item.Mask {
public com.softlayer.api.service.virtual.disk.Image.Mask resource() {
return withSubMask("resource", com.softlayer.api.service.virtual.disk.Image.Mask.class);
}
public Mask resourceTableId() {
withLocalProperty("resourceTableId");
return this;
}
}
}