/*
 * 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;

/**
 * Data to generate the list preview for organic list snippets.
 *
 * <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 MustangReposWwwSnippetsOrganicListSnippetResponse extends com.google.api.client.json.GenericJson {

  /**
   * The texts of header and listing items.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String header;

  /**
   * The ratio of header tokens covered by title.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Float headerTitleRedundancy;

  /**
   * If the header being used in organic snippet.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Boolean headerUsedInSnippet;

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

  /**
   * The number of items in the original list.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer originalTotalItems;

  /**
   * The score of the radish signal.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Float radishScore;

  /**
   * The texts of header and listing items.
   * @return value or {@code null} for none
   */
  public java.lang.String getHeader() {
    return header;
  }

  /**
   * The texts of header and listing items.
   * @param header header or {@code null} for none
   */
  public MustangReposWwwSnippetsOrganicListSnippetResponse setHeader(java.lang.String header) {
    this.header = header;
    return this;
  }

  /**
   * The ratio of header tokens covered by title.
   * @return value or {@code null} for none
   */
  public java.lang.Float getHeaderTitleRedundancy() {
    return headerTitleRedundancy;
  }

  /**
   * The ratio of header tokens covered by title.
   * @param headerTitleRedundancy headerTitleRedundancy or {@code null} for none
   */
  public MustangReposWwwSnippetsOrganicListSnippetResponse setHeaderTitleRedundancy(java.lang.Float headerTitleRedundancy) {
    this.headerTitleRedundancy = headerTitleRedundancy;
    return this;
  }

  /**
   * If the header being used in organic snippet.
   * @return value or {@code null} for none
   */
  public java.lang.Boolean getHeaderUsedInSnippet() {
    return headerUsedInSnippet;
  }

  /**
   * If the header being used in organic snippet.
   * @param headerUsedInSnippet headerUsedInSnippet or {@code null} for none
   */
  public MustangReposWwwSnippetsOrganicListSnippetResponse setHeaderUsedInSnippet(java.lang.Boolean headerUsedInSnippet) {
    this.headerUsedInSnippet = headerUsedInSnippet;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<java.lang.String> getItems() {
    return items;
  }

  /**
   * @param items items or {@code null} for none
   */
  public MustangReposWwwSnippetsOrganicListSnippetResponse setItems(java.util.List<java.lang.String> items) {
    this.items = items;
    return this;
  }

  /**
   * The number of items in the original list.
   * @return value or {@code null} for none
   */
  public java.lang.Integer getOriginalTotalItems() {
    return originalTotalItems;
  }

  /**
   * The number of items in the original list.
   * @param originalTotalItems originalTotalItems or {@code null} for none
   */
  public MustangReposWwwSnippetsOrganicListSnippetResponse setOriginalTotalItems(java.lang.Integer originalTotalItems) {
    this.originalTotalItems = originalTotalItems;
    return this;
  }

  /**
   * The score of the radish signal.
   * @return value or {@code null} for none
   */
  public java.lang.Float getRadishScore() {
    return radishScore;
  }

  /**
   * The score of the radish signal.
   * @param radishScore radishScore or {@code null} for none
   */
  public MustangReposWwwSnippetsOrganicListSnippetResponse setRadishScore(java.lang.Float radishScore) {
    this.radishScore = radishScore;
    return this;
  }

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

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

}
