@Generated(value="org.jsonschema2pojo") public class Location extends Object
Constructor and Description |
---|
Location() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getId() |
Double |
getLatitude() |
Double |
getLongitude() |
String |
getName() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setId(String id) |
void |
setLatitude(Double latitude) |
void |
setLongitude(Double longitude) |
void |
setName(String name) |
String |
toString() |
Location |
withAdditionalProperty(String name,
Object value) |
Location |
withId(String id) |
Location |
withLatitude(Double latitude) |
Location |
withLongitude(Double longitude) |
Location |
withName(String name) |
@BeanProperty(value="id") public String getId()
@BeanProperty(value="id") public void setId(String id)
id
- The id@BeanProperty(value="latitude") public Double getLatitude()
@BeanProperty(value="latitude") public void setLatitude(Double latitude)
latitude
- The latitude@BeanProperty(value="longitude") public Double getLongitude()
@BeanProperty(value="longitude") public void setLongitude(Double longitude)
longitude
- The longitude@BeanProperty(value="name") public String getName()
@BeanProperty(value="name") public void setName(String name)
name
- The name@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.