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

/**
 * ProviderDelta. The incremental change, e.g. installation or deletion for Spotify or iHeartRadio.
 * Currently it is for Android only. A few considerations for edge cases: - If the app being deleted
 * is not found from Footprints, it is ignored. - For Footprint upload through Geller, the gPRC
 * response is available for client to retry in the next upload if the upload fails. - For Assistant
 * Request, there is no upload status similar to the current AppCapabilities. Next ID: 4
 *
 * <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 AssistantApiCoreTypesProviderDelta extends com.google.api.client.json.GenericJson {

  /**
   * The android app information of the provider.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private AssistantApiCoreTypesAndroidAppInfoDelta androidAppInfoDelta;

  /**
   * A URL to fallback to if app can not be opened.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String fallbackUrl;

  /**
   * Public URL pointing to an icon image for the provider. e.g. https://lh3.googleusercontent.com
   * /UrY7BAZ-XfXGpfkeWg0zCCeo-7ras4DCoRalC_WXXWTK9q5b0Iw7B0YQMsVxZaNB7DM
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String iconImageUrl;

  /**
   * The android app information of the provider.
   * @return value or {@code null} for none
   */
  public AssistantApiCoreTypesAndroidAppInfoDelta getAndroidAppInfoDelta() {
    return androidAppInfoDelta;
  }

  /**
   * The android app information of the provider.
   * @param androidAppInfoDelta androidAppInfoDelta or {@code null} for none
   */
  public AssistantApiCoreTypesProviderDelta setAndroidAppInfoDelta(AssistantApiCoreTypesAndroidAppInfoDelta androidAppInfoDelta) {
    this.androidAppInfoDelta = androidAppInfoDelta;
    return this;
  }

  /**
   * A URL to fallback to if app can not be opened.
   * @return value or {@code null} for none
   */
  public java.lang.String getFallbackUrl() {
    return fallbackUrl;
  }

  /**
   * A URL to fallback to if app can not be opened.
   * @param fallbackUrl fallbackUrl or {@code null} for none
   */
  public AssistantApiCoreTypesProviderDelta setFallbackUrl(java.lang.String fallbackUrl) {
    this.fallbackUrl = fallbackUrl;
    return this;
  }

  /**
   * Public URL pointing to an icon image for the provider. e.g. https://lh3.googleusercontent.com
   * /UrY7BAZ-XfXGpfkeWg0zCCeo-7ras4DCoRalC_WXXWTK9q5b0Iw7B0YQMsVxZaNB7DM
   * @return value or {@code null} for none
   */
  public java.lang.String getIconImageUrl() {
    return iconImageUrl;
  }

  /**
   * Public URL pointing to an icon image for the provider. e.g. https://lh3.googleusercontent.com
   * /UrY7BAZ-XfXGpfkeWg0zCCeo-7ras4DCoRalC_WXXWTK9q5b0Iw7B0YQMsVxZaNB7DM
   * @param iconImageUrl iconImageUrl or {@code null} for none
   */
  public AssistantApiCoreTypesProviderDelta setIconImageUrl(java.lang.String iconImageUrl) {
    this.iconImageUrl = iconImageUrl;
    return this;
  }

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

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

}
