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

org.jclouds.googlecomputeengine.options.AutoValue_UrlMapOptions Maven / Gradle / Ivy

The newest version!

package org.jclouds.googlecomputeengine.options;

import java.net.URI;
import java.util.List;
import javax.annotation.Generated;
import org.jclouds.googlecomputeengine.domain.UrlMap;
import org.jclouds.javax.annotation.Nullable;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_UrlMapOptions extends UrlMapOptions {

  private final String name;
  private final String description;
  private final List hostRules;
  private final List pathMatchers;
  private final List tests;
  private final URI defaultService;
  private final String fingerprint;

  AutoValue_UrlMapOptions(
      @Nullable String name,
      @Nullable String description,
      @Nullable List hostRules,
      @Nullable List pathMatchers,
      @Nullable List tests,
      @Nullable URI defaultService,
      @Nullable String fingerprint) {
    this.name = name;
    this.description = description;
    this.hostRules = hostRules;
    this.pathMatchers = pathMatchers;
    this.tests = tests;
    this.defaultService = defaultService;
    this.fingerprint = fingerprint;
  }

  @Nullable
  @Override
  public String name() {
    return name;
  }

  @Nullable
  @Override
  public String description() {
    return description;
  }

  @Nullable
  @Override
  public List hostRules() {
    return hostRules;
  }

  @Nullable
  @Override
  public List pathMatchers() {
    return pathMatchers;
  }

  @Nullable
  @Override
  public List tests() {
    return tests;
  }

  @Nullable
  @Override
  public URI defaultService() {
    return defaultService;
  }

  @Nullable
  @Override
  public String fingerprint() {
    return fingerprint;
  }

  @Override
  public String toString() {
    return "UrlMapOptions{"
        + "name=" + name + ", "
        + "description=" + description + ", "
        + "hostRules=" + hostRules + ", "
        + "pathMatchers=" + pathMatchers + ", "
        + "tests=" + tests + ", "
        + "defaultService=" + defaultService + ", "
        + "fingerprint=" + fingerprint
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof UrlMapOptions) {
      UrlMapOptions that = (UrlMapOptions) o;
      return ((this.name == null) ? (that.name() == null) : this.name.equals(that.name()))
           && ((this.description == null) ? (that.description() == null) : this.description.equals(that.description()))
           && ((this.hostRules == null) ? (that.hostRules() == null) : this.hostRules.equals(that.hostRules()))
           && ((this.pathMatchers == null) ? (that.pathMatchers() == null) : this.pathMatchers.equals(that.pathMatchers()))
           && ((this.tests == null) ? (that.tests() == null) : this.tests.equals(that.tests()))
           && ((this.defaultService == null) ? (that.defaultService() == null) : this.defaultService.equals(that.defaultService()))
           && ((this.fingerprint == null) ? (that.fingerprint() == null) : this.fingerprint.equals(that.fingerprint()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (name == null) ? 0 : this.name.hashCode();
    h *= 1000003;
    h ^= (description == null) ? 0 : this.description.hashCode();
    h *= 1000003;
    h ^= (hostRules == null) ? 0 : this.hostRules.hashCode();
    h *= 1000003;
    h ^= (pathMatchers == null) ? 0 : this.pathMatchers.hashCode();
    h *= 1000003;
    h ^= (tests == null) ? 0 : this.tests.hashCode();
    h *= 1000003;
    h ^= (defaultService == null) ? 0 : this.defaultService.hashCode();
    h *= 1000003;
    h ^= (fingerprint == null) ? 0 : this.fingerprint.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy