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

org.jclouds.packet.domain.AutoValue_Pricing Maven / Gradle / Ivy

The newest version!

package org.jclouds.packet.domain;

import javax.annotation.Generated;

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

  private final double hour;

  AutoValue_Pricing(
      double hour) {
    this.hour = hour;
  }

  @Override
  public double hour() {
    return hour;
  }

  @Override
  public String toString() {
    return "Pricing{"
        + "hour=" + hour
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Pricing) {
      Pricing that = (Pricing) o;
      return (Double.doubleToLongBits(this.hour) == Double.doubleToLongBits(that.hour()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (Double.doubleToLongBits(this.hour) >>> 32) ^ Double.doubleToLongBits(this.hour);
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy