target.apidocs.com.google.api.services.androidenterprise.model.ManagedProperty.html Maven / Gradle / Ivy
The newest version!
ManagedProperty (Google Play EMM API v1-rev20241113-2.0.0)
com.google.api.services.androidenterprise.model
Class ManagedProperty
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidenterprise.model.ManagedProperty
-
public final class ManagedProperty
extends com.google.api.client.json.GenericJson
A managed property of a managed configuration. The property must match one of the properties in
the app restrictions schema of the product. Exactly one of the value fields must be populated,
and it must match the property's type in the app restrictions schema.
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ManagedProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ManagedProperty
clone()
String
getKey()
The unique key that identifies the property.
Boolean
getValueBool()
The boolean value - this will only be present if type of the property is bool.
ManagedPropertyBundle
getValueBundle()
The bundle of managed properties - this will only be present if type of the property is bundle.
List<ManagedPropertyBundle>
getValueBundleArray()
The list of bundles of properties - this will only be present if type of the property is
bundle_array.
Integer
getValueInteger()
The integer value - this will only be present if type of the property is integer.
String
getValueString()
The string value - this will only be present if type of the property is string, choice or
hidden.
List<String>
getValueStringArray()
The list of string values - this will only be present if type of the property is multiselect.
ManagedProperty
set(String fieldName,
Object value)
ManagedProperty
setKey(String key)
The unique key that identifies the property.
ManagedProperty
setValueBool(Boolean valueBool)
The boolean value - this will only be present if type of the property is bool.
ManagedProperty
setValueBundle(ManagedPropertyBundle valueBundle)
The bundle of managed properties - this will only be present if type of the property is bundle.
ManagedProperty
setValueBundleArray(List<ManagedPropertyBundle> valueBundleArray)
The list of bundles of properties - this will only be present if type of the property is
bundle_array.
ManagedProperty
setValueInteger(Integer valueInteger)
The integer value - this will only be present if type of the property is integer.
ManagedProperty
setValueString(String valueString)
The string value - this will only be present if type of the property is string, choice or
hidden.
ManagedProperty
setValueStringArray(List<String> valueStringArray)
The list of string values - this will only be present if type of the property is multiselect.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getKey
public String getKey()
The unique key that identifies the property.
- Returns:
- value or
null
for none
-
setKey
public ManagedProperty setKey(String key)
The unique key that identifies the property.
- Parameters:
key
- key or null
for none
-
getValueBool
public Boolean getValueBool()
The boolean value - this will only be present if type of the property is bool.
- Returns:
- value or
null
for none
-
setValueBool
public ManagedProperty setValueBool(Boolean valueBool)
The boolean value - this will only be present if type of the property is bool.
- Parameters:
valueBool
- valueBool or null
for none
-
getValueBundle
public ManagedPropertyBundle getValueBundle()
The bundle of managed properties - this will only be present if type of the property is bundle.
- Returns:
- value or
null
for none
-
setValueBundle
public ManagedProperty setValueBundle(ManagedPropertyBundle valueBundle)
The bundle of managed properties - this will only be present if type of the property is bundle.
- Parameters:
valueBundle
- valueBundle or null
for none
-
getValueBundleArray
public List<ManagedPropertyBundle> getValueBundleArray()
The list of bundles of properties - this will only be present if type of the property is
bundle_array.
- Returns:
- value or
null
for none
-
setValueBundleArray
public ManagedProperty setValueBundleArray(List<ManagedPropertyBundle> valueBundleArray)
The list of bundles of properties - this will only be present if type of the property is
bundle_array.
- Parameters:
valueBundleArray
- valueBundleArray or null
for none
-
getValueInteger
public Integer getValueInteger()
The integer value - this will only be present if type of the property is integer.
- Returns:
- value or
null
for none
-
setValueInteger
public ManagedProperty setValueInteger(Integer valueInteger)
The integer value - this will only be present if type of the property is integer.
- Parameters:
valueInteger
- valueInteger or null
for none
-
getValueString
public String getValueString()
The string value - this will only be present if type of the property is string, choice or
hidden.
- Returns:
- value or
null
for none
-
setValueString
public ManagedProperty setValueString(String valueString)
The string value - this will only be present if type of the property is string, choice or
hidden.
- Parameters:
valueString
- valueString or null
for none
-
getValueStringArray
public List<String> getValueStringArray()
The list of string values - this will only be present if type of the property is multiselect.
- Returns:
- value or
null
for none
-
setValueStringArray
public ManagedProperty setValueStringArray(List<String> valueStringArray)
The list of string values - this will only be present if type of the property is multiselect.
- Parameters:
valueStringArray
- valueStringArray or null
for none
-
set
public ManagedProperty set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ManagedProperty clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy