All Downloads are FREE. Search and download functionalities are using the official Maven repository.

infobip.api.model.nc.Network Maven / Gradle / Ivy

There is a newer version: 4.4.0
Show newest version
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 + "'" +
            '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy