/*
 * 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.contentwarehouse.v1.model;

/**
 * For SCHOLARLY_CITATION labels:
 *
 * <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 Document AI Warehouse 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 GoodocSemanticLabelContentLinkCitationTarget extends com.google.api.client.json.GenericJson {

  /**
   * separated by semicolons
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key("Authors")
  private java.lang.String authors;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key("BibKey")
  private java.lang.String bibKey;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key("Confidence")
  private java.lang.Double confidence;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key("Title")
  private java.lang.String title;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key("Year")
  private java.lang.Integer year;

  /**
   * separated by semicolons
   * @return value or {@code null} for none
   */
  public java.lang.String getAuthors() {
    return authors;
  }

  /**
   * separated by semicolons
   * @param authors authors or {@code null} for none
   */
  public GoodocSemanticLabelContentLinkCitationTarget setAuthors(java.lang.String authors) {
    this.authors = authors;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.String getBibKey() {
    return bibKey;
  }

  /**
   * @param bibKey bibKey or {@code null} for none
   */
  public GoodocSemanticLabelContentLinkCitationTarget setBibKey(java.lang.String bibKey) {
    this.bibKey = bibKey;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.Double getConfidence() {
    return confidence;
  }

  /**
   * @param confidence confidence or {@code null} for none
   */
  public GoodocSemanticLabelContentLinkCitationTarget setConfidence(java.lang.Double confidence) {
    this.confidence = confidence;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.String getTitle() {
    return title;
  }

  /**
   * @param title title or {@code null} for none
   */
  public GoodocSemanticLabelContentLinkCitationTarget setTitle(java.lang.String title) {
    this.title = title;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.Integer getYear() {
    return year;
  }

  /**
   * @param year year or {@code null} for none
   */
  public GoodocSemanticLabelContentLinkCitationTarget setYear(java.lang.Integer year) {
    this.year = year;
    return this;
  }

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

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

}
