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

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

/**
 * Managed property.
 *
 * 

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 ManagedProperty extends com.google.api.client.json.GenericJson { /** * The default value of the property. BUNDLE_ARRAY properties don't have a default value. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Object defaultValue; /** * A longer description of the property, providing more detail of what it affects. Localized. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * For CHOICE or MULTISELECT properties, the list of possible entries. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List entries; /** * The unique key that the app uses to identify the property, e.g. * "com.google.android.gm.fieldname". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String key; /** * For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most * two levels deep. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List nestedProperties; /** * The name of the property. Localized. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String title; /** * The type of the property. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * The default value of the property. BUNDLE_ARRAY properties don't have a default value. * @return value or {@code null} for none */ public java.lang.Object getDefaultValue() { return defaultValue; } /** * The default value of the property. BUNDLE_ARRAY properties don't have a default value. * @param defaultValue defaultValue or {@code null} for none */ public ManagedProperty setDefaultValue(java.lang.Object defaultValue) { this.defaultValue = defaultValue; return this; } /** * A longer description of the property, providing more detail of what it affects. Localized. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * A longer description of the property, providing more detail of what it affects. Localized. * @param description description or {@code null} for none */ public ManagedProperty setDescription(java.lang.String description) { this.description = description; return this; } /** * For CHOICE or MULTISELECT properties, the list of possible entries. * @return value or {@code null} for none */ public java.util.List getEntries() { return entries; } /** * For CHOICE or MULTISELECT properties, the list of possible entries. * @param entries entries or {@code null} for none */ public ManagedProperty setEntries(java.util.List entries) { this.entries = entries; return this; } /** * The unique key that the app uses to identify the property, e.g. * "com.google.android.gm.fieldname". * @return value or {@code null} for none */ public java.lang.String getKey() { return key; } /** * The unique key that the app uses to identify the property, e.g. * "com.google.android.gm.fieldname". * @param key key or {@code null} for none */ public ManagedProperty setKey(java.lang.String key) { this.key = key; return this; } /** * For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most * two levels deep. * @return value or {@code null} for none */ public java.util.List getNestedProperties() { return nestedProperties; } /** * For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most * two levels deep. * @param nestedProperties nestedProperties or {@code null} for none */ public ManagedProperty setNestedProperties(java.util.List nestedProperties) { this.nestedProperties = nestedProperties; return this; } /** * The name of the property. Localized. * @return value or {@code null} for none */ public java.lang.String getTitle() { return title; } /** * The name of the property. Localized. * @param title title or {@code null} for none */ public ManagedProperty setTitle(java.lang.String title) { this.title = title; return this; } /** * The type of the property. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * The type of the property. * @param type type or {@code null} for none */ public ManagedProperty setType(java.lang.String type) { this.type = type; return this; } @Override public ManagedProperty set(String fieldName, Object value) { return (ManagedProperty) super.set(fieldName, value); } @Override public ManagedProperty clone() { return (ManagedProperty) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy