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

annotations.com.cognite.client.servicesV1.response.AutoValue_JsonStringAttributeResponseParser Maven / Gradle / Ivy

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

import java.util.List;
import javax.annotation.processing.Generated;

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

  private final List attributePath;

  private AutoValue_JsonStringAttributeResponseParser(
      List attributePath) {
    this.attributePath = attributePath;
  }

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy