public class VersionParam extends Object
setAppName(String)
Constructor and Description |
---|
VersionParam() |
Modifier and Type | Method and Description |
---|---|
String |
getAllowedToRegisterAppDigestUser() |
String |
getAppName() |
String |
getClientType() |
String |
getDeviceType() |
String |
getDownloadUrl() |
String |
getIamConfig() |
String |
getInformationUrl() |
byte[] |
getInstaller() |
SoftwareTypes |
getSoftwareType() |
String |
getVersionStr() |
boolean |
isGlobalPin()
The value of the global PIN flag for this version.
|
boolean |
isLocked() |
boolean |
isOneAppForAll() |
boolean |
isTestApp() |
void |
setAllowedToRegisterAppDigestUser(String allowedToRegisterAppDigestUser)
This parameter is required, if the
SoftwareTypes is set to APP. |
void |
setAppName(String appName)
This parameter is optional, if the
SoftwareTypes is set to APP. |
void |
setClientType(String clientType)
This is a required parameter.
|
void |
setDeviceType(String deviceType)
This parameter is required, if the
SoftwareTypes is set to FIRMWARE. |
void |
setDownloadUrl(String downloadUrl)
This is an optional parameter.
|
void |
setGlobalPin(boolean globalPin)
This parameter defines the global PIN flag when this version is created or changed.
|
void |
setIamConfig(String iamConfig)
This is an optional parameter.
|
void |
setInformationUrl(String informationUrl)
This is an optional parameter.
|
void |
setInstaller(byte[] installer)
This parameter is required, if the
SoftwareTypes is set to FIRMWARE. |
void |
setLocked(boolean locked)
This parameter takes only effect for SOAP method 'editVersion'.
|
void |
setOneAppForAll(boolean oneAppForAll) |
void |
setSoftwareType(SoftwareTypes softwareType)
This is a required parameter.
|
void |
setTestApp(boolean isTestApp)
This parameter takes only effect if the
SoftwareTypes is set to APP. |
void |
setVersionStr(String versionStr)
This is a required parameter.
|
String |
toString() |
public SoftwareTypes getSoftwareType()
public void setSoftwareType(SoftwareTypes softwareType)
softwareType
- This is the software type, such as: APP or FIRMWARE.public String getClientType()
public void setClientType(String clientType)
SoftwareTypes
is set to FIRMWARE, the referred clientType must be installable.clientType
- This is the name of the client type, such as: {ANDROID_ARM, iOS_ARMv7, WINDOWS, MAC_OS, LINUX, ANDROID_x86, iOS_ARMv7s, iOS_ARM64, WindowsPhone_ARMV7, WindowsPhone_Emu}.public String getDeviceType()
public void setDeviceType(String deviceType)
SoftwareTypes
is set to FIRMWARE. SoftwareTypes
is set to APP.deviceType
- This is the name of device type, such as: MIDENTITY_MINI, MIDENTITY_AIR, MIDENTITY_AIR_PLUS or VIRTUAL_DEVICE.public String getVersionStr()
public void setVersionStr(String versionStr)
versionStr
- This is the app version string (supposed to be x.y.zzzz).public String getAppName()
public void setAppName(String appName)
SoftwareTypes
is set to APP. SoftwareTypes
is set to FIRMWARE.appName
- The application name.public String getAllowedToRegisterAppDigestUser()
public void setAllowedToRegisterAppDigestUser(String allowedToRegisterAppDigestUser)
SoftwareTypes
is set to APP. SoftwareTypes
is set to FIRMWARE.allowedToRegisterAppDigestUser
- The user which is allowed to register the application digest.public boolean isTestApp()
public void setTestApp(boolean isTestApp)
SoftwareTypes
is set to APP.isTestApp
- true
disable integrity check.
false
enable integrity check.public String getDownloadUrl()
public void setDownloadUrl(String downloadUrl)
downloadUrl
- The URL to download the installer of the app.public String getInformationUrl()
public void setInformationUrl(String informationUrl)
informationUrl
- The URL to show an information page (for example an installation guide) of the app.public String getIamConfig()
public void setIamConfig(String iamConfig)
iamConfig
- The URL to IAM Server for getting JWT verification keys.public byte[] getInstaller()
public void setInstaller(byte[] installer)
SoftwareTypes
is set to FIRMWARE. SoftwareTypes
is set to APP and the client type is installable,
otherwise this parameter must be null
.installer
- The installation file.public boolean isLocked()
public void setLocked(boolean locked)
locked
- Set the lock state of the version.public boolean isGlobalPin()
public void setGlobalPin(boolean globalPin)
globalPin
- the globalPin to setpublic boolean isOneAppForAll()
public void setOneAppForAll(boolean oneAppForAll)
Copyright © 2022 KOBIL Systems GmbH. All rights reserved.