
org.jclouds.googlecomputeengine.domain.AutoValue_Instance_SerialPortOutput 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.googlecomputeengine.domain;
import java.net.URI;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Instance_SerialPortOutput extends Instance.SerialPortOutput {
private final URI selfLink;
private final String contents;
AutoValue_Instance_SerialPortOutput(
@Nullable URI selfLink,
String contents) {
this.selfLink = selfLink;
if (contents == null) {
throw new NullPointerException("Null contents");
}
this.contents = contents;
}
@Nullable
@Override
public URI selfLink() {
return selfLink;
}
@Override
public String contents() {
return contents;
}
@Override
public String toString() {
return "SerialPortOutput{"
+ "selfLink=" + selfLink + ", "
+ "contents=" + contents
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Instance.SerialPortOutput) {
Instance.SerialPortOutput that = (Instance.SerialPortOutput) o;
return ((this.selfLink == null) ? (that.selfLink() == null) : this.selfLink.equals(that.selfLink()))
&& (this.contents.equals(that.contents()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (selfLink == null) ? 0 : this.selfLink.hashCode();
h *= 1000003;
h ^= this.contents.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy