/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.streetviewpublish.v1.model;

/**
 * A Generic 3d measurement sample.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Street View Publish API. For a detailed explanation
 * see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class Measurement3d extends com.google.api.client.json.GenericJson {

  /**
   * The timestamp of the IMU measurement.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private String captureTime;

  /**
   * The sensor measurement in the x axis.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Float x;

  /**
   * The sensor measurement in the y axis.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Float y;

  /**
   * The sensor measurement in the z axis.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Float z;

  /**
   * The timestamp of the IMU measurement.
   * @return value or {@code null} for none
   */
  public String getCaptureTime() {
    return captureTime;
  }

  /**
   * The timestamp of the IMU measurement.
   * @param captureTime captureTime or {@code null} for none
   */
  public Measurement3d setCaptureTime(String captureTime) {
    this.captureTime = captureTime;
    return this;
  }

  /**
   * The sensor measurement in the x axis.
   * @return value or {@code null} for none
   */
  public java.lang.Float getX() {
    return x;
  }

  /**
   * The sensor measurement in the x axis.
   * @param x x or {@code null} for none
   */
  public Measurement3d setX(java.lang.Float x) {
    this.x = x;
    return this;
  }

  /**
   * The sensor measurement in the y axis.
   * @return value or {@code null} for none
   */
  public java.lang.Float getY() {
    return y;
  }

  /**
   * The sensor measurement in the y axis.
   * @param y y or {@code null} for none
   */
  public Measurement3d setY(java.lang.Float y) {
    this.y = y;
    return this;
  }

  /**
   * The sensor measurement in the z axis.
   * @return value or {@code null} for none
   */
  public java.lang.Float getZ() {
    return z;
  }

  /**
   * The sensor measurement in the z axis.
   * @param z z or {@code null} for none
   */
  public Measurement3d setZ(java.lang.Float z) {
    this.z = z;
    return this;
  }

  @Override
  public Measurement3d set(String fieldName, Object value) {
    return (Measurement3d) super.set(fieldName, value);
  }

  @Override
  public Measurement3d clone() {
    return (Measurement3d) super.clone();
  }

}
