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

com.softlayer.api.service.container.bandwidth.GraphInputs Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.GregorianCalendar;

/**
 * SoftLayer_Container_Bandwidth_GraphInputs models a single inbound object for a given bandwidth graph.
 *
 * @see SoftLayer_Container_Bandwidth_GraphInputs
 */
@ApiType("SoftLayer_Container_Bandwidth_GraphInputs")
public class GraphInputs extends Entity {

    /**
     * This is a unix timestamp that represents the stop date/time for a graph.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar endDate;

    public GregorianCalendar getEndDate() {
        return endDate;
    }

    public void setEndDate(GregorianCalendar endDate) {
        endDateSpecified = true;
        this.endDate = endDate;
    }

    protected boolean endDateSpecified;

    public boolean isEndDateSpecified() {
        return endDateSpecified;
    }

    public void unsetEndDate() {
        endDate = null;
        endDateSpecified = false;
    }

    /**
     * The front-end or back-end network uplink interface associated with this server.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long networkInterfaceId;

    public Long getNetworkInterfaceId() {
        return networkInterfaceId;
    }

    public void setNetworkInterfaceId(Long networkInterfaceId) {
        networkInterfaceIdSpecified = true;
        this.networkInterfaceId = networkInterfaceId;
    }

    protected boolean networkInterfaceIdSpecified;

    public boolean isNetworkInterfaceIdSpecified() {
        return networkInterfaceIdSpecified;
    }

    public void unsetNetworkInterfaceId() {
        networkInterfaceId = null;
        networkInterfaceIdSpecified = false;
    }

    /**
     * *
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long pod;

    public Long getPod() {
        return pod;
    }

    public void setPod(Long pod) {
        podSpecified = true;
        this.pod = pod;
    }

    protected boolean podSpecified;

    public boolean isPodSpecified() {
        return podSpecified;
    }

    public void unsetPod() {
        pod = null;
        podSpecified = false;
    }

    /**
     * This is a human readable name for the server or rack being graphed.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String serverName;

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        serverNameSpecified = true;
        this.serverName = serverName;
    }

    protected boolean serverNameSpecified;

    public boolean isServerNameSpecified() {
        return serverNameSpecified;
    }

    public void unsetServerName() {
        serverName = null;
        serverNameSpecified = false;
    }

    /**
     * This is a unix timestamp that represents the begin date/time for a graph.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar startDate;

    public GregorianCalendar getStartDate() {
        return startDate;
    }

    public void setStartDate(GregorianCalendar startDate) {
        startDateSpecified = true;
        this.startDate = startDate;
    }

    protected boolean startDateSpecified;

    public boolean isStartDateSpecified() {
        return startDateSpecified;
    }

    public void unsetStartDate() {
        startDate = null;
        startDateSpecified = false;
    }

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy