![JAR search and dependency download from the Maven repository](/logo.png)
com.oneops.infoblox.model.host.$AutoValue_HostReq Maven / Gradle / Ivy
package com.oneops.infoblox.model.host;
import java.util.List;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_HostReq extends HostReq {
private final String name;
private final List ipv4addrs;
$AutoValue_HostReq(
String name,
List ipv4addrs) {
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
if (ipv4addrs == null) {
throw new NullPointerException("Null ipv4addrs");
}
this.ipv4addrs = ipv4addrs;
}
@Override
public String name() {
return name;
}
@Override
public List ipv4addrs() {
return ipv4addrs;
}
@Override
public String toString() {
return "HostReq{"
+ "name=" + name + ", "
+ "ipv4addrs=" + ipv4addrs
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof HostReq) {
HostReq that = (HostReq) o;
return (this.name.equals(that.name()))
&& (this.ipv4addrs.equals(that.ipv4addrs()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.name.hashCode();
h *= 1000003;
h ^= this.ipv4addrs.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy