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
Constructor and Description |
---|
ManagedProperty() |
Modifier and Type | Method and Description |
---|---|
ManagedProperty |
clone() |
java.lang.String |
getKey()
The unique key that identifies the property.
|
java.lang.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.
|
java.util.List<ManagedPropertyBundle> |
getValueBundleArray()
The list of bundles of properties - this will only be present if type of the property is
bundle_array.
|
java.lang.Integer |
getValueInteger()
The integer value - this will only be present if type of the property is integer.
|
java.lang.String |
getValueString()
The string value - this will only be present if type of the property is string, choice or
hidden.
|
java.util.List<java.lang.String> |
getValueStringArray()
The list of string values - this will only be present if type of the property is multiselect.
|
ManagedProperty |
set(java.lang.String fieldName,
java.lang.Object value) |
ManagedProperty |
setKey(java.lang.String key)
The unique key that identifies the property.
|
ManagedProperty |
setValueBool(java.lang.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(java.util.List<ManagedPropertyBundle> valueBundleArray)
The list of bundles of properties - this will only be present if type of the property is
bundle_array.
|
ManagedProperty |
setValueInteger(java.lang.Integer valueInteger)
The integer value - this will only be present if type of the property is integer.
|
ManagedProperty |
setValueString(java.lang.String valueString)
The string value - this will only be present if type of the property is string, choice or
hidden.
|
ManagedProperty |
setValueStringArray(java.util.List<java.lang.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
public java.lang.String getKey()
null
for nonepublic ManagedProperty setKey(java.lang.String key)
key
- key or null
for nonepublic java.lang.Boolean getValueBool()
null
for nonepublic ManagedProperty setValueBool(java.lang.Boolean valueBool)
valueBool
- valueBool or null
for nonepublic ManagedPropertyBundle getValueBundle()
null
for nonepublic ManagedProperty setValueBundle(ManagedPropertyBundle valueBundle)
valueBundle
- valueBundle or null
for nonepublic java.util.List<ManagedPropertyBundle> getValueBundleArray()
null
for nonepublic ManagedProperty setValueBundleArray(java.util.List<ManagedPropertyBundle> valueBundleArray)
valueBundleArray
- valueBundleArray or null
for nonepublic java.lang.Integer getValueInteger()
null
for nonepublic ManagedProperty setValueInteger(java.lang.Integer valueInteger)
valueInteger
- valueInteger or null
for nonepublic java.lang.String getValueString()
null
for nonepublic ManagedProperty setValueString(java.lang.String valueString)
valueString
- valueString or null
for nonepublic java.util.List<java.lang.String> getValueStringArray()
null
for nonepublic ManagedProperty setValueStringArray(java.util.List<java.lang.String> valueStringArray)
valueStringArray
- valueStringArray or null
for nonepublic ManagedProperty set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ManagedProperty clone()
clone
in class com.google.api.client.json.GenericJson