public final class ExternallyHostedApk
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 Developer 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 |
---|
ExternallyHostedApk() |
Modifier and Type | Method and Description |
---|---|
ExternallyHostedApk |
clone() |
java.lang.String |
getApplicationLabel()
The application label.
|
java.util.List<java.lang.String> |
getCertificateBase64s()
A certificate (or array of certificates if a certificate-chain is used) used to signed this
APK, represented as a base64 encoded byte array.
|
java.lang.String |
getExternallyHostedUrl()
The URL at which the APK is hosted.
|
java.lang.String |
getFileSha1Base64()
The SHA1 checksum of this APK, represented as a base64 encoded byte array.
|
java.lang.String |
getFileSha256Base64()
The SHA256 checksum of this APK, represented as a base64 encoded byte array.
|
java.lang.Long |
getFileSize()
The file size in bytes of this APK.
|
java.lang.String |
getIconBase64()
The icon image from the APK, as a base64 encoded byte array.
|
java.lang.Integer |
getMaximumSdk()
The maximum SDK supported by this APK (optional).
|
java.lang.Integer |
getMinimumSdk()
The minimum SDK targeted by this APK.
|
java.util.List<java.lang.String> |
getNativeCodes()
The native code environments supported by this APK (optional).
|
java.lang.String |
getPackageName()
The package name.
|
java.util.List<java.lang.String> |
getUsesFeatures()
The features required by this APK (optional).
|
java.util.List<ExternallyHostedApkUsesPermission> |
getUsesPermissions()
The permissions requested by this APK.
|
java.lang.Integer |
getVersionCode()
The version code of this APK.
|
java.lang.String |
getVersionName()
The version name of this APK.
|
ExternallyHostedApk |
set(java.lang.String fieldName,
java.lang.Object value) |
ExternallyHostedApk |
setApplicationLabel(java.lang.String applicationLabel)
The application label.
|
ExternallyHostedApk |
setCertificateBase64s(java.util.List<java.lang.String> certificateBase64s)
A certificate (or array of certificates if a certificate-chain is used) used to signed this
APK, represented as a base64 encoded byte array.
|
ExternallyHostedApk |
setExternallyHostedUrl(java.lang.String externallyHostedUrl)
The URL at which the APK is hosted.
|
ExternallyHostedApk |
setFileSha1Base64(java.lang.String fileSha1Base64)
The SHA1 checksum of this APK, represented as a base64 encoded byte array.
|
ExternallyHostedApk |
setFileSha256Base64(java.lang.String fileSha256Base64)
The SHA256 checksum of this APK, represented as a base64 encoded byte array.
|
ExternallyHostedApk |
setFileSize(java.lang.Long fileSize)
The file size in bytes of this APK.
|
ExternallyHostedApk |
setIconBase64(java.lang.String iconBase64)
The icon image from the APK, as a base64 encoded byte array.
|
ExternallyHostedApk |
setMaximumSdk(java.lang.Integer maximumSdk)
The maximum SDK supported by this APK (optional).
|
ExternallyHostedApk |
setMinimumSdk(java.lang.Integer minimumSdk)
The minimum SDK targeted by this APK.
|
ExternallyHostedApk |
setNativeCodes(java.util.List<java.lang.String> nativeCodes)
The native code environments supported by this APK (optional).
|
ExternallyHostedApk |
setPackageName(java.lang.String packageName)
The package name.
|
ExternallyHostedApk |
setUsesFeatures(java.util.List<java.lang.String> usesFeatures)
The features required by this APK (optional).
|
ExternallyHostedApk |
setUsesPermissions(java.util.List<ExternallyHostedApkUsesPermission> usesPermissions)
The permissions requested by this APK.
|
ExternallyHostedApk |
setVersionCode(java.lang.Integer versionCode)
The version code of this APK.
|
ExternallyHostedApk |
setVersionName(java.lang.String versionName)
The version name of this APK.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getApplicationLabel()
null
for nonepublic ExternallyHostedApk setApplicationLabel(java.lang.String applicationLabel)
applicationLabel
- applicationLabel or null
for nonepublic java.util.List<java.lang.String> getCertificateBase64s()
null
for nonepublic ExternallyHostedApk setCertificateBase64s(java.util.List<java.lang.String> certificateBase64s)
certificateBase64s
- certificateBase64s or null
for nonepublic java.lang.String getExternallyHostedUrl()
null
for nonepublic ExternallyHostedApk setExternallyHostedUrl(java.lang.String externallyHostedUrl)
externallyHostedUrl
- externallyHostedUrl or null
for nonepublic java.lang.String getFileSha1Base64()
null
for nonepublic ExternallyHostedApk setFileSha1Base64(java.lang.String fileSha1Base64)
fileSha1Base64
- fileSha1Base64 or null
for nonepublic java.lang.String getFileSha256Base64()
null
for nonepublic ExternallyHostedApk setFileSha256Base64(java.lang.String fileSha256Base64)
fileSha256Base64
- fileSha256Base64 or null
for nonepublic java.lang.Long getFileSize()
null
for nonepublic ExternallyHostedApk setFileSize(java.lang.Long fileSize)
fileSize
- fileSize or null
for nonepublic java.lang.String getIconBase64()
null
for nonepublic ExternallyHostedApk setIconBase64(java.lang.String iconBase64)
iconBase64
- iconBase64 or null
for nonepublic java.lang.Integer getMaximumSdk()
null
for nonepublic ExternallyHostedApk setMaximumSdk(java.lang.Integer maximumSdk)
maximumSdk
- maximumSdk or null
for nonepublic java.lang.Integer getMinimumSdk()
null
for nonepublic ExternallyHostedApk setMinimumSdk(java.lang.Integer minimumSdk)
minimumSdk
- minimumSdk or null
for nonepublic java.util.List<java.lang.String> getNativeCodes()
null
for nonepublic ExternallyHostedApk setNativeCodes(java.util.List<java.lang.String> nativeCodes)
nativeCodes
- nativeCodes or null
for nonepublic java.lang.String getPackageName()
null
for nonepublic ExternallyHostedApk setPackageName(java.lang.String packageName)
packageName
- packageName or null
for nonepublic java.util.List<java.lang.String> getUsesFeatures()
null
for nonepublic ExternallyHostedApk setUsesFeatures(java.util.List<java.lang.String> usesFeatures)
usesFeatures
- usesFeatures or null
for nonepublic java.util.List<ExternallyHostedApkUsesPermission> getUsesPermissions()
null
for nonepublic ExternallyHostedApk setUsesPermissions(java.util.List<ExternallyHostedApkUsesPermission> usesPermissions)
usesPermissions
- usesPermissions or null
for nonepublic java.lang.Integer getVersionCode()
null
for nonepublic ExternallyHostedApk setVersionCode(java.lang.Integer versionCode)
versionCode
- versionCode or null
for nonepublic java.lang.String getVersionName()
null
for nonepublic ExternallyHostedApk setVersionName(java.lang.String versionName)
versionName
- versionName or null
for nonepublic ExternallyHostedApk set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ExternallyHostedApk clone()
clone
in class com.google.api.client.json.GenericJson