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

org.jclouds.b2.domain.AutoValue_BucketList Maven / Gradle / Ivy

The newest version!

package org.jclouds.b2.domain;

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

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_BucketList extends BucketList {

  private final List buckets;

  AutoValue_BucketList(
      List buckets) {
    if (buckets == null) {
      throw new NullPointerException("Null buckets");
    }
    this.buckets = buckets;
  }

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

  @Override
  public String toString() {
    return "BucketList{"
        + "buckets=" + buckets
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof BucketList) {
      BucketList that = (BucketList) o;
      return (this.buckets.equals(that.buckets()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.buckets.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy