public boolean equals()

in ffwd-client/src/main/java/com/spotify/ffwd/v1/Metric.java [174:219]


  public boolean equals(final Object o) {
    if (o == this) {
      return true;
    }
    if (!(o instanceof Metric)) {
      return false;
    }
    final Metric other = (Metric) o;
    if (!other.canEqual((Object) this)) {
      return false;
    }
    if (this.has != other.has) {
      return false;
    }

    if (this.time != other.time) {
      return false;
    }
    final Object this$key = this.key;
    final Object other$key = other.key;
    if (this$key == null ? other$key != null : !this$key.equals(other$key)) {
      return false;
    }
    final Object this$value = this.value;
    final Object other$value = other.value;
    if (this$value == null ? other$value != null : !this$value.equals(other$value)) {
      return false;
    }
    final Object this$host = this.host;
    final Object other$host = other.host;
    if (this$host == null ? other$host != null : !this$host.equals(other$host)) {
      return false;
    }
    final Object this$tags = this.tags;
    final Object other$tags = other.tags;
    if (this$tags == null ? other$tags != null : !this$tags.equals(other$tags)) {
      return false;
    }
    final Object this$attributes = this.attributes;
    final Object other$attributes = other.attributes;
    if (this$attributes == null ? other$attributes != null
                                : !this$attributes.equals(other$attributes)) {
      return false;
    }
    return true;
  }