@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ItemPromoInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ItemPromoInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ITEM_CONSULT_LIST |
static String |
SERIALIZED_NAME_ITEM_COVER_PIC |
static String |
SERIALIZED_NAME_ITEM_DESC |
static String |
SERIALIZED_NAME_ITEM_DETAIL_PIC_LIST |
static String |
SERIALIZED_NAME_ITEM_NAME |
| 构造器和说明 |
|---|
ItemPromoInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
ItemPromoInfo |
addItemConsultListItem(ItemConsultInfo itemConsultListItem) |
ItemPromoInfo |
addItemDetailPicListItem(String itemDetailPicListItem) |
boolean |
equals(Object o) |
static ItemPromoInfo |
fromJson(String jsonString)
Create an instance of ItemPromoInfo 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.
|
List<ItemConsultInfo> |
getItemConsultList()
商品咨询列表
|
String |
getItemCoverPic()
单品封面图
|
String |
getItemDesc()
单品描述
|
List<String> |
getItemDetailPicList()
单品详情图列表
|
String |
getItemName()
单品名称
|
int |
hashCode() |
ItemPromoInfo |
itemConsultList(List<ItemConsultInfo> itemConsultList) |
ItemPromoInfo |
itemCoverPic(String itemCoverPic) |
ItemPromoInfo |
itemDesc(String itemDesc) |
ItemPromoInfo |
itemDetailPicList(List<String> itemDetailPicList) |
ItemPromoInfo |
itemName(String itemName) |
ItemPromoInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setItemConsultList(List<ItemConsultInfo> itemConsultList) |
void |
setItemCoverPic(String itemCoverPic) |
void |
setItemDesc(String itemDesc) |
void |
setItemDetailPicList(List<String> itemDetailPicList) |
void |
setItemName(String itemName) |
String |
toJson()
Convert an instance of ItemPromoInfo 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 static final String SERIALIZED_NAME_ITEM_CONSULT_LIST
public static final String SERIALIZED_NAME_ITEM_COVER_PIC
public static final String SERIALIZED_NAME_ITEM_DETAIL_PIC_LIST
public ItemPromoInfo itemConsultList(List<ItemConsultInfo> itemConsultList)
public ItemPromoInfo addItemConsultListItem(ItemConsultInfo itemConsultListItem)
@Nullable public List<ItemConsultInfo> getItemConsultList()
public void setItemConsultList(List<ItemConsultInfo> itemConsultList)
public ItemPromoInfo itemCoverPic(String itemCoverPic)
public void setItemCoverPic(String itemCoverPic)
public ItemPromoInfo itemDesc(String itemDesc)
public void setItemDesc(String itemDesc)
public ItemPromoInfo itemDetailPicList(List<String> itemDetailPicList)
public ItemPromoInfo addItemDetailPicListItem(String itemDetailPicListItem)
@Nullable public List<String> getItemDetailPicList()
public ItemPromoInfo itemName(String itemName)
public void setItemName(String itemName)
public ItemPromoInfo 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 ItemPromoInfopublic static ItemPromoInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ItemPromoInfopublic String toJson()
Copyright © 2024. All rights reserved.