@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenPublicMessageCustomSendModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenPublicMessageCustomSendModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ARTICLES |
static String |
SERIALIZED_NAME_CHAT |
static String |
SERIALIZED_NAME_EVENT_TYPE |
static String |
SERIALIZED_NAME_MSG_TYPE |
static String |
SERIALIZED_NAME_OPEN_ID |
static String |
SERIALIZED_NAME_TEXT |
static String |
SERIALIZED_NAME_TO_USER_ID |
| 构造器和说明 |
|---|
AlipayOpenPublicMessageCustomSendModel() |
public AlipayOpenPublicMessageCustomSendModel articles(List<Article> articles)
public AlipayOpenPublicMessageCustomSendModel addArticlesItem(Article articlesItem)
public AlipayOpenPublicMessageCustomSendModel chat(String chat)
@Nullable public String getChat()
public void setChat(String chat)
public AlipayOpenPublicMessageCustomSendModel eventType(String eventType)
@Nullable public String getEventType()
public void setEventType(String eventType)
public AlipayOpenPublicMessageCustomSendModel msgType(String msgType)
@Nullable public String getMsgType()
public void setMsgType(String msgType)
public AlipayOpenPublicMessageCustomSendModel openId(String openId)
public void setOpenId(String openId)
public AlipayOpenPublicMessageCustomSendModel text(Text text)
public void setText(Text text)
public AlipayOpenPublicMessageCustomSendModel toUserId(String toUserId)
public void setToUserId(String toUserId)
public AlipayOpenPublicMessageCustomSendModel 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 AlipayOpenPublicMessageCustomSendModelpublic static AlipayOpenPublicMessageCustomSendModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenPublicMessageCustomSendModelpublic String toJson()
Copyright © 2024. All rights reserved.