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

com.megaport.api.dto.GraphDto Maven / Gradle / Ivy

The newest version!
package com.megaport.api.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown=true)
public class GraphDto implements Serializable {

    private Integer width;
    private Date start;
    private Date end;
    private String name;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List in_mbps = new ArrayList<>();
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List out_mbps = new ArrayList<>();

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List getIn_mbps() {
        return in_mbps;
    }

    public void setIn_mbps(List in_mbps) {
        this.in_mbps = in_mbps;
    }

    public List getOut_mbps() {
        return out_mbps;
    }

    public void setOut_mbps(List out_mbps) {
        this.out_mbps = out_mbps;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy