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

org.jclouds.azurecompute.arm.domain.AutoValue_Vault_DeletedVault 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_Vault_DeletedVault extends Vault.DeletedVault {

  private final String id;
  private final String name;
  private final String type;
  private final Vault.DeletedVaultProperties properties;

  AutoValue_Vault_DeletedVault(
      @Nullable String id,
      @Nullable String name,
      @Nullable String type,
      @Nullable Vault.DeletedVaultProperties properties) {
    this.id = id;
    this.name = name;
    this.type = type;
    this.properties = properties;
  }

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

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

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

  @Nullable
  @Override
  public Vault.DeletedVaultProperties properties() {
    return properties;
  }

  @Override
  public String toString() {
    return "DeletedVault{"
        + "id=" + id + ", "
        + "name=" + name + ", "
        + "type=" + type + ", "
        + "properties=" + properties
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Vault.DeletedVault) {
      Vault.DeletedVault that = (Vault.DeletedVault) o;
      return ((this.id == null) ? (that.id() == null) : this.id.equals(that.id()))
           && ((this.name == null) ? (that.name() == null) : this.name.equals(that.name()))
           && ((this.type == null) ? (that.type() == null) : this.type.equals(that.type()))
           && ((this.properties == null) ? (that.properties() == null) : this.properties.equals(that.properties()));
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy