@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenPublicTopicCreateModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenPublicTopicCreateModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_IMG_URL |
static String |
SERIALIZED_NAME_LINK_TYPE |
static String |
SERIALIZED_NAME_LINK_URL |
static String |
SERIALIZED_NAME_SUB_TITLE |
static String |
SERIALIZED_NAME_TITLE |
static String |
SERIALIZED_NAME_TOPIC_ITEMS |
| 构造器和说明 |
|---|
AlipayOpenPublicTopicCreateModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenPublicTopicCreateModel |
addTopicItemsItem(TopicItem topicItemsItem) |
boolean |
equals(Object o) |
static AlipayOpenPublicTopicCreateModel |
fromJson(String jsonString)
Create an instance of AlipayOpenPublicTopicCreateModel 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 |
getImgUrl()
营销位图片url, 尺寸为996*450,最大不超过5M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url。
|
String |
getLinkType()
跳转类型,网页:HTTP、小程序:APP,不传默认HTTP
|
String |
getLinkUrl()
营销位跳转地址,点击营销位头图跳到的链接url。
|
String |
getSubTitle()
营销位描述。
|
String |
getTitle()
营销位名称
|
List<TopicItem> |
getTopicItems()
营销位内容,数量限制:大于4个,小于8个
|
int |
hashCode() |
AlipayOpenPublicTopicCreateModel |
imgUrl(String imgUrl) |
AlipayOpenPublicTopicCreateModel |
linkType(String linkType) |
AlipayOpenPublicTopicCreateModel |
linkUrl(String linkUrl) |
AlipayOpenPublicTopicCreateModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setImgUrl(String imgUrl) |
void |
setLinkType(String linkType) |
void |
setLinkUrl(String linkUrl) |
void |
setSubTitle(String subTitle) |
void |
setTitle(String title) |
void |
setTopicItems(List<TopicItem> topicItems) |
AlipayOpenPublicTopicCreateModel |
subTitle(String subTitle) |
AlipayOpenPublicTopicCreateModel |
title(String title) |
String |
toJson()
Convert an instance of AlipayOpenPublicTopicCreateModel to an JSON string
|
AlipayOpenPublicTopicCreateModel |
topicItems(List<TopicItem> topicItems) |
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public AlipayOpenPublicTopicCreateModel imgUrl(String imgUrl)
@Nullable public String getImgUrl()
public void setImgUrl(String imgUrl)
public AlipayOpenPublicTopicCreateModel linkType(String linkType)
public void setLinkType(String linkType)
public AlipayOpenPublicTopicCreateModel linkUrl(String linkUrl)
@Nullable public String getLinkUrl()
public void setLinkUrl(String linkUrl)
public AlipayOpenPublicTopicCreateModel subTitle(String subTitle)
public void setSubTitle(String subTitle)
public AlipayOpenPublicTopicCreateModel title(String title)
public void setTitle(String title)
public AlipayOpenPublicTopicCreateModel topicItems(List<TopicItem> topicItems)
public AlipayOpenPublicTopicCreateModel addTopicItemsItem(TopicItem topicItemsItem)
public AlipayOpenPublicTopicCreateModel 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 AlipayOpenPublicTopicCreateModelpublic static AlipayOpenPublicTopicCreateModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenPublicTopicCreateModelpublic String toJson()
Copyright © 2024. All rights reserved.