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

com.softlayer.api.service.container.bandwidth.GraphOutputsExtended 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_GraphOutputs models an individual bandwidth graph image and certain details about that graph image.
 *
 * @see SoftLayer_Container_Bandwidth_GraphOutputsExtended
 */
@ApiType("SoftLayer_Container_Bandwidth_GraphOutputsExtended")
public class GraphOutputsExtended extends Entity {

    /**
     * The raw PNG binary data of a bandwidth graph image.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected byte[] graphImage;

    public byte[] getGraphImage() {
        return graphImage;
    }

    public void setGraphImage(byte[] graphImage) {
        graphImageSpecified = true;
        this.graphImage = graphImage;
    }

    protected boolean graphImageSpecified;

    public boolean isGraphImageSpecified() {
        return graphImageSpecified;
    }

    public void unsetGraphImage() {
        graphImage = null;
        graphImageSpecified = false;
    }

    /**
     * A bandwidth graph's title.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String graphTitle;

    public String getGraphTitle() {
        return graphTitle;
    }

    public void setGraphTitle(String graphTitle) {
        graphTitleSpecified = true;
        this.graphTitle = graphTitle;
    }

    protected boolean graphTitleSpecified;

    public boolean isGraphTitleSpecified() {
        return graphTitleSpecified;
    }

    public void unsetGraphTitle() {
        graphTitle = null;
        graphTitleSpecified = false;
    }

    /**
     * The amount of inbound traffic reported on a bandwidth graph image.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long inBoundTotalBytes;

    public Long getInBoundTotalBytes() {
        return inBoundTotalBytes;
    }

    public void setInBoundTotalBytes(Long inBoundTotalBytes) {
        inBoundTotalBytesSpecified = true;
        this.inBoundTotalBytes = inBoundTotalBytes;
    }

    protected boolean inBoundTotalBytesSpecified;

    public boolean isInBoundTotalBytesSpecified() {
        return inBoundTotalBytesSpecified;
    }

    public void unsetInBoundTotalBytes() {
        inBoundTotalBytes = null;
        inBoundTotalBytesSpecified = false;
    }

    /**
     * The ending date of the data represented in a bandwidth graph.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar maxEndDate;

    public GregorianCalendar getMaxEndDate() {
        return maxEndDate;
    }

    public void setMaxEndDate(GregorianCalendar maxEndDate) {
        maxEndDateSpecified = true;
        this.maxEndDate = maxEndDate;
    }

    protected boolean maxEndDateSpecified;

    public boolean isMaxEndDateSpecified() {
        return maxEndDateSpecified;
    }

    public void unsetMaxEndDate() {
        maxEndDate = null;
        maxEndDateSpecified = false;
    }

    /**
     * The beginning date of the data represented in a bandwidth graph.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar minStartDate;

    public GregorianCalendar getMinStartDate() {
        return minStartDate;
    }

    public void setMinStartDate(GregorianCalendar minStartDate) {
        minStartDateSpecified = true;
        this.minStartDate = minStartDate;
    }

    protected boolean minStartDateSpecified;

    public boolean isMinStartDateSpecified() {
        return minStartDateSpecified;
    }

    public void unsetMinStartDate() {
        minStartDate = null;
        minStartDateSpecified = false;
    }

    /**
     * The amount of outbound traffic reported on a bandwidth graph image.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long outBoundTotalBytes;

    public Long getOutBoundTotalBytes() {
        return outBoundTotalBytes;
    }

    public void setOutBoundTotalBytes(Long outBoundTotalBytes) {
        outBoundTotalBytesSpecified = true;
        this.outBoundTotalBytes = outBoundTotalBytes;
    }

    protected boolean outBoundTotalBytesSpecified;

    public boolean isOutBoundTotalBytesSpecified() {
        return outBoundTotalBytesSpecified;
    }

    public void unsetOutBoundTotalBytes() {
        outBoundTotalBytes = null;
        outBoundTotalBytesSpecified = false;
    }

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

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy