@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class TemplateActionInfoDTO extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TemplateActionInfoDTO.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CODE |
static String |
SERIALIZED_NAME_MINI_APP_URL |
static String |
SERIALIZED_NAME_TEXT |
static String |
SERIALIZED_NAME_URL |
static String |
SERIALIZED_NAME_URL_TYPE |
| 构造器和说明 |
|---|
TemplateActionInfoDTO() |
| 限定符和类型 | 方法和说明 |
|---|---|
TemplateActionInfoDTO |
code(String code) |
boolean |
equals(Object o) |
static TemplateActionInfoDTO |
fromJson(String jsonString)
Create an instance of TemplateActionInfoDTO 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 |
getCode()
行动点业务CODE,商户自定义
|
TemplateActionMiniAppUrlDTO |
getMiniAppUrl()
Get miniAppUrl
|
String |
getText()
行动点展示文案
|
String |
getUrl()
行动点跳转链接,当url_type填\"url\"或不填时必填,支持http(s)和支付宝schema地址等
|
String |
getUrlType()
跳转链接类型,不填则默认为url类型: url:对应填写url参数 miniAppUrl: 对应填写mini_app_url参数,跳转至指定的支付宝小程序页面
|
int |
hashCode() |
TemplateActionInfoDTO |
miniAppUrl(TemplateActionMiniAppUrlDTO miniAppUrl) |
TemplateActionInfoDTO |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCode(String code) |
void |
setMiniAppUrl(TemplateActionMiniAppUrlDTO miniAppUrl) |
void |
setText(String text) |
void |
setUrl(String url) |
void |
setUrlType(String urlType) |
TemplateActionInfoDTO |
text(String text) |
String |
toJson()
Convert an instance of TemplateActionInfoDTO to an JSON string
|
String |
toString() |
TemplateActionInfoDTO |
url(String url) |
TemplateActionInfoDTO |
urlType(String urlType) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public TemplateActionInfoDTO code(String code)
public void setCode(String code)
public TemplateActionInfoDTO miniAppUrl(TemplateActionMiniAppUrlDTO miniAppUrl)
@Nullable public TemplateActionMiniAppUrlDTO getMiniAppUrl()
public void setMiniAppUrl(TemplateActionMiniAppUrlDTO miniAppUrl)
public TemplateActionInfoDTO text(String text)
public void setText(String text)
public TemplateActionInfoDTO url(String url)
@Nullable public String getUrl()
public void setUrl(String url)
public TemplateActionInfoDTO urlType(String urlType)
@Nullable public String getUrlType()
public void setUrlType(String urlType)
public TemplateActionInfoDTO 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 TemplateActionInfoDTOpublic static TemplateActionInfoDTO fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to TemplateActionInfoDTOpublic String toJson()
Copyright © 2024. All rights reserved.