public final class Product
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
Product |
clone() |
List<TrackInfo> |
getAppTracks()
The tracks visible to the enterprise.
|
List<AppVersion> |
getAppVersion()
App versions currently available for this product.
|
String |
getAuthorName()
The name of the author of the product (for example, the app developer).
|
List<String> |
getAvailableCountries()
The countries which this app is available in.
|
List<String> |
getAvailableTracks()
Deprecated, use appTracks instead.
|
String |
getCategory()
The app category (e.g.
|
String |
getContentRating()
The content rating for this app.
|
String |
getDescription()
The localized promotional description, if available.
|
String |
getDetailsUrl()
A link to the (consumer) Google Play details page for the product.
|
String |
getDistributionChannel()
How and to whom the package is made available.
|
String |
getIconUrl()
A link to an image that can be used as an icon for the product.
|
String |
getKind()
Identifies what kind of resource this is.
|
Long |
getLastUpdatedTimestampMillis()
The approximate time (within 7 days) the app was last published, expressed in milliseconds
since epoch.
|
Integer |
getMinAndroidSdkVersion()
The minimum Android SDK necessary to run the app.
|
List<ProductPermission> |
getPermissions()
A list of permissions required by the app.
|
String |
getProductId()
A string of the form app:.
|
String |
getProductPricing()
Whether this product is free, free with in-app purchases, or paid.
|
String |
getRecentChanges()
A description of the recent changes made to the app.
|
Boolean |
getRequiresContainerApp()
Deprecated.
|
List<String> |
getScreenshotUrls()
A list of screenshot links representing the app.
|
ProductSigningCertificate |
getSigningCertificate()
The certificate used to sign this product.
|
String |
getSmallIconUrl()
A link to a smaller image that can be used as an icon for the product.
|
String |
getTitle()
The name of the product.
|
String |
getWorkDetailsUrl()
A link to the managed Google Play details page for the product, for use by an Enterprise admin.
|
Product |
set(String fieldName,
Object value) |
Product |
setAppTracks(List<TrackInfo> appTracks)
The tracks visible to the enterprise.
|
Product |
setAppVersion(List<AppVersion> appVersion)
App versions currently available for this product.
|
Product |
setAuthorName(String authorName)
The name of the author of the product (for example, the app developer).
|
Product |
setAvailableCountries(List<String> availableCountries)
The countries which this app is available in.
|
Product |
setAvailableTracks(List<String> availableTracks)
Deprecated, use appTracks instead.
|
Product |
setCategory(String category)
The app category (e.g.
|
Product |
setContentRating(String contentRating)
The content rating for this app.
|
Product |
setDescription(String description)
The localized promotional description, if available.
|
Product |
setDetailsUrl(String detailsUrl)
A link to the (consumer) Google Play details page for the product.
|
Product |
setDistributionChannel(String distributionChannel)
How and to whom the package is made available.
|
Product |
setIconUrl(String iconUrl)
A link to an image that can be used as an icon for the product.
|
Product |
setKind(String kind)
Identifies what kind of resource this is.
|
Product |
setLastUpdatedTimestampMillis(Long lastUpdatedTimestampMillis)
The approximate time (within 7 days) the app was last published, expressed in milliseconds
since epoch.
|
Product |
setMinAndroidSdkVersion(Integer minAndroidSdkVersion)
The minimum Android SDK necessary to run the app.
|
Product |
setPermissions(List<ProductPermission> permissions)
A list of permissions required by the app.
|
Product |
setProductId(String productId)
A string of the form app:.
|
Product |
setProductPricing(String productPricing)
Whether this product is free, free with in-app purchases, or paid.
|
Product |
setRecentChanges(String recentChanges)
A description of the recent changes made to the app.
|
Product |
setRequiresContainerApp(Boolean requiresContainerApp)
Deprecated.
|
Product |
setScreenshotUrls(List<String> screenshotUrls)
A list of screenshot links representing the app.
|
Product |
setSigningCertificate(ProductSigningCertificate signingCertificate)
The certificate used to sign this product.
|
Product |
setSmallIconUrl(String smallIconUrl)
A link to a smaller image that can be used as an icon for the product.
|
Product |
setTitle(String title)
The name of the product.
|
Product |
setWorkDetailsUrl(String workDetailsUrl)
A link to the managed Google Play details page for the product, for use by an Enterprise admin.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<TrackInfo> getAppTracks()
null for nonepublic Product setAppTracks(List<TrackInfo> appTracks)
appTracks - appTracks or null for nonepublic List<AppVersion> getAppVersion()
null for nonepublic Product setAppVersion(List<AppVersion> appVersion)
appVersion - appVersion or null for nonepublic String getAuthorName()
null for nonepublic Product setAuthorName(String authorName)
authorName - authorName or null for nonepublic List<String> getAvailableCountries()
null for nonepublic Product setAvailableCountries(List<String> availableCountries)
availableCountries - availableCountries or null for nonepublic List<String> getAvailableTracks()
null for nonepublic Product setAvailableTracks(List<String> availableTracks)
availableTracks - availableTracks or null for nonepublic String getCategory()
null for nonepublic Product setCategory(String category)
category - category or null for nonepublic String getContentRating()
null for nonepublic Product setContentRating(String contentRating)
contentRating - contentRating or null for nonepublic String getDescription()
null for nonepublic Product setDescription(String description)
description - description or null for nonepublic String getDetailsUrl()
null for nonepublic Product setDetailsUrl(String detailsUrl)
detailsUrl - detailsUrl or null for nonepublic String getDistributionChannel()
null for nonepublic Product setDistributionChannel(String distributionChannel)
distributionChannel - distributionChannel or null for nonepublic String getIconUrl()
null for nonepublic Product setIconUrl(String iconUrl)
iconUrl - iconUrl or null for nonepublic String getKind()
null for nonepublic Product setKind(String kind)
kind - kind or null for nonepublic Long getLastUpdatedTimestampMillis()
null for nonepublic Product setLastUpdatedTimestampMillis(Long lastUpdatedTimestampMillis)
lastUpdatedTimestampMillis - lastUpdatedTimestampMillis or null for nonepublic Integer getMinAndroidSdkVersion()
null for nonepublic Product setMinAndroidSdkVersion(Integer minAndroidSdkVersion)
minAndroidSdkVersion - minAndroidSdkVersion or null for nonepublic List<ProductPermission> getPermissions()
null for nonepublic Product setPermissions(List<ProductPermission> permissions)
permissions - permissions or null for nonepublic String getProductId()
null for nonepublic Product setProductId(String productId)
productId - productId or null for nonepublic String getProductPricing()
null for nonepublic Product setProductPricing(String productPricing)
productPricing - productPricing or null for nonepublic String getRecentChanges()
null for nonepublic Product setRecentChanges(String recentChanges)
recentChanges - recentChanges or null for nonepublic Boolean getRequiresContainerApp()
null for nonepublic Product setRequiresContainerApp(Boolean requiresContainerApp)
requiresContainerApp - requiresContainerApp or null for nonepublic List<String> getScreenshotUrls()
null for nonepublic Product setScreenshotUrls(List<String> screenshotUrls)
screenshotUrls - screenshotUrls or null for nonepublic ProductSigningCertificate getSigningCertificate()
null for nonepublic Product setSigningCertificate(ProductSigningCertificate signingCertificate)
signingCertificate - signingCertificate or null for nonepublic String getSmallIconUrl()
null for nonepublic Product setSmallIconUrl(String smallIconUrl)
smallIconUrl - smallIconUrl or null for nonepublic String getTitle()
null for nonepublic Product setTitle(String title)
title - title or null for nonepublic String getWorkDetailsUrl()
null for nonepublic Product setWorkDetailsUrl(String workDetailsUrl)
workDetailsUrl - workDetailsUrl or null for nonepublic Product set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Product clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2018 Google. All rights reserved.