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

/**
 * An add-on entry point.
 *
 * <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 Apps Script 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 GoogleAppsScriptTypeAddOnEntryPoint extends com.google.api.client.json.GenericJson {

  /**
   * The add-on's required list of supported container types.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String addOnType;

  /**
   * The add-on's optional description.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String description;

  /**
   * The add-on's optional help URL.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String helpUrl;

  /**
   * The add-on's required post install tip URL.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String postInstallTipUrl;

  /**
   * The add-on's optional report issue URL.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String reportIssueUrl;

  /**
   * The add-on's required title.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String title;

  /**
   * The add-on's required list of supported container types.
   * @return value or {@code null} for none
   */
  public java.lang.String getAddOnType() {
    return addOnType;
  }

  /**
   * The add-on's required list of supported container types.
   * @param addOnType addOnType or {@code null} for none
   */
  public GoogleAppsScriptTypeAddOnEntryPoint setAddOnType(java.lang.String addOnType) {
    this.addOnType = addOnType;
    return this;
  }

  /**
   * The add-on's optional description.
   * @return value or {@code null} for none
   */
  public java.lang.String getDescription() {
    return description;
  }

  /**
   * The add-on's optional description.
   * @param description description or {@code null} for none
   */
  public GoogleAppsScriptTypeAddOnEntryPoint setDescription(java.lang.String description) {
    this.description = description;
    return this;
  }

  /**
   * The add-on's optional help URL.
   * @return value or {@code null} for none
   */
  public java.lang.String getHelpUrl() {
    return helpUrl;
  }

  /**
   * The add-on's optional help URL.
   * @param helpUrl helpUrl or {@code null} for none
   */
  public GoogleAppsScriptTypeAddOnEntryPoint setHelpUrl(java.lang.String helpUrl) {
    this.helpUrl = helpUrl;
    return this;
  }

  /**
   * The add-on's required post install tip URL.
   * @return value or {@code null} for none
   */
  public java.lang.String getPostInstallTipUrl() {
    return postInstallTipUrl;
  }

  /**
   * The add-on's required post install tip URL.
   * @param postInstallTipUrl postInstallTipUrl or {@code null} for none
   */
  public GoogleAppsScriptTypeAddOnEntryPoint setPostInstallTipUrl(java.lang.String postInstallTipUrl) {
    this.postInstallTipUrl = postInstallTipUrl;
    return this;
  }

  /**
   * The add-on's optional report issue URL.
   * @return value or {@code null} for none
   */
  public java.lang.String getReportIssueUrl() {
    return reportIssueUrl;
  }

  /**
   * The add-on's optional report issue URL.
   * @param reportIssueUrl reportIssueUrl or {@code null} for none
   */
  public GoogleAppsScriptTypeAddOnEntryPoint setReportIssueUrl(java.lang.String reportIssueUrl) {
    this.reportIssueUrl = reportIssueUrl;
    return this;
  }

  /**
   * The add-on's required title.
   * @return value or {@code null} for none
   */
  public java.lang.String getTitle() {
    return title;
  }

  /**
   * The add-on's required title.
   * @param title title or {@code null} for none
   */
  public GoogleAppsScriptTypeAddOnEntryPoint setTitle(java.lang.String title) {
    this.title = title;
    return this;
  }

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

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

}
