@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AddressInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AddressInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS |
static String |
SERIALIZED_NAME_CITY_CODE |
static String |
SERIALIZED_NAME_DISTRICT_CODE |
static String |
SERIALIZED_NAME_LATITUDE |
static String |
SERIALIZED_NAME_LONGITUDE |
static String |
SERIALIZED_NAME_POIID |
static String |
SERIALIZED_NAME_PROVINCE_CODE |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
AddressInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
AddressInfo |
address(String address) |
AddressInfo |
cityCode(String cityCode) |
AddressInfo |
districtCode(String districtCode) |
boolean |
equals(Object o) |
static AddressInfo |
fromJson(String jsonString)
Create an instance of AddressInfo given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAddress()
地址。
|
String |
getCityCode()
城市编码。
|
String |
getDistrictCode()
区县编码。
|
String |
getLatitude()
纬度,浮点型,小数点后最多保留6位 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。
|
String |
getLongitude()
经度,浮点型, 小数点后最多保留6位。
|
String |
getPoiid()
高德poiid
|
String |
getProvinceCode()
省份编码。
|
String |
getType()
地址类型。
|
int |
hashCode() |
AddressInfo |
latitude(String latitude) |
AddressInfo |
longitude(String longitude) |
AddressInfo |
poiid(String poiid) |
AddressInfo |
provinceCode(String provinceCode) |
AddressInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAddress(String address) |
void |
setCityCode(String cityCode) |
void |
setDistrictCode(String districtCode) |
void |
setLatitude(String latitude) |
void |
setLongitude(String longitude) |
void |
setPoiid(String poiid) |
void |
setProvinceCode(String provinceCode) |
void |
setType(String type) |
String |
toJson()
Convert an instance of AddressInfo to an JSON string
|
String |
toString() |
AddressInfo |
type(String type) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public AddressInfo address(String address)
public void setAddress(String address)
public AddressInfo cityCode(String cityCode)
@Nullable public String getCityCode()
public void setCityCode(String cityCode)
public AddressInfo districtCode(String districtCode)
@Nullable public String getDistrictCode()
public void setDistrictCode(String districtCode)
public AddressInfo latitude(String latitude)
@Nullable public String getLatitude()
public void setLatitude(String latitude)
public AddressInfo longitude(String longitude)
@Nullable public String getLongitude()
public void setLongitude(String longitude)
public AddressInfo poiid(String poiid)
public void setPoiid(String poiid)
public AddressInfo provinceCode(String provinceCode)
@Nullable public String getProvinceCode()
public void setProvinceCode(String provinceCode)
public AddressInfo type(String type)
public void setType(String type)
public AddressInfo putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to AddressInfopublic static AddressInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AddressInfopublic String toJson()
Copyright © 2024. All rights reserved.