@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenPublicMessageSingleSendModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenPublicMessageSingleSendModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_TEMPLATE |
static String |
SERIALIZED_NAME_TO_OPEN_ID |
static String |
SERIALIZED_NAME_TO_USER_ID |
| 构造器和说明 |
|---|
AlipayOpenPublicMessageSingleSendModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static AlipayOpenPublicMessageSingleSendModel |
fromJson(String jsonString)
Create an instance of AlipayOpenPublicMessageSingleSendModel 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.
|
Template |
getTemplate()
Get template
|
String |
getToOpenId()
支付宝openId,用于支付宝用户在当前应用下的用户标识。
|
String |
getToUserId()
消息接收用户的支付宝用户id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。
|
int |
hashCode() |
AlipayOpenPublicMessageSingleSendModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setTemplate(Template template) |
void |
setToOpenId(String toOpenId) |
void |
setToUserId(String toUserId) |
AlipayOpenPublicMessageSingleSendModel |
template(Template template) |
String |
toJson()
Convert an instance of AlipayOpenPublicMessageSingleSendModel to an JSON string
|
AlipayOpenPublicMessageSingleSendModel |
toOpenId(String toOpenId) |
String |
toString() |
AlipayOpenPublicMessageSingleSendModel |
toUserId(String toUserId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public AlipayOpenPublicMessageSingleSendModel template(Template template)
public void setTemplate(Template template)
public AlipayOpenPublicMessageSingleSendModel toOpenId(String toOpenId)
public void setToOpenId(String toOpenId)
public AlipayOpenPublicMessageSingleSendModel toUserId(String toUserId)
@Nullable public String getToUserId()
public void setToUserId(String toUserId)
public AlipayOpenPublicMessageSingleSendModel 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 AlipayOpenPublicMessageSingleSendModelpublic static AlipayOpenPublicMessageSingleSendModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenPublicMessageSingleSendModelpublic String toJson()
Copyright © 2024. All rights reserved.