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

org.jclouds.azurecompute.arm.domain.AutoValue_Certificate_IssuerParameters 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_IssuerParameters extends Certificate.IssuerParameters {

  private final String certType;
  private final String name;

  AutoValue_Certificate_IssuerParameters(
      @Nullable String certType,
      @Nullable String name) {
    this.certType = certType;
    this.name = name;
  }

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

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

  @Override
  public String toString() {
    return "IssuerParameters{"
        + "certType=" + certType + ", "
        + "name=" + name
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy