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

/**
 * An answer card for a single person.
 *
 * <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 Cloud Search 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 EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard extends com.google.api.client.json.GenericJson {

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

  /**
   * List of answers.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseTopazSidekickAnswerAnswerList answerText;

  /**
   * Disambiguation information.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo disambiguationInfo;

  /**
   * The header to display for the card.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader header;

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

  /**
   * Localized user friendly message to display to the user in the case of missing data or an error.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String statusMessage;

  /**
   * The profile of the person that was the subject of the query.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseTopazSidekickCommonPerson subject;

  /**
   * List of answers.
   * @return value or {@code null} for none
   */
  public java.util.List<SafeHtmlProto> getAnswer() {
    return answer;
  }

  /**
   * List of answers.
   * @param answer answer or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard setAnswer(java.util.List<SafeHtmlProto> answer) {
    this.answer = answer;
    return this;
  }

  /**
   * List of answers.
   * @return value or {@code null} for none
   */
  public EnterpriseTopazSidekickAnswerAnswerList getAnswerText() {
    return answerText;
  }

  /**
   * List of answers.
   * @param answerText answerText or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard setAnswerText(EnterpriseTopazSidekickAnswerAnswerList answerText) {
    this.answerText = answerText;
    return this;
  }

  /**
   * Disambiguation information.
   * @return value or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo getDisambiguationInfo() {
    return disambiguationInfo;
  }

  /**
   * Disambiguation information.
   * @param disambiguationInfo disambiguationInfo or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard setDisambiguationInfo(EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo disambiguationInfo) {
    this.disambiguationInfo = disambiguationInfo;
    return this;
  }

  /**
   * The header to display for the card.
   * @return value or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader getHeader() {
    return header;
  }

  /**
   * The header to display for the card.
   * @param header header or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard setHeader(EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader header) {
    this.header = header;
    return this;
  }

  /**
   * The response status.
   * @return value or {@code null} for none
   */
  public java.lang.String getResponseStatus() {
    return responseStatus;
  }

  /**
   * The response status.
   * @param responseStatus responseStatus or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard setResponseStatus(java.lang.String responseStatus) {
    this.responseStatus = responseStatus;
    return this;
  }

  /**
   * Localized user friendly message to display to the user in the case of missing data or an error.
   * @return value or {@code null} for none
   */
  public java.lang.String getStatusMessage() {
    return statusMessage;
  }

  /**
   * Localized user friendly message to display to the user in the case of missing data or an error.
   * @param statusMessage statusMessage or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard setStatusMessage(java.lang.String statusMessage) {
    this.statusMessage = statusMessage;
    return this;
  }

  /**
   * The profile of the person that was the subject of the query.
   * @return value or {@code null} for none
   */
  public EnterpriseTopazSidekickCommonPerson getSubject() {
    return subject;
  }

  /**
   * The profile of the person that was the subject of the query.
   * @param subject subject or {@code null} for none
   */
  public EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard setSubject(EnterpriseTopazSidekickCommonPerson subject) {
    this.subject = subject;
    return this;
  }

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

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

}
