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

org.jclouds.googlecloudstorage.domain.AutoValue_Bucket_Versioning Maven / Gradle / Ivy

The newest version!

package org.jclouds.googlecloudstorage.domain;

import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_Bucket_Versioning extends Bucket.Versioning {

  private final Boolean enabled;

  AutoValue_Bucket_Versioning(
      Boolean enabled) {
    if (enabled == null) {
      throw new NullPointerException("Null enabled");
    }
    this.enabled = enabled;
  }

  @Override
  public Boolean enabled() {
    return enabled;
  }

  @Override
  public String toString() {
    return "Versioning{"
        + "enabled=" + enabled
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy