
org.jclouds.azurecompute.arm.domain.AutoValue_NetworkInterfaceConfiguration 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.azurecompute.arm.domain;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_NetworkInterfaceConfiguration extends NetworkInterfaceConfiguration {
private final String name;
private final NetworkInterfaceConfigurationProperties networkInterfaceConfigurationProperties;
AutoValue_NetworkInterfaceConfiguration(
@Nullable String name,
@Nullable NetworkInterfaceConfigurationProperties networkInterfaceConfigurationProperties) {
this.name = name;
this.networkInterfaceConfigurationProperties = networkInterfaceConfigurationProperties;
}
@Nullable
@Override
public String name() {
return name;
}
@Nullable
@Override
public NetworkInterfaceConfigurationProperties networkInterfaceConfigurationProperties() {
return networkInterfaceConfigurationProperties;
}
@Override
public String toString() {
return "NetworkInterfaceConfiguration{"
+ "name=" + name + ", "
+ "networkInterfaceConfigurationProperties=" + networkInterfaceConfigurationProperties
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof NetworkInterfaceConfiguration) {
NetworkInterfaceConfiguration that = (NetworkInterfaceConfiguration) o;
return ((this.name == null) ? (that.name() == null) : this.name.equals(that.name()))
&& ((this.networkInterfaceConfigurationProperties == null) ? (that.networkInterfaceConfigurationProperties() == null) : this.networkInterfaceConfigurationProperties.equals(that.networkInterfaceConfigurationProperties()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (name == null) ? 0 : this.name.hashCode();
h *= 1000003;
h ^= (networkInterfaceConfigurationProperties == null) ? 0 : this.networkInterfaceConfigurationProperties.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy