package com.liuguilin.lovewallpaper.model;
import java.util.List;
/*
* 项目名: LoveWallpaper
* 包名: com.liuguilin.lovewallpaper.model
* 文件名: WeatherApiModel
* 创建者: LiuGuiLin
* 创建时间: 2017/1/10 0010 下午 9:52
* 描述: 天气接口
*/
public class WeatherApiModel {
private List<ResultsBean> results;
public List<ResultsBean> getResults() {
return results;
}
public void setResults(List<ResultsBean> results) {
this.results = results;
}
public static class ResultsBean {
private LocationBean location;
private NowBean now;
private String last_update;
public LocationBean getLocation() {
return location;
}
public void setLocation(LocationBean location) {
this.location = location;
}
public NowBean getNow() {
return now;
}
public void setNow(NowBean now) {
this.now = now;
}
public String getLast_update() {
return last_update;
}
public void setLast_update(String last_update) {
this.last_update = last_update;
}
public static class LocationBean {
private String id;
private String name;
private String country;
private String path;
private String timezone;
private String timezone_offset;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getTimezone() {
return timezone;
}
public void setTimezone(String timezone) {
this.timezone = timezone;
}
public String getTimezone_offset() {
return timezone_offset;
}
public void setTimezone_offset(String timezone_offset) {
this.timezone_offset = timezone_offset;
}
}
public static class NowBean {
private String text;
private String code;
private String temperature;
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getTemperature() {
return temperature;
}
public void setTemperature(String temperature) {
this.temperature = temperature;
}
}
}
}