infobip.api.model.nc.Network Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infobip-api-java-client Show documentation
Show all versions of infobip-api-java-client Show documentation
API client in Java for Infobip's API (http://dev.infobip.com/).
package infobip.api.model.nc;
/**
* This is a generated class and is not intended for modification!
*/
public class Network {
private String countryPrefix;
private String networkName;
private String countryName;
private String networkPrefix;
public Network() {
}
public String getCountryPrefix() {
return this.countryPrefix;
}
public Network setCountryPrefix(String countryPrefix) {
this.countryPrefix = countryPrefix;
return this;
}
public String getNetworkName() {
return this.networkName;
}
public Network setNetworkName(String networkName) {
this.networkName = networkName;
return this;
}
public String getCountryName() {
return this.countryName;
}
public Network setCountryName(String countryName) {
this.countryName = countryName;
return this;
}
public String getNetworkPrefix() {
return this.networkPrefix;
}
public Network setNetworkPrefix(String networkPrefix) {
this.networkPrefix = networkPrefix;
return this;
}
@Override
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Network o = (Network)obj;
if (this.countryPrefix == null) {
if (o.countryPrefix != null){
return false;
}
} else if (!this.countryPrefix.equals(o.countryPrefix)) {
return false;
}
if (this.networkName == null) {
if (o.networkName != null){
return false;
}
} else if (!this.networkName.equals(o.networkName)) {
return false;
}
if (this.countryName == null) {
if (o.countryName != null){
return false;
}
} else if (!this.countryName.equals(o.countryName)) {
return false;
}
if (this.networkPrefix == null) {
if (o.networkPrefix != null){
return false;
}
} else if (!this.networkPrefix.equals(o.networkPrefix)) {
return false;
}
return true;
}
@Override
public String toString() {
return "Network{" +
"countryPrefix='" + countryPrefix + "'" +
", networkName='" + networkName + "'" +
", countryName='" + countryName + "'" +
", networkPrefix='" + networkPrefix + "'" +
'}';
}
}