@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenPublicMessageContentModifyModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenPublicMessageContentModifyModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BENEFIT |
static String |
SERIALIZED_NAME_CONTENT |
static String |
SERIALIZED_NAME_CONTENT_ID |
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 |
| 构造器和说明 |
|---|
AlipayOpenPublicMessageContentModifyModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenPublicMessageContentModifyModel |
benefit(String benefit) |
AlipayOpenPublicMessageContentModifyModel |
content(String content) |
AlipayOpenPublicMessageContentModifyModel |
contentId(String contentId) |
AlipayOpenPublicMessageContentModifyModel |
couldComment(String couldComment) |
AlipayOpenPublicMessageContentModifyModel |
cover(String cover) |
AlipayOpenPublicMessageContentModifyModel |
ctype(String ctype) |
boolean |
equals(Object o) |
AlipayOpenPublicMessageContentModifyModel |
extTags(String extTags) |
static AlipayOpenPublicMessageContentModifyModel |
fromJson(String jsonString)
Create an instance of AlipayOpenPublicMessageContentModifyModel 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()
活动利益点,图文类型ctype为activity类型时才需要传,最多10个字符
|
String |
getContent()
消息正文(支持富文本)
|
String |
getContentId()
内容id
|
String |
getCouldComment()
是否允许评论 T:允许 F:不允许,默认不允许
|
String |
getCover()
封面图url, 尺寸为996*450,最大不超过3M,支持格式:.jpg、.png ,请先调用<ahref=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url。
|
String |
getCtype()
图文类型 activity: 活动图文,不填默认普通图文
|
String |
getExtTags()
关键词列表,英文逗号分隔,最多不超过5个
|
String |
getLoginIds()
可预览支付宝账号列表,需要预览时才填写, 英文逗号分隔,最多不超过10个
|
String |
getTitle()
标题
|
int |
hashCode() |
AlipayOpenPublicMessageContentModifyModel |
loginIds(String loginIds) |
AlipayOpenPublicMessageContentModifyModel |
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 |
setContentId(String contentId) |
void |
setCouldComment(String couldComment) |
void |
setCover(String cover) |
void |
setCtype(String ctype) |
void |
setExtTags(String extTags) |
void |
setLoginIds(String loginIds) |
void |
setTitle(String title) |
AlipayOpenPublicMessageContentModifyModel |
title(String title) |
String |
toJson()
Convert an instance of AlipayOpenPublicMessageContentModifyModel 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 AlipayOpenPublicMessageContentModifyModel()
public AlipayOpenPublicMessageContentModifyModel benefit(String benefit)
public void setBenefit(String benefit)
public AlipayOpenPublicMessageContentModifyModel content(String content)
public void setContent(String content)
public AlipayOpenPublicMessageContentModifyModel contentId(String contentId)
public void setContentId(String contentId)
public AlipayOpenPublicMessageContentModifyModel couldComment(String couldComment)
public void setCouldComment(String couldComment)
public AlipayOpenPublicMessageContentModifyModel cover(String cover)
@Nullable public String getCover()
public void setCover(String cover)
public AlipayOpenPublicMessageContentModifyModel ctype(String ctype)
public void setCtype(String ctype)
public AlipayOpenPublicMessageContentModifyModel extTags(String extTags)
public void setExtTags(String extTags)
public AlipayOpenPublicMessageContentModifyModel loginIds(String loginIds)
public void setLoginIds(String loginIds)
public AlipayOpenPublicMessageContentModifyModel title(String title)
public void setTitle(String title)
public AlipayOpenPublicMessageContentModifyModel 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 AlipayOpenPublicMessageContentModifyModelpublic static AlipayOpenPublicMessageContentModifyModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenPublicMessageContentModifyModelpublic String toJson()
Copyright © 2024. All rights reserved.