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

org.jclouds.azurecompute.arm.domain.AutoValue_StorageServiceKeys Maven / Gradle / Ivy

The newest version!

package org.jclouds.azurecompute.arm.domain;

import javax.annotation.Generated;

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

  private final String key1;
  private final String key2;

  AutoValue_StorageServiceKeys(
      String key1,
      String key2) {
    if (key1 == null) {
      throw new NullPointerException("Null key1");
    }
    this.key1 = key1;
    if (key2 == null) {
      throw new NullPointerException("Null key2");
    }
    this.key2 = key2;
  }

  @Override
  public String key1() {
    return key1;
  }

  @Override
  public String key2() {
    return key2;
  }

  @Override
  public String toString() {
    return "StorageServiceKeys{"
        + "key1=" + key1 + ", "
        + "key2=" + key2
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof StorageServiceKeys) {
      StorageServiceKeys that = (StorageServiceKeys) o;
      return (this.key1.equals(that.key1()))
           && (this.key2.equals(that.key2()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.key1.hashCode();
    h *= 1000003;
    h ^= this.key2.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy