@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AppVersionInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AppVersionInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_APP_VERSION |
static String |
SERIALIZED_NAME_BASE_AUDIT |
static String |
SERIALIZED_NAME_BUNDLE_ID |
static String |
SERIALIZED_NAME_CAN_RELEASE |
static String |
SERIALIZED_NAME_CREATE_TIME |
static String |
SERIALIZED_NAME_PROMOTE_AUDIT |
static String |
SERIALIZED_NAME_VERSION_DESCRIPTION |
static String |
SERIALIZED_NAME_VERSION_STATUS |
| 构造器和说明 |
|---|
AppVersionInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
AppVersionInfo |
appVersion(String appVersion) |
AppVersionInfo |
baseAudit(String baseAudit) |
AppVersionInfo |
bundleId(String bundleId) |
AppVersionInfo |
canRelease(String canRelease) |
AppVersionInfo |
createTime(String createTime) |
boolean |
equals(Object o) |
static AppVersionInfo |
fromJson(String jsonString)
Create an instance of AppVersionInfo given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAppVersion()
版本号,一般为x.y.x格式,其中x、y、z都是数字
|
String |
getBaseAudit()
准入审核结果 (提审时 audit_rule 传 BASE_PROMOTE 时有该字段)
|
String |
getBundleId()
小程序客户端类型,默认为支付宝端。
|
String |
getCanRelease()
是否可上架 true:可上架 false:不可上架 (version_status 为PROMOTE_AUDIT_REJECT有值) (提审时 audit_rule 传 BASE_PROMOTE 时有该字段)
|
String |
getCreateTime()
版本创建时间,精确到秒
|
String |
getPromoteAudit()
营销审核结果: PASS:通过 REJECT:驳回 (提审时 audit_rule 传 BASE_PROMOTE 时有该字段)
|
String |
getVersionDescription()
小程序版本描述,介绍此版本的主要变更和功能,5-500个字符。
|
String |
getVersionStatus()
版本状态,可选值为:INIT: 开发中, AUDITING: 审核中, AUDIT_REJECT: 审核驳回, WAIT_RELEASE: 待上架, BASE_AUDIT_PASS: 准入不可营销, GRAY: 灰度中, RELEASE: 已上架, OFFLINE: 已下架, AUDIT_OFFLINE: 被强制下架;
|
int |
hashCode() |
AppVersionInfo |
promoteAudit(String promoteAudit) |
AppVersionInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAppVersion(String appVersion) |
void |
setBaseAudit(String baseAudit) |
void |
setBundleId(String bundleId) |
void |
setCanRelease(String canRelease) |
void |
setCreateTime(String createTime) |
void |
setPromoteAudit(String promoteAudit) |
void |
setVersionDescription(String versionDescription) |
void |
setVersionStatus(String versionStatus) |
String |
toJson()
Convert an instance of AppVersionInfo to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
AppVersionInfo |
versionDescription(String versionDescription) |
AppVersionInfo |
versionStatus(String versionStatus) |
public static final String SERIALIZED_NAME_VERSION_DESCRIPTION
public static final String SERIALIZED_NAME_VERSION_STATUS
public AppVersionInfo appVersion(String appVersion)
public void setAppVersion(String appVersion)
public AppVersionInfo baseAudit(String baseAudit)
@Nullable public String getBaseAudit()
public void setBaseAudit(String baseAudit)
public AppVersionInfo bundleId(String bundleId)
@Nullable public String getBundleId()
public void setBundleId(String bundleId)
public AppVersionInfo canRelease(String canRelease)
@Nullable public String getCanRelease()
public void setCanRelease(String canRelease)
public AppVersionInfo createTime(String createTime)
public void setCreateTime(String createTime)
public AppVersionInfo promoteAudit(String promoteAudit)
@Nullable public String getPromoteAudit()
public void setPromoteAudit(String promoteAudit)
public AppVersionInfo versionDescription(String versionDescription)
@Nullable public String getVersionDescription()
public void setVersionDescription(String versionDescription)
public AppVersionInfo versionStatus(String versionStatus)
@Nullable public String getVersionStatus()
public void setVersionStatus(String versionStatus)
public AppVersionInfo putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to AppVersionInfopublic static AppVersionInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AppVersionInfopublic String toJson()
Copyright © 2024. All rights reserved.