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

org.jclouds.azurecompute.arm.domain.AutoValue_Secret_SecretBundle 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_Secret_SecretBundle extends Secret.SecretBundle {

  private final Secret.SecretAttributes attributes;
  private final String contentType;
  private final String id;
  private final String kid;
  private final Boolean managed;
  private final Map tags;
  private final String value;

  AutoValue_Secret_SecretBundle(
      @Nullable Secret.SecretAttributes attributes,
      @Nullable String contentType,
      @Nullable String id,
      @Nullable String kid,
      @Nullable Boolean managed,
      @Nullable Map tags,
      @Nullable String value) {
    this.attributes = attributes;
    this.contentType = contentType;
    this.id = id;
    this.kid = kid;
    this.managed = managed;
    this.tags = tags;
    this.value = value;
  }

  @Nullable
  @Override
  public Secret.SecretAttributes attributes() {
    return attributes;
  }

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

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

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

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

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

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

  @Override
  public String toString() {
    return "SecretBundle{"
        + "attributes=" + attributes + ", "
        + "contentType=" + contentType + ", "
        + "id=" + id + ", "
        + "kid=" + kid + ", "
        + "managed=" + managed + ", "
        + "tags=" + tags + ", "
        + "value=" + value
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Secret.SecretBundle) {
      Secret.SecretBundle that = (Secret.SecretBundle) o;
      return ((this.attributes == null) ? (that.attributes() == null) : this.attributes.equals(that.attributes()))
           && ((this.contentType == null) ? (that.contentType() == null) : this.contentType.equals(that.contentType()))
           && ((this.id == null) ? (that.id() == null) : this.id.equals(that.id()))
           && ((this.kid == null) ? (that.kid() == null) : this.kid.equals(that.kid()))
           && ((this.managed == null) ? (that.managed() == null) : this.managed.equals(that.managed()))
           && ((this.tags == null) ? (that.tags() == null) : this.tags.equals(that.tags()))
           && ((this.value == null) ? (that.value() == null) : this.value.equals(that.value()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (attributes == null) ? 0 : this.attributes.hashCode();
    h *= 1000003;
    h ^= (contentType == null) ? 0 : this.contentType.hashCode();
    h *= 1000003;
    h ^= (id == null) ? 0 : this.id.hashCode();
    h *= 1000003;
    h ^= (kid == null) ? 0 : this.kid.hashCode();
    h *= 1000003;
    h ^= (managed == null) ? 0 : this.managed.hashCode();
    h *= 1000003;
    h ^= (tags == null) ? 0 : this.tags.hashCode();
    h *= 1000003;
    h ^= (value == null) ? 0 : this.value.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy