public final class AppRestrictionsSchemaRestrictionRestrictionValue
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AppRestrictionsSchemaRestrictionRestrictionValue() |
| Modifier and Type | Method and Description |
|---|---|
AppRestrictionsSchemaRestrictionRestrictionValue |
clone() |
String |
getType()
The type of the value being provided.
|
Boolean |
getValueBool()
The boolean value - this will only be present if type is bool.
|
Integer |
getValueInteger()
The integer value - this will only be present if type is integer.
|
List<String> |
getValueMultiselect()
The list of string values - this will only be present if type is multiselect.
|
String |
getValueString()
The string value - this will be present for types string, choice and hidden.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
set(String fieldName,
Object value) |
AppRestrictionsSchemaRestrictionRestrictionValue |
setType(String type)
The type of the value being provided.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
setValueBool(Boolean valueBool)
The boolean value - this will only be present if type is bool.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
setValueInteger(Integer valueInteger)
The integer value - this will only be present if type is integer.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
setValueMultiselect(List<String> valueMultiselect)
The list of string values - this will only be present if type is multiselect.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
setValueString(String valueString)
The string value - this will be present for types string, choice and hidden.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic AppRestrictionsSchemaRestrictionRestrictionValue()
public String getType()
null for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setType(String type)
type - type or null for nonepublic Boolean getValueBool()
null for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setValueBool(Boolean valueBool)
valueBool - valueBool or null for nonepublic Integer getValueInteger()
null for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setValueInteger(Integer valueInteger)
valueInteger - valueInteger or null for nonepublic List<String> getValueMultiselect()
null for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setValueMultiselect(List<String> valueMultiselect)
valueMultiselect - valueMultiselect or null for nonepublic String getValueString()
null for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setValueString(String valueString)
valueString - valueString or null for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AppRestrictionsSchemaRestrictionRestrictionValue clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2018 Google. All rights reserved.