Class CurrentWeatherData
java.lang.Object
com.github.prominence.openweathermap.api.model.onecall.current.CurrentWeatherData
The type Current weather data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets alerts.Gets coordinate.Gets current.Gets daily list.Gets hourly list.Gets minutely list.Gets timezone.Gets timezone offset.inthashCode()voidSets alerts.voidsetCoordinate(Coordinate coordinate) Sets coordinate.voidsetCurrent(Current current) Sets current.voidsetDailyList(List<Daily> dailyList) Sets daily list.voidsetHourlyList(List<Hourly> hourlyList) Sets hourly list.voidsetMinutelyList(List<Minutely> minutelyList) Sets minutely list.voidsetTimezone(ZoneId timezone) Sets timezone.voidsetTimezoneOffset(ZoneOffset timezoneOffset) Sets timezone offset.toString()
-
Constructor Details
-
CurrentWeatherData
public CurrentWeatherData()
-
-
Method Details
-
getCoordinate
-
setCoordinate
Sets coordinate.- Parameters:
coordinate- the coordinate
-
getTimezone
-
setTimezone
-
getTimezoneOffset
-
setTimezoneOffset
Sets timezone offset.- Parameters:
timezoneOffset- the timezone offset
-
getCurrent
-
setCurrent
-
getMinutelyList
-
setMinutelyList
-
getHourlyList
-
setHourlyList
-
getDailyList
-
setDailyList
-
getAlerts
-
setAlerts
-
equals
-
hashCode
-
toString
-