public final class TrackRelease extends 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 Developer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TrackRelease() |
Modifier and Type | Method and Description |
---|---|
TrackRelease |
clone() |
List<Control> |
getControls() |
CountryTargeting |
getCountryTargeting() |
Integer |
getInAppUpdatePriority()
In-app update priority of the release.
|
String |
getName()
The release name, used to identify this release in the Play Console UI.
|
List<TrackReleasePin> |
getPinnedVersions() |
List<LocalizedText> |
getReleaseNotes()
The description of what is new in the app in this release.
|
Boolean |
getRollbackEnabled() |
Sampling |
getSampling() |
String |
getStatus()
The desired status of this release.
|
Double |
getUserFraction()
Fraction of users who are eligible to receive the release.
|
List<Long> |
getVersionCodes()
A list of all version codes of APKs that will be exposed to the users of this track when this
release is rolled out.
|
TrackRelease |
set(String fieldName,
Object value) |
TrackRelease |
setControls(List<Control> controls) |
TrackRelease |
setCountryTargeting(CountryTargeting countryTargeting) |
TrackRelease |
setInAppUpdatePriority(Integer inAppUpdatePriority)
In-app update priority of the release.
|
TrackRelease |
setName(String name)
The release name, used to identify this release in the Play Console UI.
|
TrackRelease |
setPinnedVersions(List<TrackReleasePin> pinnedVersions) |
TrackRelease |
setReleaseNotes(List<LocalizedText> releaseNotes)
The description of what is new in the app in this release.
|
TrackRelease |
setRollbackEnabled(Boolean rollbackEnabled) |
TrackRelease |
setSampling(Sampling sampling) |
TrackRelease |
setStatus(String status)
The desired status of this release.
|
TrackRelease |
setUserFraction(Double userFraction)
Fraction of users who are eligible to receive the release.
|
TrackRelease |
setVersionCodes(List<Long> versionCodes)
A list of all version codes of APKs that will be exposed to the users of this track when this
release is rolled out.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public TrackRelease setControls(List<Control> controls)
controls
- controls or null
for nonepublic CountryTargeting getCountryTargeting()
null
for nonepublic TrackRelease setCountryTargeting(CountryTargeting countryTargeting)
countryTargeting
- countryTargeting or null
for nonepublic Integer getInAppUpdatePriority()
null
for nonepublic TrackRelease setInAppUpdatePriority(Integer inAppUpdatePriority)
inAppUpdatePriority
- inAppUpdatePriority or null
for nonepublic String getName()
null
for nonepublic TrackRelease setName(String name)
name
- name or null
for nonepublic List<TrackReleasePin> getPinnedVersions()
null
for nonepublic TrackRelease setPinnedVersions(List<TrackReleasePin> pinnedVersions)
pinnedVersions
- pinnedVersions or null
for nonepublic List<LocalizedText> getReleaseNotes()
null
for nonepublic TrackRelease setReleaseNotes(List<LocalizedText> releaseNotes)
releaseNotes
- releaseNotes or null
for nonepublic Boolean getRollbackEnabled()
null
for nonepublic TrackRelease setRollbackEnabled(Boolean rollbackEnabled)
rollbackEnabled
- rollbackEnabled or null
for nonepublic Sampling getSampling()
null
for nonepublic TrackRelease setSampling(Sampling sampling)
sampling
- sampling or null
for nonepublic String getStatus()
null
for nonepublic TrackRelease setStatus(String status)
status
- status or null
for nonepublic Double getUserFraction()
null
for nonepublic TrackRelease setUserFraction(Double userFraction)
userFraction
- userFraction or null
for nonepublic List<Long> getVersionCodes()
null
for nonepublic TrackRelease setVersionCodes(List<Long> versionCodes)
versionCodes
- versionCodes or null
for nonepublic TrackRelease set(String fieldName, Object value)
set
in class GenericJson
public TrackRelease clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.