All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oneops.gslb.domain.$AutoValue_LbConfig Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version

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;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy