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

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

The newest version!

package org.jclouds.azurecompute.arm.domain;

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

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_Vault_DeletedVaultProperties extends Vault.DeletedVaultProperties {

  private final Date deletionDate;
  private final String location;
  private final Date scheduledPurgeDate;
  private final Map tags;
  private final String vaultId;

  AutoValue_Vault_DeletedVaultProperties(
      @Nullable Date deletionDate,
      @Nullable String location,
      @Nullable Date scheduledPurgeDate,
      @Nullable Map tags,
      @Nullable String vaultId) {
    this.deletionDate = deletionDate;
    this.location = location;
    this.scheduledPurgeDate = scheduledPurgeDate;
    this.tags = tags;
    this.vaultId = vaultId;
  }

  @Nullable
  @Override
  public Date deletionDate() {
    return deletionDate;
  }

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

  @Nullable
  @Override
  public Date scheduledPurgeDate() {
    return scheduledPurgeDate;
  }

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

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

  @Override
  public String toString() {
    return "DeletedVaultProperties{"
        + "deletionDate=" + deletionDate + ", "
        + "location=" + location + ", "
        + "scheduledPurgeDate=" + scheduledPurgeDate + ", "
        + "tags=" + tags + ", "
        + "vaultId=" + vaultId
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Vault.DeletedVaultProperties) {
      Vault.DeletedVaultProperties that = (Vault.DeletedVaultProperties) o;
      return ((this.deletionDate == null) ? (that.deletionDate() == null) : this.deletionDate.equals(that.deletionDate()))
           && ((this.location == null) ? (that.location() == null) : this.location.equals(that.location()))
           && ((this.scheduledPurgeDate == null) ? (that.scheduledPurgeDate() == null) : this.scheduledPurgeDate.equals(that.scheduledPurgeDate()))
           && ((this.tags == null) ? (that.tags() == null) : this.tags.equals(that.tags()))
           && ((this.vaultId == null) ? (that.vaultId() == null) : this.vaultId.equals(that.vaultId()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (deletionDate == null) ? 0 : this.deletionDate.hashCode();
    h *= 1000003;
    h ^= (location == null) ? 0 : this.location.hashCode();
    h *= 1000003;
    h ^= (scheduledPurgeDate == null) ? 0 : this.scheduledPurgeDate.hashCode();
    h *= 1000003;
    h ^= (tags == null) ? 0 : this.tags.hashCode();
    h *= 1000003;
    h ^= (vaultId == null) ? 0 : this.vaultId.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy