target.apidocs.com.google.api.services.androidenterprise.model.AppRestrictionsSchemaRestrictionRestrictionValue.html Maven / Gradle / Ivy
The newest version!
AppRestrictionsSchemaRestrictionRestrictionValue (Google Play EMM API v1-rev20241113-2.0.0)
com.google.api.services.androidenterprise.model
Class AppRestrictionsSchemaRestrictionRestrictionValue
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidenterprise.model.AppRestrictionsSchemaRestrictionRestrictionValue
-
public final class AppRestrictionsSchemaRestrictionRestrictionValue
extends com.google.api.client.json.GenericJson
A typed value for the restriction.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AppRestrictionsSchemaRestrictionRestrictionValue()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
AppRestrictionsSchemaRestrictionRestrictionValue
public AppRestrictionsSchemaRestrictionRestrictionValue()
-
Method Detail
-
getType
public String getType()
The type of the value being provided.
- Returns:
- value or
null
for none
-
setType
public AppRestrictionsSchemaRestrictionRestrictionValue setType(String type)
The type of the value being provided.
- Parameters:
type
- type or null
for none
-
getValueBool
public Boolean getValueBool()
The boolean value - this will only be present if type is bool.
- Returns:
- value or
null
for none
-
setValueBool
public AppRestrictionsSchemaRestrictionRestrictionValue setValueBool(Boolean valueBool)
The boolean value - this will only be present if type is bool.
- Parameters:
valueBool
- valueBool or null
for none
-
getValueInteger
public Integer getValueInteger()
The integer value - this will only be present if type is integer.
- Returns:
- value or
null
for none
-
setValueInteger
public AppRestrictionsSchemaRestrictionRestrictionValue setValueInteger(Integer valueInteger)
The integer value - this will only be present if type is integer.
- Parameters:
valueInteger
- valueInteger or null
for none
-
getValueMultiselect
public List<String> getValueMultiselect()
The list of string values - this will only be present if type is multiselect.
- Returns:
- value or
null
for none
-
setValueMultiselect
public AppRestrictionsSchemaRestrictionRestrictionValue setValueMultiselect(List<String> valueMultiselect)
The list of string values - this will only be present if type is multiselect.
- Parameters:
valueMultiselect
- valueMultiselect or null
for none
-
getValueString
public String getValueString()
The string value - this will be present for types string, choice and hidden.
- Returns:
- value or
null
for none
-
setValueString
public AppRestrictionsSchemaRestrictionRestrictionValue setValueString(String valueString)
The string value - this will be present for types string, choice and hidden.
- Parameters:
valueString
- valueString or null
for none
-
set
public AppRestrictionsSchemaRestrictionRestrictionValue set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AppRestrictionsSchemaRestrictionRestrictionValue clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy