target.apidocs.com.google.api.services.androidenterprise.model.AppVersion.html Maven / Gradle / Ivy
The newest version!
AppVersion (Google Play EMM API v1-rev20241113-2.0.0)
com.google.api.services.androidenterprise.model
Class AppVersion
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidenterprise.model.AppVersion
-
public final class AppVersion
extends com.google.api.client.json.GenericJson
This represents a single version of the app.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AppVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AppVersion
clone()
Boolean
getIsProduction()
True if this version is a production APK.
Integer
getTargetSdkVersion()
The SDK version this app targets, as specified in the manifest of the APK.
String
getTrack()
Deprecated, use trackId instead.
List<String>
getTrackId()
Track ids that the app version is published in.
Integer
getVersionCode()
Unique increasing identifier for the app version.
String
getVersionString()
The string used in the Play store by the app developer to identify the version.
AppVersion
set(String fieldName,
Object value)
AppVersion
setIsProduction(Boolean isProduction)
True if this version is a production APK.
AppVersion
setTargetSdkVersion(Integer targetSdkVersion)
The SDK version this app targets, as specified in the manifest of the APK.
AppVersion
setTrack(String track)
Deprecated, use trackId instead.
AppVersion
setTrackId(List<String> trackId)
Track ids that the app version is published in.
AppVersion
setVersionCode(Integer versionCode)
Unique increasing identifier for the app version.
AppVersion
setVersionString(String versionString)
The string used in the Play store by the app developer to identify the version.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getIsProduction
public Boolean getIsProduction()
True if this version is a production APK.
- Returns:
- value or
null
for none
-
setIsProduction
public AppVersion setIsProduction(Boolean isProduction)
True if this version is a production APK.
- Parameters:
isProduction
- isProduction or null
for none
-
getTargetSdkVersion
public Integer getTargetSdkVersion()
The SDK version this app targets, as specified in the manifest of the APK. See
http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
- Returns:
- value or
null
for none
-
setTargetSdkVersion
public AppVersion setTargetSdkVersion(Integer targetSdkVersion)
The SDK version this app targets, as specified in the manifest of the APK. See
http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
- Parameters:
targetSdkVersion
- targetSdkVersion or null
for none
-
getTrack
public String getTrack()
Deprecated, use trackId instead.
- Returns:
- value or
null
for none
-
setTrack
public AppVersion setTrack(String track)
Deprecated, use trackId instead.
- Parameters:
track
- track or null
for none
-
getTrackId
public List<String> getTrackId()
Track ids that the app version is published in. Replaces the track field (deprecated), but
doesn't include the production track (see isProduction instead).
- Returns:
- value or
null
for none
-
setTrackId
public AppVersion setTrackId(List<String> trackId)
Track ids that the app version is published in. Replaces the track field (deprecated), but
doesn't include the production track (see isProduction instead).
- Parameters:
trackId
- trackId or null
for none
-
getVersionCode
public Integer getVersionCode()
Unique increasing identifier for the app version.
- Returns:
- value or
null
for none
-
setVersionCode
public AppVersion setVersionCode(Integer versionCode)
Unique increasing identifier for the app version.
- Parameters:
versionCode
- versionCode or null
for none
-
getVersionString
public String getVersionString()
The string used in the Play store by the app developer to identify the version. The string is
not necessarily unique or localized (for example, the string could be "1.4").
- Returns:
- value or
null
for none
-
setVersionString
public AppVersion setVersionString(String versionString)
The string used in the Play store by the app developer to identify the version. The string is
not necessarily unique or localized (for example, the string could be "1.4").
- Parameters:
versionString
- versionString or null
for none
-
set
public AppVersion set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AppVersion clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy