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

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

The newest version!

package org.jclouds.azurecompute.arm.domain;

import java.util.Map;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;

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

  private final Certificate.CertificateAttributes attributes;
  private final String certificate;
  private final String contentType;
  private final String id;
  private final String keyId;
  private final Certificate.CertificatePolicy policy;
  private final String secretId;
  private final Map tags;
  private final String thumbprint;

  AutoValue_Certificate_CertificateBundle(
      @Nullable Certificate.CertificateAttributes attributes,
      @Nullable String certificate,
      @Nullable String contentType,
      @Nullable String id,
      @Nullable String keyId,
      @Nullable Certificate.CertificatePolicy policy,
      @Nullable String secretId,
      @Nullable Map tags,
      @Nullable String thumbprint) {
    this.attributes = attributes;
    this.certificate = certificate;
    this.contentType = contentType;
    this.id = id;
    this.keyId = keyId;
    this.policy = policy;
    this.secretId = secretId;
    this.tags = tags;
    this.thumbprint = thumbprint;
  }

  @Nullable
  @Override
  public Certificate.CertificateAttributes attributes() {
    return attributes;
  }

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

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

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

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

  @Nullable
  @Override
  public Certificate.CertificatePolicy policy() {
    return policy;
  }

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

  @Nullable
  @Override
  public Map tags() {
    return tags;
  }

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

  @Override
  public String toString() {
    return "CertificateBundle{"
        + "attributes=" + attributes + ", "
        + "certificate=" + certificate + ", "
        + "contentType=" + contentType + ", "
        + "id=" + id + ", "
        + "keyId=" + keyId + ", "
        + "policy=" + policy + ", "
        + "secretId=" + secretId + ", "
        + "tags=" + tags + ", "
        + "thumbprint=" + thumbprint
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Certificate.CertificateBundle) {
      Certificate.CertificateBundle that = (Certificate.CertificateBundle) o;
      return ((this.attributes == null) ? (that.attributes() == null) : this.attributes.equals(that.attributes()))
           && ((this.certificate == null) ? (that.certificate() == null) : this.certificate.equals(that.certificate()))
           && ((this.contentType == null) ? (that.contentType() == null) : this.contentType.equals(that.contentType()))
           && ((this.id == null) ? (that.id() == null) : this.id.equals(that.id()))
           && ((this.keyId == null) ? (that.keyId() == null) : this.keyId.equals(that.keyId()))
           && ((this.policy == null) ? (that.policy() == null) : this.policy.equals(that.policy()))
           && ((this.secretId == null) ? (that.secretId() == null) : this.secretId.equals(that.secretId()))
           && ((this.tags == null) ? (that.tags() == null) : this.tags.equals(that.tags()))
           && ((this.thumbprint == null) ? (that.thumbprint() == null) : this.thumbprint.equals(that.thumbprint()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (attributes == null) ? 0 : this.attributes.hashCode();
    h *= 1000003;
    h ^= (certificate == null) ? 0 : this.certificate.hashCode();
    h *= 1000003;
    h ^= (contentType == null) ? 0 : this.contentType.hashCode();
    h *= 1000003;
    h ^= (id == null) ? 0 : this.id.hashCode();
    h *= 1000003;
    h ^= (keyId == null) ? 0 : this.keyId.hashCode();
    h *= 1000003;
    h ^= (policy == null) ? 0 : this.policy.hashCode();
    h *= 1000003;
    h ^= (secretId == null) ? 0 : this.secretId.hashCode();
    h *= 1000003;
    h ^= (tags == null) ? 0 : this.tags.hashCode();
    h *= 1000003;
    h ^= (thumbprint == null) ? 0 : this.thumbprint.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy