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

com.softlayer.api.service.container.ticket.GraphOutputs Maven / Gradle / Ivy

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

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

/**
 * SoftLayer_Container_Ticket_GraphOutputs models a single outbound object for a given bandwidth graph.
 *
 * @see SoftLayer_Container_Ticket_GraphOutputs
 */
@ApiType("SoftLayer_Container_Ticket_GraphOutputs")
public class GraphOutputs extends Entity {

    /**
     * The raw PNG binary data to be displayed once the graph is drawn.
     */
    @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;
    }

    /**
     * The title that ended up being displayed as part of the graph image.
     */
    @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 maximum date included in this 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 minimum date included in this 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;
    }

    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 maxEndDate() {
            withLocalProperty("maxEndDate");
            return this;
        }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy