@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class MiniAppPluginReference extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MiniAppPluginReference.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_LAZY |
static String |
SERIALIZED_NAME_PLUGIN_ID |
static String |
SERIALIZED_NAME_PLUGIN_LAZY |
static String |
SERIALIZED_NAME_PLUGIN_VERSION |
| 构造器和说明 |
|---|
MiniAppPluginReference() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static MiniAppPluginReference |
fromJson(String jsonString)
Create an instance of MiniAppPluginReference 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.
|
Boolean |
getLazy()
是否懒加载
|
String |
getPluginId()
插件id,即插件的唯一标识,形如小程序的appId
|
Boolean |
getPluginLazy()
是否懒加载
|
String |
getPluginVersion()
小程序引用的插件版本,可以指定插件版本,如:1.0.11;也可以填*,表示引用最新的插件版本,此时,当插件发布新版本后,小程序内的插件会自动更新到最新的版本。
|
int |
hashCode() |
MiniAppPluginReference |
lazy(Boolean lazy) |
MiniAppPluginReference |
pluginId(String pluginId) |
MiniAppPluginReference |
pluginLazy(Boolean pluginLazy) |
MiniAppPluginReference |
pluginVersion(String pluginVersion) |
MiniAppPluginReference |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLazy(Boolean lazy) |
void |
setPluginId(String pluginId) |
void |
setPluginLazy(Boolean pluginLazy) |
void |
setPluginVersion(String pluginVersion) |
String |
toJson()
Convert an instance of MiniAppPluginReference 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
|
public static final String SERIALIZED_NAME_PLUGIN_VERSION
public MiniAppPluginReference lazy(Boolean lazy)
public void setLazy(Boolean lazy)
public MiniAppPluginReference pluginId(String pluginId)
public void setPluginId(String pluginId)
public MiniAppPluginReference pluginLazy(Boolean pluginLazy)
public void setPluginLazy(Boolean pluginLazy)
public MiniAppPluginReference pluginVersion(String pluginVersion)
@Nullable public String getPluginVersion()
public void setPluginVersion(String pluginVersion)
public MiniAppPluginReference 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 MiniAppPluginReferencepublic static MiniAppPluginReference fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to MiniAppPluginReferencepublic String toJson()
Copyright © 2024. All rights reserved.