
org.jclouds.packet.domain.AutoValue_Specs_NIC Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jclouds-shaded Show documentation
Show all versions of jclouds-shaded Show documentation
Provides a shaded jclouds with relocated guava and guice
The newest version!
package org.jclouds.packet.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Specs_NIC extends Specs.NIC {
private final Integer count;
private final String type;
AutoValue_Specs_NIC(
Integer count,
String type) {
if (count == null) {
throw new NullPointerException("Null count");
}
this.count = count;
if (type == null) {
throw new NullPointerException("Null type");
}
this.type = type;
}
@Override
public Integer count() {
return count;
}
@Override
public String type() {
return type;
}
@Override
public String toString() {
return "NIC{"
+ "count=" + count + ", "
+ "type=" + type
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Specs.NIC) {
Specs.NIC that = (Specs.NIC) o;
return (this.count.equals(that.count()))
&& (this.type.equals(that.type()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.count.hashCode();
h *= 1000003;
h ^= this.type.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy