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

com.softlayer.api.service.hardware.component.psid.Xref Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.hardware.Component;

/**
 * The SoftLayer_Hardware_Component_PSID_Xref data type holds physical security ID information for hard drives 
 *
 * @see SoftLayer_Hardware_Component_PSID_Xref
 */
@ApiType("SoftLayer_Hardware_Component_PSID_Xref")
public class Xref extends Entity {

    /**
     * The hardware component the PSID belongs to.
     */
    @ApiProperty
    protected Component component;

    public Component getComponent() {
        return component;
    }

    public void setComponent(Component component) {
        this.component = component;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long componentId;

    public Long getComponentId() {
        return componentId;
    }

    public void setComponentId(Long componentId) {
        componentIdSpecified = true;
        this.componentId = componentId;
    }

    protected boolean componentIdSpecified;

    public boolean isComponentIdSpecified() {
        return componentIdSpecified;
    }

    public void unsetComponentId() {
        componentId = null;
        componentIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String psid;

    public String getPsid() {
        return psid;
    }

    public void setPsid(String psid) {
        psidSpecified = true;
        this.psid = psid;
    }

    protected boolean psidSpecified;

    public boolean isPsidSpecified() {
        return psidSpecified;
    }

    public void unsetPsid() {
        psid = null;
        psidSpecified = false;
    }

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

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

        public Mask componentId() {
            withLocalProperty("componentId");
            return this;
        }

        public Mask psid() {
            withLocalProperty("psid");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy