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

org.jclouds.azurecompute.arm.domain.AutoValue_Key_DeletedKeyBundle 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_Key_DeletedKeyBundle extends Key.DeletedKeyBundle {

  private final Key.KeyAttributes attributes;
  private final String deletedDate;
  private final Key.JsonWebKey key;
  private final Boolean managed;
  private final String recoveryId;
  private final String scheduledPurgeDate;
  private final Map tags;

  AutoValue_Key_DeletedKeyBundle(
      @Nullable Key.KeyAttributes attributes,
      @Nullable String deletedDate,
      @Nullable Key.JsonWebKey key,
      @Nullable Boolean managed,
      @Nullable String recoveryId,
      @Nullable String scheduledPurgeDate,
      @Nullable Map tags) {
    this.attributes = attributes;
    this.deletedDate = deletedDate;
    this.key = key;
    this.managed = managed;
    this.recoveryId = recoveryId;
    this.scheduledPurgeDate = scheduledPurgeDate;
    this.tags = tags;
  }

  @Nullable
  @Override
  public Key.KeyAttributes attributes() {
    return attributes;
  }

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

  @Nullable
  @Override
  public Key.JsonWebKey key() {
    return key;
  }

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

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

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

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

  @Override
  public String toString() {
    return "DeletedKeyBundle{"
        + "attributes=" + attributes + ", "
        + "deletedDate=" + deletedDate + ", "
        + "key=" + key + ", "
        + "managed=" + managed + ", "
        + "recoveryId=" + recoveryId + ", "
        + "scheduledPurgeDate=" + scheduledPurgeDate + ", "
        + "tags=" + tags
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Key.DeletedKeyBundle) {
      Key.DeletedKeyBundle that = (Key.DeletedKeyBundle) o;
      return ((this.attributes == null) ? (that.attributes() == null) : this.attributes.equals(that.attributes()))
           && ((this.deletedDate == null) ? (that.deletedDate() == null) : this.deletedDate.equals(that.deletedDate()))
           && ((this.key == null) ? (that.key() == null) : this.key.equals(that.key()))
           && ((this.managed == null) ? (that.managed() == null) : this.managed.equals(that.managed()))
           && ((this.recoveryId == null) ? (that.recoveryId() == null) : this.recoveryId.equals(that.recoveryId()))
           && ((this.scheduledPurgeDate == null) ? (that.scheduledPurgeDate() == null) : this.scheduledPurgeDate.equals(that.scheduledPurgeDate()))
           && ((this.tags == null) ? (that.tags() == null) : this.tags.equals(that.tags()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (attributes == null) ? 0 : this.attributes.hashCode();
    h *= 1000003;
    h ^= (deletedDate == null) ? 0 : this.deletedDate.hashCode();
    h *= 1000003;
    h ^= (key == null) ? 0 : this.key.hashCode();
    h *= 1000003;
    h ^= (managed == null) ? 0 : this.managed.hashCode();
    h *= 1000003;
    h ^= (recoveryId == null) ? 0 : this.recoveryId.hashCode();
    h *= 1000003;
    h ^= (scheduledPurgeDate == null) ? 0 : this.scheduledPurgeDate.hashCode();
    h *= 1000003;
    h ^= (tags == null) ? 0 : this.tags.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy