com.antgroup.antchain.openapi.twc.models.Location Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class Location extends TeaModel {
// 所在城市
@NameInMap("city")
public String city;
// 使用设备的IMEI号
@NameInMap("imei")
public String imei;
// 使用设备的IMSI号
@NameInMap("imsi")
public String imsi;
// 使用设备的IP地址
@NameInMap("ip")
public String ip;
// 纬度
@NameInMap("latitude")
public String latitude;
// 经度
@NameInMap("longitude")
public String longitude;
// 使用设备的Wi-Fi物理地址
@NameInMap("mac_addr")
public String macAddr;
// 扩展属性
@NameInMap("properties")
public String properties;
public static Location build(java.util.Map map) throws Exception {
Location self = new Location();
return TeaModel.build(map, self);
}
public Location setCity(String city) {
this.city = city;
return this;
}
public String getCity() {
return this.city;
}
public Location setImei(String imei) {
this.imei = imei;
return this;
}
public String getImei() {
return this.imei;
}
public Location setImsi(String imsi) {
this.imsi = imsi;
return this;
}
public String getImsi() {
return this.imsi;
}
public Location setIp(String ip) {
this.ip = ip;
return this;
}
public String getIp() {
return this.ip;
}
public Location setLatitude(String latitude) {
this.latitude = latitude;
return this;
}
public String getLatitude() {
return this.latitude;
}
public Location setLongitude(String longitude) {
this.longitude = longitude;
return this;
}
public String getLongitude() {
return this.longitude;
}
public Location setMacAddr(String macAddr) {
this.macAddr = macAddr;
return this;
}
public String getMacAddr() {
return this.macAddr;
}
public Location setProperties(String properties) {
this.properties = properties;
return this;
}
public String getProperties() {
return this.properties;
}
}