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.Flags
Constructor and Description |
---|
AppRestrictionsSchemaRestrictionRestrictionValue() |
Modifier and Type | Method and Description |
---|---|
AppRestrictionsSchemaRestrictionRestrictionValue |
clone() |
java.lang.String |
getType()
The type of the value being provided.
|
java.lang.Boolean |
getValueBool()
The boolean value - this will only be present if type is bool.
|
java.lang.Integer |
getValueInteger()
The integer value - this will only be present if type is integer.
|
java.util.List<java.lang.String> |
getValueMultiselect()
The list of string values - this will only be present if type is multiselect.
|
java.lang.String |
getValueString()
The string value - this will be present for types string, choice and hidden.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
set(java.lang.String fieldName,
java.lang.Object value) |
AppRestrictionsSchemaRestrictionRestrictionValue |
setType(java.lang.String type)
The type of the value being provided.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
setValueBool(java.lang.Boolean valueBool)
The boolean value - this will only be present if type is bool.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
setValueInteger(java.lang.Integer valueInteger)
The integer value - this will only be present if type is integer.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
setValueMultiselect(java.util.List<java.lang.String> valueMultiselect)
The list of string values - this will only be present if type is multiselect.
|
AppRestrictionsSchemaRestrictionRestrictionValue |
setValueString(java.lang.String valueString)
The string value - this will be present for types string, choice and hidden.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public AppRestrictionsSchemaRestrictionRestrictionValue()
public java.lang.String getType()
null
for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setType(java.lang.String type)
type
- type or null
for nonepublic java.lang.Boolean getValueBool()
null
for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setValueBool(java.lang.Boolean valueBool)
valueBool
- valueBool or null
for nonepublic java.lang.Integer getValueInteger()
null
for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setValueInteger(java.lang.Integer valueInteger)
valueInteger
- valueInteger or null
for nonepublic java.util.List<java.lang.String> getValueMultiselect()
null
for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setValueMultiselect(java.util.List<java.lang.String> valueMultiselect)
valueMultiselect
- valueMultiselect or null
for nonepublic java.lang.String getValueString()
null
for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue setValueString(java.lang.String valueString)
valueString
- valueString or null
for nonepublic AppRestrictionsSchemaRestrictionRestrictionValue set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AppRestrictionsSchemaRestrictionRestrictionValue clone()
clone
in class com.google.api.client.json.GenericJson