com.tinypass.client.user.model.GeoLocation Maven / Gradle / Ivy
package com.tinypass.client.user.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class GeoLocation {
/* The code of the country region */
private String regionCode = null;
/* The name of the country region */
private String regionName = null;
/* The name of the city */
private String city = null;
/* The country code */
private String countryCode = null;
/* The user's postal code */
private String postalCode = null;
public String getRegionCode() {
return regionCode;
}
public void setRegionCode(String regionCode) {
this.regionCode = regionCode;
}
public String getRegionName() {
return regionName;
}
public void setRegionName(String regionName) {
this.regionName = regionName;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getCountryCode() {
return countryCode;
}
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GeoLocation {\n");
sb.append(" regionCode: ").append(regionCode).append("\n");
sb.append(" regionName: ").append(regionName).append("\n");
sb.append(" city: ").append(city).append("\n");
sb.append(" countryCode: ").append(countryCode).append("\n");
sb.append(" postalCode: ").append(postalCode).append("\n");
sb.append("}\n");
return sb.toString();
}
}