com.softlayer.api.service.billing.item.software.Component 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.software;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.billing.Item;
/**
* The SoftLayer_Billing_Item_Hardware data type contains general information relating to a single SoftLayer billing item for hardware components.
*
* @see SoftLayer_Billing_Item_Software_Component
*/
@ApiType("SoftLayer_Billing_Item_Software_Component")
public class Component extends Item {
/**
* The software component that this billing item points to.
*/
@ApiProperty
protected com.softlayer.api.service.software.Component resource;
public com.softlayer.api.service.software.Component getResource() {
return resource;
}
public void setResource(com.softlayer.api.service.software.Component resource) {
this.resource = resource;
}
/**
* The resource (unique identifier) for a software component 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.software.Component.Mask resource() {
return withSubMask("resource", com.softlayer.api.service.software.Component.Mask.class);
}
public Mask resourceTableId() {
withLocalProperty("resourceTableId");
return this;
}
}
}