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

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

The newest version!

package org.jclouds.azurecompute.arm.domain;

import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_Certificate_IssuerCredentials extends Certificate.IssuerCredentials {

  private final String accountId;
  private final String password;

  AutoValue_Certificate_IssuerCredentials(
      @Nullable String accountId,
      @Nullable String password) {
    this.accountId = accountId;
    this.password = password;
  }

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

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

  @Override
  public String toString() {
    return "IssuerCredentials{"
        + "accountId=" + accountId + ", "
        + "password=" + password
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Certificate.IssuerCredentials) {
      Certificate.IssuerCredentials that = (Certificate.IssuerCredentials) o;
      return ((this.accountId == null) ? (that.accountId() == null) : this.accountId.equals(that.accountId()))
           && ((this.password == null) ? (that.password() == null) : this.password.equals(that.password()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (accountId == null) ? 0 : this.accountId.hashCode();
    h *= 1000003;
    h ^= (password == null) ? 0 : this.password.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy