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

com.google.api.services.androidmanagement.v1.model.SetupAction 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;

/**
 * An action executed during setup.
 *
 * 

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 SetupAction extends com.google.api.client.json.GenericJson { /** * Description of this action. * The value may be {@code null}. */ @com.google.api.client.util.Key private UserFacingMessage description; /** * An action to launch an app. The app will be launched with an intent containing an extra with * key com.google.android.apps.work.clouddpc.EXTRA_LAUNCHED_AS_SETUP_ACTION set to the boolean * value true to indicate that this is a setup action flow. If SetupAction references an app, the * corresponding installType in the application policy must be set as REQUIRED_FOR_SETUP or said * setup will fail. * The value may be {@code null}. */ @com.google.api.client.util.Key private LaunchAppAction launchApp; /** * Title of this action. * The value may be {@code null}. */ @com.google.api.client.util.Key private UserFacingMessage title; /** * Description of this action. * @return value or {@code null} for none */ public UserFacingMessage getDescription() { return description; } /** * Description of this action. * @param description description or {@code null} for none */ public SetupAction setDescription(UserFacingMessage description) { this.description = description; return this; } /** * An action to launch an app. The app will be launched with an intent containing an extra with * key com.google.android.apps.work.clouddpc.EXTRA_LAUNCHED_AS_SETUP_ACTION set to the boolean * value true to indicate that this is a setup action flow. If SetupAction references an app, the * corresponding installType in the application policy must be set as REQUIRED_FOR_SETUP or said * setup will fail. * @return value or {@code null} for none */ public LaunchAppAction getLaunchApp() { return launchApp; } /** * An action to launch an app. The app will be launched with an intent containing an extra with * key com.google.android.apps.work.clouddpc.EXTRA_LAUNCHED_AS_SETUP_ACTION set to the boolean * value true to indicate that this is a setup action flow. If SetupAction references an app, the * corresponding installType in the application policy must be set as REQUIRED_FOR_SETUP or said * setup will fail. * @param launchApp launchApp or {@code null} for none */ public SetupAction setLaunchApp(LaunchAppAction launchApp) { this.launchApp = launchApp; return this; } /** * Title of this action. * @return value or {@code null} for none */ public UserFacingMessage getTitle() { return title; } /** * Title of this action. * @param title title or {@code null} for none */ public SetupAction setTitle(UserFacingMessage title) { this.title = title; return this; } @Override public SetupAction set(String fieldName, Object value) { return (SetupAction) super.set(fieldName, value); } @Override public SetupAction clone() { return (SetupAction) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy