@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class TemplateUsageInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TemplateUsageInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_APP_VERSION |
static String |
SERIALIZED_NAME_MINI_APP_ID |
| 构造器和说明 |
|---|
TemplateUsageInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
TemplateUsageInfo |
appVersion(String appVersion) |
boolean |
equals(Object o) |
static TemplateUsageInfo |
fromJson(String jsonString)
Create an instance of TemplateUsageInfo 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()
商家小程序版本号
|
String |
getMiniAppId()
商家小程序appId
|
int |
hashCode() |
TemplateUsageInfo |
miniAppId(String miniAppId) |
TemplateUsageInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAppVersion(String appVersion) |
void |
setMiniAppId(String miniAppId) |
String |
toJson()
Convert an instance of TemplateUsageInfo 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 TemplateUsageInfo appVersion(String appVersion)
public void setAppVersion(String appVersion)
public TemplateUsageInfo miniAppId(String miniAppId)
public void setMiniAppId(String miniAppId)
public TemplateUsageInfo 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 TemplateUsageInfopublic static TemplateUsageInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to TemplateUsageInfopublic String toJson()
Copyright © 2024. All rights reserved.