Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package org.openweathermap.api.model;
- import com.google.gson.annotations.SerializedName;
- public class Clouds {
- @SerializedName("all")
- private double all;
- public Clouds() {
- }
- public double getAll() {
- return this.all;
- }
- public void setAll(double all) {
- this.all = all;
- }
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- } else if (!(o instanceof Clouds)) {
- return false;
- } else {
- Clouds other = (Clouds)o;
- if (!other.canEqual(this)) {
- return false;
- } else {
- return Double.compare(this.getAll(), other.getAll()) == 0;
- }
- }
- }
- protected boolean canEqual(Object other) {
- return other instanceof Clouds;
- }
- public int hashCode() {
- int PRIME = true;
- int result = 1;
- long $all = Double.doubleToLongBits(this.getAll());
- int result = result * 59 + (int)($all >>> 32 ^ $all);
- return result;
- }
- public String toString() {
- return "Clouds(all=" + this.getAll() + ")";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement