public final class ManagedProperty
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ManagedProperty() |
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getKey()
null
for nonepublic ManagedProperty setKey(String key)
key
- key or null
for nonepublic Boolean getValueBool()
null
for nonepublic ManagedProperty setValueBool(Boolean valueBool)
valueBool
- valueBool or null
for nonepublic ManagedPropertyBundle getValueBundle()
null
for nonepublic ManagedProperty setValueBundle(ManagedPropertyBundle valueBundle)
valueBundle
- valueBundle or null
for nonepublic List<ManagedPropertyBundle> getValueBundleArray()
null
for nonepublic ManagedProperty setValueBundleArray(List<ManagedPropertyBundle> valueBundleArray)
valueBundleArray
- valueBundleArray or null
for nonepublic Integer getValueInteger()
null
for nonepublic ManagedProperty setValueInteger(Integer valueInteger)
valueInteger
- valueInteger or null
for nonepublic String getValueString()
null
for nonepublic ManagedProperty setValueString(String valueString)
valueString
- valueString or null
for nonepublic List<String> getValueStringArray()
null
for nonepublic ManagedProperty setValueStringArray(List<String> valueStringArray)
valueStringArray
- valueStringArray or null
for nonepublic ManagedProperty set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ManagedProperty clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.