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.Flags
Constructor and Description |
---|
AppRestrictionsSchemaRestriction() |
Modifier and Type | Method and Description |
---|---|
AppRestrictionsSchemaRestriction |
clone() |
AppRestrictionsSchemaRestrictionRestrictionValue |
getDefaultValue()
The default value of the restriction.
|
java.lang.String |
getDescription()
A longer description of the restriction, giving more detail of what it affects.
|
java.util.List<java.lang.String> |
getEntry()
For choice or multiselect restrictions, the list of possible entries' human-readable names.
|
java.util.List<java.lang.String> |
getEntryValue()
For choice or multiselect restrictions, the list of possible entries' machine-readable values.
|
java.lang.String |
getKey()
The unique key that the product uses to identify the restriction, e.g.
|
java.util.List<AppRestrictionsSchemaRestriction> |
getNestedRestriction()
For bundle or bundleArray restrictions, the list of nested restrictions.
|
java.lang.String |
getRestrictionType()
The type of the restriction.
|
java.lang.String |
getTitle()
The name of the restriction.
|
AppRestrictionsSchemaRestriction |
set(java.lang.String fieldName,
java.lang.Object value) |
AppRestrictionsSchemaRestriction |
setDefaultValue(AppRestrictionsSchemaRestrictionRestrictionValue defaultValue)
The default value of the restriction.
|
AppRestrictionsSchemaRestriction |
setDescription(java.lang.String description)
A longer description of the restriction, giving more detail of what it affects.
|
AppRestrictionsSchemaRestriction |
setEntry(java.util.List<java.lang.String> entry__)
For choice or multiselect restrictions, the list of possible entries' human-readable names.
|
AppRestrictionsSchemaRestriction |
setEntryValue(java.util.List<java.lang.String> entryValue)
For choice or multiselect restrictions, the list of possible entries' machine-readable values.
|
AppRestrictionsSchemaRestriction |
setKey(java.lang.String key)
The unique key that the product uses to identify the restriction, e.g.
|
AppRestrictionsSchemaRestriction |
setNestedRestriction(java.util.List<AppRestrictionsSchemaRestriction> nestedRestriction)
For bundle or bundleArray restrictions, the list of nested restrictions.
|
AppRestrictionsSchemaRestriction |
setRestrictionType(java.lang.String restrictionType)
The type of the restriction.
|
AppRestrictionsSchemaRestriction |
setTitle(java.lang.String title)
The name of the restriction.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public AppRestrictionsSchemaRestrictionRestrictionValue getDefaultValue()
null
for nonepublic AppRestrictionsSchemaRestriction setDefaultValue(AppRestrictionsSchemaRestrictionRestrictionValue defaultValue)
defaultValue
- defaultValue or null
for nonepublic java.lang.String getDescription()
null
for nonepublic AppRestrictionsSchemaRestriction setDescription(java.lang.String description)
description
- description or null
for nonepublic java.util.List<java.lang.String> getEntry()
null
for nonepublic AppRestrictionsSchemaRestriction setEntry(java.util.List<java.lang.String> entry__)
entry__
- entry__ or null
for nonepublic java.util.List<java.lang.String> getEntryValue()
null
for nonepublic AppRestrictionsSchemaRestriction setEntryValue(java.util.List<java.lang.String> entryValue)
entryValue
- entryValue or null
for nonepublic java.lang.String getKey()
null
for nonepublic AppRestrictionsSchemaRestriction setKey(java.lang.String key)
key
- key or null
for nonepublic java.util.List<AppRestrictionsSchemaRestriction> getNestedRestriction()
null
for nonepublic AppRestrictionsSchemaRestriction setNestedRestriction(java.util.List<AppRestrictionsSchemaRestriction> nestedRestriction)
nestedRestriction
- nestedRestriction or null
for nonepublic java.lang.String getRestrictionType()
null
for nonepublic AppRestrictionsSchemaRestriction setRestrictionType(java.lang.String restrictionType)
restrictionType
- restrictionType or null
for nonepublic java.lang.String getTitle()
null
for nonepublic AppRestrictionsSchemaRestriction setTitle(java.lang.String title)
title
- title or null
for nonepublic AppRestrictionsSchemaRestriction set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AppRestrictionsSchemaRestriction clone()
clone
in class com.google.api.client.json.GenericJson