All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liuchink.chinkutils.baidu.bean.geocoding.ReverseGeocodingRespResult Maven / Gradle / Ivy

There is a newer version: 0.0.14.RELEASE
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy