org.jclouds.docker.domain.AutoValue_Exec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker Show documentation
Show all versions of docker Show documentation
ComputeService binding to the Docker API
package org.jclouds.docker.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Exec extends Exec {
private final String id;
AutoValue_Exec(
String id) {
if (id == null) {
throw new NullPointerException("Null id");
}
this.id = id;
}
@Override
public String id() {
return id;
}
@Override
public String toString() {
return "Exec{"
+ "id=" + id
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Exec) {
Exec that = (Exec) o;
return (this.id.equals(that.id()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.id.hashCode();
return h;
}
}