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

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

The newest version!

package org.jclouds.azurecompute.arm.domain;

import java.util.List;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_VaultProperties_Permissions extends VaultProperties.Permissions {

  private final List certificates;
  private final List keys;
  private final List secrets;
  private final List storage;

  AutoValue_VaultProperties_Permissions(
      List certificates,
      List keys,
      List secrets,
      List storage) {
    if (certificates == null) {
      throw new NullPointerException("Null certificates");
    }
    this.certificates = certificates;
    if (keys == null) {
      throw new NullPointerException("Null keys");
    }
    this.keys = keys;
    if (secrets == null) {
      throw new NullPointerException("Null secrets");
    }
    this.secrets = secrets;
    if (storage == null) {
      throw new NullPointerException("Null storage");
    }
    this.storage = storage;
  }

  @Override
  public List certificates() {
    return certificates;
  }

  @Override
  public List keys() {
    return keys;
  }

  @Override
  public List secrets() {
    return secrets;
  }

  @Override
  public List storage() {
    return storage;
  }

  @Override
  public String toString() {
    return "Permissions{"
        + "certificates=" + certificates + ", "
        + "keys=" + keys + ", "
        + "secrets=" + secrets + ", "
        + "storage=" + storage
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof VaultProperties.Permissions) {
      VaultProperties.Permissions that = (VaultProperties.Permissions) o;
      return (this.certificates.equals(that.certificates()))
           && (this.keys.equals(that.keys()))
           && (this.secrets.equals(that.secrets()))
           && (this.storage.equals(that.storage()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.certificates.hashCode();
    h *= 1000003;
    h ^= this.keys.hashCode();
    h *= 1000003;
    h ^= this.secrets.hashCode();
    h *= 1000003;
    h ^= this.storage.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy