com.liuchink.chinkutils.baidu.bean.geocoding.ReverseGeocodingRespResult Maven / Gradle / Ivy
package com.liuchink.chinkutils.baidu.bean.geocoding;
import java.io.Serializable;
import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;
import com.google.common.collect.Lists;
import com.liuchink.chinkutils.baidu.bean.BaiDuMapLocation;
import lombok.Data;
/**
* @author liugang
* @since 2020/10/27 15:41
*/
@Data
public class ReverseGeocodingRespResult {
private static final long serialVersionUID = -1062254437151599403L;
public ReverseGeocodingRespResult() {
this.location = new BaiDuMapLocation();
this.listReverseGeocodingRespAddressComponent = Lists.newArrayList();
this.listReverseGeocodingRespPois = Lists.newArrayList();
this.listReverseGeocodingRespRoads = Lists.newArrayList();
this.listReverseGeocodingRespPoiRegions = Lists.newArrayList();
}
private BaiDuMapLocation location;
@JSONField(name = "formatted_address")
private String formattedAddress;
@JSONField(name = "addressComponent")
private List listReverseGeocodingRespAddressComponent;
@JSONField(name = "pois")
private List listReverseGeocodingRespPois;
@JSONField(name = "roads")
private List listReverseGeocodingRespRoads;
@JSONField(name = "poiRegions")
private List listReverseGeocodingRespPoiRegions;
@JSONField(name = "sematic_description")
private String sematicDescription;
private String cityCode;
}