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

com.softlayer.api.service.container.hardware.server.Request 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;

/**
 * @see SoftLayer_Container_Hardware_Server_Request
 */
@ApiType("SoftLayer_Container_Hardware_Server_Request")
public class Request extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long hardwareId;

    public Long getHardwareId() {
        return hardwareId;
    }

    public void setHardwareId(Long hardwareId) {
        hardwareIdSpecified = true;
        this.hardwareId = hardwareId;
    }

    protected boolean hardwareIdSpecified;

    public boolean isHardwareIdSpecified() {
        return hardwareIdSpecified;
    }

    public void unsetHardwareId() {
        hardwareId = null;
        hardwareIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String message;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        messageSpecified = true;
        this.message = message;
    }

    protected boolean messageSpecified;

    public boolean isMessageSpecified() {
        return messageSpecified;
    }

    public void unsetMessage() {
        message = null;
        messageSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean successFlag;

    public Boolean getSuccessFlag() {
        return successFlag;
    }

    public void setSuccessFlag(Boolean successFlag) {
        successFlagSpecified = true;
        this.successFlag = successFlag;
    }

    protected boolean successFlagSpecified;

    public boolean isSuccessFlagSpecified() {
        return successFlagSpecified;
    }

    public void unsetSuccessFlag() {
        successFlag = null;
        successFlagSpecified = false;
    }

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy