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

com.google.api.services.androidenterprise.model.AdministratorWebTokenSpec Maven / Gradle / Ivy

The 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.androidenterprise.model;

/**
 * Specification for a token used to generate iframes. The token specifies what data the admin is
 * allowed to modify and the URI the iframe is allowed to communiate with.
 *
 * 

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 Google Play EMM 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 AdministratorWebTokenSpec extends com.google.api.client.json.GenericJson { /** * Options for displaying the Managed Configuration page. * The value may be {@code null}. */ @com.google.api.client.util.Key private AdministratorWebTokenSpecManagedConfigurations managedConfigurations; /** * The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at * other URIs. This URI must be https. Use whitespaces to separate multiple parent URIs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String parent; /** * Deprecated. Use PlaySearch.approveApps. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List permission; /** * Options for displaying the managed Play Search apps page. * The value may be {@code null}. */ @com.google.api.client.util.Key private AdministratorWebTokenSpecPlaySearch playSearch; /** * Options for displaying the Private Apps page. * The value may be {@code null}. */ @com.google.api.client.util.Key private AdministratorWebTokenSpecPrivateApps privateApps; /** * Options for displaying the Organize apps page. * The value may be {@code null}. */ @com.google.api.client.util.Key private AdministratorWebTokenSpecStoreBuilder storeBuilder; /** * Options for displaying the Web Apps page. * The value may be {@code null}. */ @com.google.api.client.util.Key private AdministratorWebTokenSpecWebApps webApps; /** * Options for displaying the Zero Touch page. * The value may be {@code null}. */ @com.google.api.client.util.Key private AdministratorWebTokenSpecZeroTouch zeroTouch; /** * Options for displaying the Managed Configuration page. * @return value or {@code null} for none */ public AdministratorWebTokenSpecManagedConfigurations getManagedConfigurations() { return managedConfigurations; } /** * Options for displaying the Managed Configuration page. * @param managedConfigurations managedConfigurations or {@code null} for none */ public AdministratorWebTokenSpec setManagedConfigurations(AdministratorWebTokenSpecManagedConfigurations managedConfigurations) { this.managedConfigurations = managedConfigurations; return this; } /** * The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at * other URIs. This URI must be https. Use whitespaces to separate multiple parent URIs. * @return value or {@code null} for none */ public java.lang.String getParent() { return parent; } /** * The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at * other URIs. This URI must be https. Use whitespaces to separate multiple parent URIs. * @param parent parent or {@code null} for none */ public AdministratorWebTokenSpec setParent(java.lang.String parent) { this.parent = parent; return this; } /** * Deprecated. Use PlaySearch.approveApps. * @return value or {@code null} for none */ public java.util.List getPermission() { return permission; } /** * Deprecated. Use PlaySearch.approveApps. * @param permission permission or {@code null} for none */ public AdministratorWebTokenSpec setPermission(java.util.List permission) { this.permission = permission; return this; } /** * Options for displaying the managed Play Search apps page. * @return value or {@code null} for none */ public AdministratorWebTokenSpecPlaySearch getPlaySearch() { return playSearch; } /** * Options for displaying the managed Play Search apps page. * @param playSearch playSearch or {@code null} for none */ public AdministratorWebTokenSpec setPlaySearch(AdministratorWebTokenSpecPlaySearch playSearch) { this.playSearch = playSearch; return this; } /** * Options for displaying the Private Apps page. * @return value or {@code null} for none */ public AdministratorWebTokenSpecPrivateApps getPrivateApps() { return privateApps; } /** * Options for displaying the Private Apps page. * @param privateApps privateApps or {@code null} for none */ public AdministratorWebTokenSpec setPrivateApps(AdministratorWebTokenSpecPrivateApps privateApps) { this.privateApps = privateApps; return this; } /** * Options for displaying the Organize apps page. * @return value or {@code null} for none */ public AdministratorWebTokenSpecStoreBuilder getStoreBuilder() { return storeBuilder; } /** * Options for displaying the Organize apps page. * @param storeBuilder storeBuilder or {@code null} for none */ public AdministratorWebTokenSpec setStoreBuilder(AdministratorWebTokenSpecStoreBuilder storeBuilder) { this.storeBuilder = storeBuilder; return this; } /** * Options for displaying the Web Apps page. * @return value or {@code null} for none */ public AdministratorWebTokenSpecWebApps getWebApps() { return webApps; } /** * Options for displaying the Web Apps page. * @param webApps webApps or {@code null} for none */ public AdministratorWebTokenSpec setWebApps(AdministratorWebTokenSpecWebApps webApps) { this.webApps = webApps; return this; } /** * Options for displaying the Zero Touch page. * @return value or {@code null} for none */ public AdministratorWebTokenSpecZeroTouch getZeroTouch() { return zeroTouch; } /** * Options for displaying the Zero Touch page. * @param zeroTouch zeroTouch or {@code null} for none */ public AdministratorWebTokenSpec setZeroTouch(AdministratorWebTokenSpecZeroTouch zeroTouch) { this.zeroTouch = zeroTouch; return this; } @Override public AdministratorWebTokenSpec set(String fieldName, Object value) { return (AdministratorWebTokenSpec) super.set(fieldName, value); } @Override public AdministratorWebTokenSpec clone() { return (AdministratorWebTokenSpec) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy