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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ProductVisibility() |
Modifier and Type | Method and Description |
---|---|
ProductVisibility |
clone() |
String |
getProductId()
The product ID to make visible to the user.
|
List<String> |
getTrackIds()
Grants the user visibility to the specified product track(s), identified by trackIds.
|
List<String> |
getTracks()
Deprecated.
|
ProductVisibility |
set(String fieldName,
Object value) |
ProductVisibility |
setProductId(String productId)
The product ID to make visible to the user.
|
ProductVisibility |
setTrackIds(List<String> trackIds)
Grants the user visibility to the specified product track(s), identified by trackIds.
|
ProductVisibility |
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 String getProductId()
null
for nonepublic ProductVisibility setProductId(String productId)
productId
- productId or null
for nonepublic List<String> getTrackIds()
null
for nonepublic ProductVisibility setTrackIds(List<String> trackIds)
trackIds
- trackIds or null
for nonepublic List<String> getTracks()
null
for nonepublic ProductVisibility setTracks(List<String> tracks)
tracks
- tracks or null
for nonepublic ProductVisibility set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ProductVisibility clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.