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

/**
 * Metadata used as inputs to the localization that is performed on Dynamite-originated messages
 * that are incompatible with Hangouts clients. See go/localization-of-system-messages for more
 * details.
 *
 * <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 DynamitePlaceholderMetadata extends com.google.api.client.json.GenericJson {

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

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

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

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

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

  /**
   * The space URL embedded in the localized string.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String spaceUrl;

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

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

  /**
   * @return value or {@code null} for none
   */
  public AttachmentMetadata getAttachmentMetadata() {
    return attachmentMetadata;
  }

  /**
   * @param attachmentMetadata attachmentMetadata or {@code null} for none
   */
  public DynamitePlaceholderMetadata setAttachmentMetadata(AttachmentMetadata attachmentMetadata) {
    this.attachmentMetadata = attachmentMetadata;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public BotMessageMetadata getBotMessageMetadata() {
    return botMessageMetadata;
  }

  /**
   * @param botMessageMetadata botMessageMetadata or {@code null} for none
   */
  public DynamitePlaceholderMetadata setBotMessageMetadata(BotMessageMetadata botMessageMetadata) {
    this.botMessageMetadata = botMessageMetadata;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public CalendarEventMetadata getCalendarEventMetadata() {
    return calendarEventMetadata;
  }

  /**
   * @param calendarEventMetadata calendarEventMetadata or {@code null} for none
   */
  public DynamitePlaceholderMetadata setCalendarEventMetadata(CalendarEventMetadata calendarEventMetadata) {
    this.calendarEventMetadata = calendarEventMetadata;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public DeleteMetadata getDeleteMetadata() {
    return deleteMetadata;
  }

  /**
   * @param deleteMetadata deleteMetadata or {@code null} for none
   */
  public DynamitePlaceholderMetadata setDeleteMetadata(DeleteMetadata deleteMetadata) {
    this.deleteMetadata = deleteMetadata;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public EditMetadata getEditMetadata() {
    return editMetadata;
  }

  /**
   * @param editMetadata editMetadata or {@code null} for none
   */
  public DynamitePlaceholderMetadata setEditMetadata(EditMetadata editMetadata) {
    this.editMetadata = editMetadata;
    return this;
  }

  /**
   * The space URL embedded in the localized string.
   * @return value or {@code null} for none
   */
  public java.lang.String getSpaceUrl() {
    return spaceUrl;
  }

  /**
   * The space URL embedded in the localized string.
   * @param spaceUrl spaceUrl or {@code null} for none
   */
  public DynamitePlaceholderMetadata setSpaceUrl(java.lang.String spaceUrl) {
    this.spaceUrl = spaceUrl;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public TasksMetadata getTasksMetadata() {
    return tasksMetadata;
  }

  /**
   * @param tasksMetadata tasksMetadata or {@code null} for none
   */
  public DynamitePlaceholderMetadata setTasksMetadata(TasksMetadata tasksMetadata) {
    this.tasksMetadata = tasksMetadata;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public VideoCallMetadata getVideoCallMetadata() {
    return videoCallMetadata;
  }

  /**
   * @param videoCallMetadata videoCallMetadata or {@code null} for none
   */
  public DynamitePlaceholderMetadata setVideoCallMetadata(VideoCallMetadata videoCallMetadata) {
    this.videoCallMetadata = videoCallMetadata;
    return this;
  }

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

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

}
