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