com.softlayer.api.service.billing.invoice.item.Hardware 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.invoice.item;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.billing.invoice.Item;
/**
* The SoftLayer_Billing_Invoice_Item_Hardware data type contains a "resource". This resource is a link to the hardware tied to a SoftLayer_Billing_item whose category code is "server".
*
* @see SoftLayer_Billing_Invoice_Item_Hardware
*/
@ApiType("SoftLayer_Billing_Invoice_Item_Hardware")
public class Hardware extends Item {
/**
* The resource for a server invoice item.
*/
@ApiProperty
protected com.softlayer.api.service.Hardware resource;
public com.softlayer.api.service.Hardware getResource() {
return resource;
}
public void setResource(com.softlayer.api.service.Hardware resource) {
this.resource = resource;
}
public static class Mask extends com.softlayer.api.service.billing.invoice.Item.Mask {
public com.softlayer.api.service.Hardware.Mask resource() {
return withSubMask("resource", com.softlayer.api.service.Hardware.Mask.class);
}
}
}