public final class ProductVisibility
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 |
---|
ProductVisibility() |
Modifier and Type | Method and Description |
---|---|
ProductVisibility |
clone() |
java.lang.String |
getProductId()
The product ID to make visible to the user.
|
java.util.List<java.lang.String> |
getTrackIds()
Grants the user visibility to the specified product track(s), identified by trackIds.
|
java.util.List<java.lang.String> |
getTracks()
Deprecated.
|
ProductVisibility |
set(java.lang.String fieldName,
java.lang.Object value) |
ProductVisibility |
setProductId(java.lang.String productId)
The product ID to make visible to the user.
|
ProductVisibility |
setTrackIds(java.util.List<java.lang.String> trackIds)
Grants the user visibility to the specified product track(s), identified by trackIds.
|
ProductVisibility |
setTracks(java.util.List<java.lang.String> tracks)
Deprecated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getProductId()
null
for nonepublic ProductVisibility setProductId(java.lang.String productId)
productId
- productId or null
for nonepublic java.util.List<java.lang.String> getTrackIds()
null
for nonepublic ProductVisibility setTrackIds(java.util.List<java.lang.String> trackIds)
trackIds
- trackIds or null
for nonepublic java.util.List<java.lang.String> getTracks()
null
for nonepublic ProductVisibility setTracks(java.util.List<java.lang.String> tracks)
tracks
- tracks or null
for nonepublic ProductVisibility set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ProductVisibility clone()
clone
in class com.google.api.client.json.GenericJson