public final class AppRestrictionsSchemaRestriction
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 |
|---|
AppRestrictionsSchemaRestriction() |
| Modifier and Type | Method and Description |
|---|---|
AppRestrictionsSchemaRestriction |
clone() |
AppRestrictionsSchemaRestrictionRestrictionValue |
getDefaultValue()
The default value of the restriction.
|
String |
getDescription()
A longer description of the restriction, giving more detail of what it affects.
|
List<String> |
getEntry()
For choice or multiselect restrictions, the list of possible entries' human-readable names.
|
List<String> |
getEntryValue()
For choice or multiselect restrictions, the list of possible entries' machine-readable values.
|
String |
getKey()
The unique key that the product uses to identify the restriction, e.g.
|
List<AppRestrictionsSchemaRestriction> |
getNestedRestriction()
For bundle or bundleArray restrictions, the list of nested restrictions.
|
String |
getRestrictionType()
The type of the restriction.
|
String |
getTitle()
The name of the restriction.
|
AppRestrictionsSchemaRestriction |
set(String fieldName,
Object value) |
AppRestrictionsSchemaRestriction |
setDefaultValue(AppRestrictionsSchemaRestrictionRestrictionValue defaultValue)
The default value of the restriction.
|
AppRestrictionsSchemaRestriction |
setDescription(String description)
A longer description of the restriction, giving more detail of what it affects.
|
AppRestrictionsSchemaRestriction |
setEntry(List<String> entry__)
For choice or multiselect restrictions, the list of possible entries' human-readable names.
|
AppRestrictionsSchemaRestriction |
setEntryValue(List<String> entryValue)
For choice or multiselect restrictions, the list of possible entries' machine-readable values.
|
AppRestrictionsSchemaRestriction |
setKey(String key)
The unique key that the product uses to identify the restriction, e.g.
|
AppRestrictionsSchemaRestriction |
setNestedRestriction(List<AppRestrictionsSchemaRestriction> nestedRestriction)
For bundle or bundleArray restrictions, the list of nested restrictions.
|
AppRestrictionsSchemaRestriction |
setRestrictionType(String restrictionType)
The type of the restriction.
|
AppRestrictionsSchemaRestriction |
setTitle(String title)
The name of the restriction.
|
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 getDefaultValue()
null for nonepublic AppRestrictionsSchemaRestriction setDefaultValue(AppRestrictionsSchemaRestrictionRestrictionValue defaultValue)
defaultValue - defaultValue or null for nonepublic String getDescription()
null for nonepublic AppRestrictionsSchemaRestriction setDescription(String description)
description - description or null for nonepublic List<String> getEntry()
null for nonepublic AppRestrictionsSchemaRestriction setEntry(List<String> entry__)
entry__ - entry__ or null for nonepublic List<String> getEntryValue()
null for nonepublic AppRestrictionsSchemaRestriction setEntryValue(List<String> entryValue)
entryValue - entryValue or null for nonepublic String getKey()
null for nonepublic AppRestrictionsSchemaRestriction setKey(String key)
key - key or null for nonepublic List<AppRestrictionsSchemaRestriction> getNestedRestriction()
null for nonepublic AppRestrictionsSchemaRestriction setNestedRestriction(List<AppRestrictionsSchemaRestriction> nestedRestriction)
nestedRestriction - nestedRestriction or null for nonepublic String getRestrictionType()
null for nonepublic AppRestrictionsSchemaRestriction setRestrictionType(String restrictionType)
restrictionType - restrictionType or null for nonepublic String getTitle()
null for nonepublic AppRestrictionsSchemaRestriction setTitle(String title)
title - title or null for nonepublic AppRestrictionsSchemaRestriction set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AppRestrictionsSchemaRestriction clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2018 Google. All rights reserved.