public final class ProductPolicy
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ProductPolicy() |
Modifier and Type | Method and Description |
---|---|
ProductPolicy |
clone() |
AutoInstallPolicy |
getAutoInstallPolicy()
The auto install policy for the product.
|
String |
getProductId()
The ID of the product.
|
List<String> |
getTrackIds()
Grants the device visibility to the specified product release track(s), identified by trackIds.
|
List<String> |
getTracks()
Deprecated.
|
ProductPolicy |
set(String fieldName,
Object value) |
ProductPolicy |
setAutoInstallPolicy(AutoInstallPolicy autoInstallPolicy)
The auto install policy for the product.
|
ProductPolicy |
setProductId(String productId)
The ID of the product.
|
ProductPolicy |
setTrackIds(List<String> trackIds)
Grants the device visibility to the specified product release track(s), identified by trackIds.
|
ProductPolicy |
setTracks(List<String> tracks)
Deprecated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public AutoInstallPolicy getAutoInstallPolicy()
null
for nonepublic ProductPolicy setAutoInstallPolicy(AutoInstallPolicy autoInstallPolicy)
autoInstallPolicy
- autoInstallPolicy or null
for nonepublic String getProductId()
null
for nonepublic ProductPolicy setProductId(String productId)
productId
- productId or null
for nonepublic List<String> getTrackIds()
null
for nonepublic ProductPolicy setTrackIds(List<String> trackIds)
trackIds
- trackIds or null
for nonepublic List<String> getTracks()
null
for nonepublic ProductPolicy setTracks(List<String> tracks)
tracks
- tracks or null
for nonepublic ProductPolicy set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ProductPolicy clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.