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

com.google.cloud.storage.contrib.nio.AutoValue_OptionContentDisposition Maven / Gradle / Ivy

There is a newer version: 0.127.26
Show newest version
package com.google.cloud.storage.contrib.nio;

import javax.annotation.Generated;

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

  private final String contentDisposition;

  AutoValue_OptionContentDisposition(
      String contentDisposition) {
    if (contentDisposition == null) {
      throw new NullPointerException("Null contentDisposition");
    }
    this.contentDisposition = contentDisposition;
  }

  @Override
  String contentDisposition() {
    return contentDisposition;
  }

  @Override
  public String toString() {
    return "OptionContentDisposition{"
        + "contentDisposition=" + contentDisposition
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy