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

com.softlayer.api.service.container.hardware.server.Details Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.hardware.server;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.software.Component;
import java.util.ArrayList;
import java.util.List;

/**
 * The SoftLayer_Container_Hardware_Server_Details data type contains information relating to a server's component information, network information, and software information. 
 *
 * @see SoftLayer_Container_Hardware_Server_Details
 */
@ApiType("SoftLayer_Container_Hardware_Server_Details")
public class Details extends Entity {

    /**
     * The components that belong to a piece of hardware.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected List components;

    public List getComponents() {
        if (components == null) {
            components = new ArrayList();
        }
        return components;
    }

    protected boolean componentsSpecified;

    public boolean isComponentsSpecified() {
        return componentsSpecified;
    }

    public void unsetComponents() {
        components = null;
        componentsSpecified = false;
    }

    /**
     * The network components that belong to a piece of hardware.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected List networkComponents;

    public List getNetworkComponents() {
        if (networkComponents == null) {
            networkComponents = new ArrayList();
        }
        return networkComponents;
    }

    protected boolean networkComponentsSpecified;

    public boolean isNetworkComponentsSpecified() {
        return networkComponentsSpecified;
    }

    public void unsetNetworkComponents() {
        networkComponents = null;
        networkComponentsSpecified = false;
    }

    /**
     * The software that belong to a piece of hardware.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected List software;

    public List getSoftware() {
        if (software == null) {
            software = new ArrayList();
        }
        return software;
    }

    protected boolean softwareSpecified;

    public boolean isSoftwareSpecified() {
        return softwareSpecified;
    }

    public void unsetSoftware() {
        software = null;
        softwareSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public com.softlayer.api.service.hardware.Component.Mask components() {
            return withSubMask("components", com.softlayer.api.service.hardware.Component.Mask.class);
        }

        public com.softlayer.api.service.network.Component.Mask networkComponents() {
            return withSubMask("networkComponents", com.softlayer.api.service.network.Component.Mask.class);
        }

        public com.softlayer.api.service.software.Component.Mask software() {
            return withSubMask("software", com.softlayer.api.service.software.Component.Mask.class);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy