@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenPublicMessageContentCreateModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenPublicMessageContentCreateModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BENEFIT |
static String |
SERIALIZED_NAME_CONTENT |
static String |
SERIALIZED_NAME_COULD_COMMENT |
static String |
SERIALIZED_NAME_COVER |
static String |
SERIALIZED_NAME_CTYPE |
static String |
SERIALIZED_NAME_EXT_TAGS |
static String |
SERIALIZED_NAME_LOGIN_IDS |
static String |
SERIALIZED_NAME_TITLE |
| 构造器和说明 |
|---|
AlipayOpenPublicMessageContentCreateModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenPublicMessageContentCreateModel |
benefit(String benefit) |
AlipayOpenPublicMessageContentCreateModel |
content(String content) |
AlipayOpenPublicMessageContentCreateModel |
couldComment(String couldComment) |
AlipayOpenPublicMessageContentCreateModel |
cover(String cover) |
AlipayOpenPublicMessageContentCreateModel |
ctype(String ctype) |
boolean |
equals(Object o) |
AlipayOpenPublicMessageContentCreateModel |
extTags(String extTags) |
static AlipayOpenPublicMessageContentCreateModel |
fromJson(String jsonString)
Create an instance of AlipayOpenPublicMessageContentCreateModel 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 |
getBenefit()
活动利益点,最多10个字符。
|
String |
getContent()
消息正文(支持富文本)
|
String |
getCouldComment()
是否允许评论。
|
String |
getCover()
封面图url,需传入 <a href=\"https://opendocs.alipay.com/apis/api_3/alipay.offline.material.image.upload\">图片上传接口</a>上传图片获取的 image_url。
|
String |
getCtype()
图文类型,不填默认普通图文。
|
String |
getExtTags()
关键词列表,英文逗号分隔,最多不超过5个
|
String |
getLoginIds()
可预览支付宝账号列表,需要预览时才填写, 英文逗号分隔,最多不超过10个
|
String |
getTitle()
标题
|
int |
hashCode() |
AlipayOpenPublicMessageContentCreateModel |
loginIds(String loginIds) |
AlipayOpenPublicMessageContentCreateModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBenefit(String benefit) |
void |
setContent(String content) |
void |
setCouldComment(String couldComment) |
void |
setCover(String cover) |
void |
setCtype(String ctype) |
void |
setExtTags(String extTags) |
void |
setLoginIds(String loginIds) |
void |
setTitle(String title) |
AlipayOpenPublicMessageContentCreateModel |
title(String title) |
String |
toJson()
Convert an instance of AlipayOpenPublicMessageContentCreateModel 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 AlipayOpenPublicMessageContentCreateModel()
public AlipayOpenPublicMessageContentCreateModel benefit(String benefit)
@Nullable public String getBenefit()
public void setBenefit(String benefit)
public AlipayOpenPublicMessageContentCreateModel content(String content)
public void setContent(String content)
public AlipayOpenPublicMessageContentCreateModel couldComment(String couldComment)
@Nullable public String getCouldComment()
public void setCouldComment(String couldComment)
public AlipayOpenPublicMessageContentCreateModel cover(String cover)
@Nullable public String getCover()
public void setCover(String cover)
public AlipayOpenPublicMessageContentCreateModel ctype(String ctype)
public void setCtype(String ctype)
public AlipayOpenPublicMessageContentCreateModel extTags(String extTags)
public void setExtTags(String extTags)
public AlipayOpenPublicMessageContentCreateModel loginIds(String loginIds)
public void setLoginIds(String loginIds)
public AlipayOpenPublicMessageContentCreateModel title(String title)
public void setTitle(String title)
public AlipayOpenPublicMessageContentCreateModel 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 AlipayOpenPublicMessageContentCreateModelpublic static AlipayOpenPublicMessageContentCreateModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenPublicMessageContentCreateModelpublic String toJson()
Copyright © 2024. All rights reserved.