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

/**
 * Following are the MDA compatible loggings for media focus, default settings and nearby devices.
 *
 * <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 AssistantLogsMediaFocusesLog extends com.google.api.client.json.GenericJson {

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

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private AssistantLogsMediaFocusInfoLog localMediaFocus;

  /**
   * Deprecated, use nearby_media_focuses instead.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<AssistantLogsMediaFocusInfoLog> mediaFocuses;

  static {
    // hack to force ProGuard to consider AssistantLogsMediaFocusInfoLog used, since otherwise it would be stripped out
    // see https://github.com/google/google-api-java-client/issues/543
    com.google.api.client.util.Data.nullOf(AssistantLogsMediaFocusInfoLog.class);
  }

  /**
   * MediaFouces found on nearby devices.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<AssistantLogsMediaFocusInfoLog> nearbyMediaFocuses;

  static {
    // hack to force ProGuard to consider AssistantLogsMediaFocusInfoLog used, since otherwise it would be stripped out
    // see https://github.com/google/google-api-java-client/issues/543
    com.google.api.client.util.Data.nullOf(AssistantLogsMediaFocusInfoLog.class);
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.Boolean getDialogTriggered() {
    return dialogTriggered;
  }

  /**
   * @param dialogTriggered dialogTriggered or {@code null} for none
   */
  public AssistantLogsMediaFocusesLog setDialogTriggered(java.lang.Boolean dialogTriggered) {
    this.dialogTriggered = dialogTriggered;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public AssistantLogsMediaFocusInfoLog getLocalMediaFocus() {
    return localMediaFocus;
  }

  /**
   * @param localMediaFocus localMediaFocus or {@code null} for none
   */
  public AssistantLogsMediaFocusesLog setLocalMediaFocus(AssistantLogsMediaFocusInfoLog localMediaFocus) {
    this.localMediaFocus = localMediaFocus;
    return this;
  }

  /**
   * Deprecated, use nearby_media_focuses instead.
   * @return value or {@code null} for none
   */
  public java.util.List<AssistantLogsMediaFocusInfoLog> getMediaFocuses() {
    return mediaFocuses;
  }

  /**
   * Deprecated, use nearby_media_focuses instead.
   * @param mediaFocuses mediaFocuses or {@code null} for none
   */
  public AssistantLogsMediaFocusesLog setMediaFocuses(java.util.List<AssistantLogsMediaFocusInfoLog> mediaFocuses) {
    this.mediaFocuses = mediaFocuses;
    return this;
  }

  /**
   * MediaFouces found on nearby devices.
   * @return value or {@code null} for none
   */
  public java.util.List<AssistantLogsMediaFocusInfoLog> getNearbyMediaFocuses() {
    return nearbyMediaFocuses;
  }

  /**
   * MediaFouces found on nearby devices.
   * @param nearbyMediaFocuses nearbyMediaFocuses or {@code null} for none
   */
  public AssistantLogsMediaFocusesLog setNearbyMediaFocuses(java.util.List<AssistantLogsMediaFocusInfoLog> nearbyMediaFocuses) {
    this.nearbyMediaFocuses = nearbyMediaFocuses;
    return this;
  }

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

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

}
