com.aliyun.pds20220301.models.Address Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pds20220301 Show documentation
Show all versions of pds20220301 Show documentation
Alibaba Cloud pds (20220301) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;
import com.aliyun.tea.*;
public class Address extends TeaModel {
/**
* example:
* 杭州市
*/
@NameInMap("city")
public String city;
/**
* example:
* 中国
*/
@NameInMap("country")
public String country;
/**
* example:
* 余杭区
*/
@NameInMap("district")
public String district;
/**
* example:
* 浙江省
*/
@NameInMap("province")
public String province;
/**
* example:
* 文一西路
*/
@NameInMap("township")
public String township;
public static Address build(java.util.Map map) throws Exception {
Address self = new Address();
return TeaModel.build(map, self);
}
public Address setCity(String city) {
this.city = city;
return this;
}
public String getCity() {
return this.city;
}
public Address setCountry(String country) {
this.country = country;
return this;
}
public String getCountry() {
return this.country;
}
public Address setDistrict(String district) {
this.district = district;
return this;
}
public String getDistrict() {
return this.district;
}
public Address setProvince(String province) {
this.province = province;
return this;
}
public String getProvince() {
return this.province;
}
public Address setTownship(String township) {
this.township = township;
return this;
}
public String getTownship() {
return this.township;
}
}