@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class McardNotifyMessage extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
McardNotifyMessage.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CHANGE_REASON |
static String |
SERIALIZED_NAME_EXT_INFO |
static String |
SERIALIZED_NAME_MESSAGE_TYPE |
| 构造器和说明 |
|---|
McardNotifyMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
McardNotifyMessage |
changeReason(String changeReason) |
boolean |
equals(Object o) |
McardNotifyMessage |
extInfo(String extInfo) |
static McardNotifyMessage |
fromJson(String jsonString)
Create an instance of McardNotifyMessage 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 |
getChangeReason()
用户提醒信息,按如下格式拼装,需要ISV提供change_reason。
|
String |
getExtInfo()
JSON格式扩展信息,主要是发送消息中的变量
|
String |
getMessageType()
消息类型,每种消息都定义了固定消息模板
|
int |
hashCode() |
McardNotifyMessage |
messageType(String messageType) |
McardNotifyMessage |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setChangeReason(String changeReason) |
void |
setExtInfo(String extInfo) |
void |
setMessageType(String messageType) |
String |
toJson()
Convert an instance of McardNotifyMessage 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 McardNotifyMessage changeReason(String changeReason)
@Nullable public String getChangeReason()
public void setChangeReason(String changeReason)
public McardNotifyMessage extInfo(String extInfo)
public void setExtInfo(String extInfo)
public McardNotifyMessage messageType(String messageType)
public void setMessageType(String messageType)
public McardNotifyMessage 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 McardNotifyMessagepublic static McardNotifyMessage fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to McardNotifyMessagepublic String toJson()
Copyright © 2024. All rights reserved.