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

com.softlayer.api.service.billing.invoice.item.Hardware Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show 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);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy