com.oneops.gslb.domain.$AutoValue_LbConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gslb Show documentation
Show all versions of gslb Show documentation
Library for managing gslb
package com.oneops.gslb.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_LbConfig extends LbConfig {
private final String listenerJson;
private final String ecvMapJson;
$AutoValue_LbConfig(
String listenerJson,
String ecvMapJson) {
if (listenerJson == null) {
throw new NullPointerException("Null listenerJson");
}
this.listenerJson = listenerJson;
if (ecvMapJson == null) {
throw new NullPointerException("Null ecvMapJson");
}
this.ecvMapJson = ecvMapJson;
}
@Override
public String listenerJson() {
return listenerJson;
}
@Override
public String ecvMapJson() {
return ecvMapJson;
}
@Override
public String toString() {
return "LbConfig{"
+ "listenerJson=" + listenerJson + ", "
+ "ecvMapJson=" + ecvMapJson
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof LbConfig) {
LbConfig that = (LbConfig) o;
return (this.listenerJson.equals(that.listenerJson()))
&& (this.ecvMapJson.equals(that.ecvMapJson()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.listenerJson.hashCode();
h *= 1000003;
h ^= this.ecvMapJson.hashCode();
return h;
}
}