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

com.cognite.client.servicesV1.response.AutoValue_JsonLongAttributeResponseParser Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
package com.cognite.client.servicesV1.response;

import javax.annotation.processing.Generated;

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

  private final String attributePath;

  private AutoValue_JsonLongAttributeResponseParser(
      String attributePath) {
    this.attributePath = attributePath;
  }

  @Override
  public String getAttributePath() {
    return attributePath;
  }

  @Override
  public String toString() {
    return "JsonLongAttributeResponseParser{"
        + "attributePath=" + attributePath
        + "}";
  }

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

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

  @Override
  public JsonLongAttributeResponseParser.Builder toBuilder() {
    return new Builder(this);
  }

  static final class Builder extends JsonLongAttributeResponseParser.Builder {
    private String attributePath;
    Builder() {
    }
    private Builder(JsonLongAttributeResponseParser source) {
      this.attributePath = source.getAttributePath();
    }
    @Override
    public JsonLongAttributeResponseParser.Builder setAttributePath(String attributePath) {
      if (attributePath == null) {
        throw new NullPointerException("Null attributePath");
      }
      this.attributePath = attributePath;
      return this;
    }
    @Override
    public JsonLongAttributeResponseParser build() {
      if (this.attributePath == null) {
        String missing = " attributePath";
        throw new IllegalStateException("Missing required properties:" + missing);
      }
      return new AutoValue_JsonLongAttributeResponseParser(
          this.attributePath);
    }
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy