com.tinypass.client.anon.model.Country Maven / Gradle / Ivy
package com.tinypass.client.anon.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.anon.model.Region;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class Country {
/* The country name */
private String countryName = null;
/* The country code */
private String countryCode = null;
/* The country ID */
private String countryId = null;
private List regions = new ArrayList();
public String getCountryName() {
return countryName;
}
public void setCountryName(String countryName) {
this.countryName = countryName;
}
public String getCountryCode() {
return countryCode;
}
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
public String getCountryId() {
return countryId;
}
public void setCountryId(String countryId) {
this.countryId = countryId;
}
public List getRegions() {
return regions;
}
public void setRegions(List regions) {
this.regions = regions;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Country {\n");
sb.append(" countryName: ").append(countryName).append("\n");
sb.append(" countryCode: ").append(countryCode).append("\n");
sb.append(" countryId: ").append(countryId).append("\n");
sb.append(" regions: ").append(regions).append("\n");
sb.append("}\n");
return sb.toString();
}
}