-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from MBenincasa/develop
Develop
- Loading branch information
Showing
37 changed files
with
989 additions
and
1,003 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
src/main/java/io/github/mbenincasa/javaopenweathermapclient/dto/DailyWeatherForecastDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
package io.github.mbenincasa.javaopenweathermapclient.dto; | ||
|
||
import io.github.mbenincasa.javaopenweathermapclient.dto.dailyWeatherForecast.City; | ||
import io.github.mbenincasa.javaopenweathermapclient.dto.dailyWeatherForecast.ForecastList; | ||
|
||
import java.util.List; | ||
|
||
public class DailyWeatherForecastDTO { | ||
|
||
private String cod; | ||
private Integer message; | ||
private Integer cnt; | ||
private City city; | ||
private List<ForecastList> list; | ||
|
||
public DailyWeatherForecastDTO() { | ||
} | ||
|
||
public DailyWeatherForecastDTO(String cod, Integer message, Integer cnt, City city, List<ForecastList> list) { | ||
this.cod = cod; | ||
this.message = message; | ||
this.cnt = cnt; | ||
this.city = city; | ||
this.list = list; | ||
} | ||
|
||
public String getCod() { | ||
return cod; | ||
} | ||
|
||
public Integer getMessage() { | ||
return message; | ||
} | ||
|
||
public Integer getCnt() { | ||
return cnt; | ||
} | ||
|
||
public City getCity() { | ||
return city; | ||
} | ||
|
||
public List<ForecastList> getList() { | ||
return list; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "DailyWeatherForecastDTO{" + | ||
"cod='" + cod + '\'' + | ||
", message=" + message + | ||
", cnt=" + cnt + | ||
", city=" + city + | ||
", list=" + list + | ||
'}'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.