Serializable
public class Flags extends Object implements Serializable
Constructor | Description |
---|---|
Flags() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
List<String> |
getSources() |
|
String |
getUnits() |
|
int |
hashCode() |
|
boolean |
isDarkskyUnavailable() |
|
boolean |
isMetnoLicense() |
|
void |
setDarkskyUnavailable(boolean darkskyUnavailable) |
|
void |
setMetnoLicense(boolean metnoLicense) |
|
void |
setSources(List<String> sources) |
|
void |
setUnits(String units) |
public void setUnits(String units)
units
- Indicates the units which were used for the data in this request.public String getUnits()
public boolean isDarkskyUnavailable()
public void setDarkskyUnavailable(boolean darkskyUnavailable)
darkskyUnavailable
- The presence of this property indicates that the Dark Sky data source supports the given location, but a temporary error (such as a radar station
being down for maintenance) has made the data unavailable.public boolean isMetnoLicense()
public void setMetnoLicense(boolean metnoLicense)
metnoLicense
- The presence of this property indicates that data from api.met.no was utilized in order to facilitate this request (as per their license agreement).public List<String> getSources()
public void setSources(List<String> sources)
sources
- This property contains an array of IDs for each data source utilized in servicing this request.Copyright © 2018. All rights reserved.