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

org.jclouds.azurecompute.arm.domain.AutoValue_Certificate_CertificateIssuer 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_Certificate_CertificateIssuer extends Certificate.CertificateIssuer {

  private final String id;
  private final String provider;

  AutoValue_Certificate_CertificateIssuer(
      String id,
      String provider) {
    if (id == null) {
      throw new NullPointerException("Null id");
    }
    this.id = id;
    if (provider == null) {
      throw new NullPointerException("Null provider");
    }
    this.provider = provider;
  }

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

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

  @Override
  public String toString() {
    return "CertificateIssuer{"
        + "id=" + id + ", "
        + "provider=" + provider
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Certificate.CertificateIssuer) {
      Certificate.CertificateIssuer that = (Certificate.CertificateIssuer) o;
      return (this.id.equals(that.id()))
           && (this.provider.equals(that.provider()));
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy