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

org.jclouds.azurecompute.arm.domain.AutoValue_Certificate_IssuerAttributes 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_IssuerAttributes extends Certificate.IssuerAttributes {

  private final Integer created;
  private final Boolean enabled;
  private final Integer updated;

  AutoValue_Certificate_IssuerAttributes(
      @Nullable Integer created,
      @Nullable Boolean enabled,
      @Nullable Integer updated) {
    this.created = created;
    this.enabled = enabled;
    this.updated = updated;
  }

  @Nullable
  @Override
  public Integer created() {
    return created;
  }

  @Nullable
  @Override
  public Boolean enabled() {
    return enabled;
  }

  @Nullable
  @Override
  public Integer updated() {
    return updated;
  }

  @Override
  public String toString() {
    return "IssuerAttributes{"
        + "created=" + created + ", "
        + "enabled=" + enabled + ", "
        + "updated=" + updated
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Certificate.IssuerAttributes) {
      Certificate.IssuerAttributes that = (Certificate.IssuerAttributes) o;
      return ((this.created == null) ? (that.created() == null) : this.created.equals(that.created()))
           && ((this.enabled == null) ? (that.enabled() == null) : this.enabled.equals(that.enabled()))
           && ((this.updated == null) ? (that.updated() == null) : this.updated.equals(that.updated()));
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy