1 package de.example.exampletdd.model.currentweather;
3 import java.io.Serializable;
8 * Auto generated by: http://jsongen.byingtondesign.com/
9 * (with my own modifications)
12 public class Current implements Serializable {
13 private static final long serialVersionUID = -730690341739860818L;
15 private Clouds clouds;
25 private List<Weather> weather;
27 private byte[] iconData;
30 public String getBase(){
33 public void setBase(final String base){
36 public Clouds getClouds(){
39 public void setClouds(final Clouds clouds){
43 public Number getCod() {
47 public void setCod(final Number cod) {
50 public Coord getCoord(){
53 public void setCoord(final Coord coord){
56 public Number getDt(){
59 public void setDt(final Number dt){
62 public Number getId(){
65 public void setId(final Number id){
68 public Main getMain(){
71 public void setMain(final Main main){
74 public String getName(){
77 public void setName(final String name){
80 public Rain getRain(){
83 public void setRain(final Rain rain){
86 public Snow getSnow() {
89 public void setSnow(final Snow snow) {
95 public void setSys(final Sys sys){
98 public List<Weather> getWeather(){
101 public void setWeather(final List<Weather> weather){
102 this.weather = weather;
104 public Wind getWind(){
107 public void setWind(final Wind wind){
111 public byte[] getIconData() {
112 return this.iconData;
115 public void setIconData(final byte[] iconData) {
116 this.iconData = iconData;
119 public Date getDate() {
123 public void setDate(final Date date) {
128 public String toString() {
129 final StringBuilder builder = new StringBuilder();
130 builder.append("Current [base=").append(this.base).append(", clouds=")
131 .append(this.clouds).append(", cod=").append(this.cod).append(", coord=")
132 .append(this.coord).append(", dt=").append(this.dt).append(", id=").append(this.id)
133 .append(", main=").append(this.main).append(", name=").append(this.name)
134 .append(", rain=").append(this.rain).append(", snow=").append(this.snow)
135 .append(", sys=").append(this.sys).append(", weather=").append(this.weather)
136 .append(", wind=").append(this.wind).append("]");
137 return builder.toString();