All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.androidmanagement.v1.model.WebApp Maven / Gradle / Ivy

There is a newer version: v1-rev20241204-2.0.0
Show newest version
/*
 * 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.androidmanagement.v1.model;

/**
 * A web app.
 *
 * 

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 Android Management API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class WebApp extends com.google.api.client.json.GenericJson { /** * The display mode of the web app. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String displayMode; /** * A list of icons for the web app. Must have at least one element. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List icons; /** * The name of the web app, which is generated by the server during creation in the form * enterprises/{enterpriseId}/webApps/{packageName}. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * The start URL, i.e. the URL that should load when the user opens the application. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String startUrl; /** * The title of the web app as displayed to the user (e.g., amongst a list of other applications, * or as a label for an icon). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String title; /** * The current version of the app.Note that the version can automatically increase during the * lifetime of the web app, while Google does internal housekeeping to keep the web app up-to- * date. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long versionCode; /** * The display mode of the web app. * @return value or {@code null} for none */ public java.lang.String getDisplayMode() { return displayMode; } /** * The display mode of the web app. * @param displayMode displayMode or {@code null} for none */ public WebApp setDisplayMode(java.lang.String displayMode) { this.displayMode = displayMode; return this; } /** * A list of icons for the web app. Must have at least one element. * @return value or {@code null} for none */ public java.util.List getIcons() { return icons; } /** * A list of icons for the web app. Must have at least one element. * @param icons icons or {@code null} for none */ public WebApp setIcons(java.util.List icons) { this.icons = icons; return this; } /** * The name of the web app, which is generated by the server during creation in the form * enterprises/{enterpriseId}/webApps/{packageName}. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * The name of the web app, which is generated by the server during creation in the form * enterprises/{enterpriseId}/webApps/{packageName}. * @param name name or {@code null} for none */ public WebApp setName(java.lang.String name) { this.name = name; return this; } /** * The start URL, i.e. the URL that should load when the user opens the application. * @return value or {@code null} for none */ public java.lang.String getStartUrl() { return startUrl; } /** * The start URL, i.e. the URL that should load when the user opens the application. * @param startUrl startUrl or {@code null} for none */ public WebApp setStartUrl(java.lang.String startUrl) { this.startUrl = startUrl; return this; } /** * The title of the web app as displayed to the user (e.g., amongst a list of other applications, * or as a label for an icon). * @return value or {@code null} for none */ public java.lang.String getTitle() { return title; } /** * The title of the web app as displayed to the user (e.g., amongst a list of other applications, * or as a label for an icon). * @param title title or {@code null} for none */ public WebApp setTitle(java.lang.String title) { this.title = title; return this; } /** * The current version of the app.Note that the version can automatically increase during the * lifetime of the web app, while Google does internal housekeeping to keep the web app up-to- * date. * @return value or {@code null} for none */ public java.lang.Long getVersionCode() { return versionCode; } /** * The current version of the app.Note that the version can automatically increase during the * lifetime of the web app, while Google does internal housekeeping to keep the web app up-to- * date. * @param versionCode versionCode or {@code null} for none */ public WebApp setVersionCode(java.lang.Long versionCode) { this.versionCode = versionCode; return this; } @Override public WebApp set(String fieldName, Object value) { return (WebApp) super.set(fieldName, value); } @Override public WebApp clone() { return (WebApp) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy