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

/**
 * Model definition for AccountStatusDataQualityIssue.
 *
 * <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 Content API for Shopping. 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 AccountStatusDataQualityIssue extends com.google.api.client.json.GenericJson {

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String country;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String destination;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String detail;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String displayedValue;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<AccountStatusExampleItem> exampleItems;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String id;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String lastChecked;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String location;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Long numItems;

  /**
   * Acceptable values are: - "`critical`" - "`error`" - "`suggestion`"
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String severity;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String submittedValue;

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

  /**
   * @param country country or {@code null} for none
   */
  public AccountStatusDataQualityIssue setCountry(java.lang.String country) {
    this.country = country;
    return this;
  }

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

  /**
   * @param destination destination or {@code null} for none
   */
  public AccountStatusDataQualityIssue setDestination(java.lang.String destination) {
    this.destination = destination;
    return this;
  }

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

  /**
   * @param detail detail or {@code null} for none
   */
  public AccountStatusDataQualityIssue setDetail(java.lang.String detail) {
    this.detail = detail;
    return this;
  }

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

  /**
   * @param displayedValue displayedValue or {@code null} for none
   */
  public AccountStatusDataQualityIssue setDisplayedValue(java.lang.String displayedValue) {
    this.displayedValue = displayedValue;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<AccountStatusExampleItem> getExampleItems() {
    return exampleItems;
  }

  /**
   * @param exampleItems exampleItems or {@code null} for none
   */
  public AccountStatusDataQualityIssue setExampleItems(java.util.List<AccountStatusExampleItem> exampleItems) {
    this.exampleItems = exampleItems;
    return this;
  }

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

  /**
   * @param id id or {@code null} for none
   */
  public AccountStatusDataQualityIssue setId(java.lang.String id) {
    this.id = id;
    return this;
  }

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

  /**
   * @param lastChecked lastChecked or {@code null} for none
   */
  public AccountStatusDataQualityIssue setLastChecked(java.lang.String lastChecked) {
    this.lastChecked = lastChecked;
    return this;
  }

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

  /**
   * @param location location or {@code null} for none
   */
  public AccountStatusDataQualityIssue setLocation(java.lang.String location) {
    this.location = location;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.Long getNumItems() {
    return numItems;
  }

  /**
   * @param numItems numItems or {@code null} for none
   */
  public AccountStatusDataQualityIssue setNumItems(java.lang.Long numItems) {
    this.numItems = numItems;
    return this;
  }

  /**
   * Acceptable values are: - "`critical`" - "`error`" - "`suggestion`"
   * @return value or {@code null} for none
   */
  public java.lang.String getSeverity() {
    return severity;
  }

  /**
   * Acceptable values are: - "`critical`" - "`error`" - "`suggestion`"
   * @param severity severity or {@code null} for none
   */
  public AccountStatusDataQualityIssue setSeverity(java.lang.String severity) {
    this.severity = severity;
    return this;
  }

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

  /**
   * @param submittedValue submittedValue or {@code null} for none
   */
  public AccountStatusDataQualityIssue setSubmittedValue(java.lang.String submittedValue) {
    this.submittedValue = submittedValue;
    return this;
  }

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

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

}
