@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ItemModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ItemModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATOR_ID |
static String |
SERIALIZED_NAME_CREATOR_TYPE |
static String |
SERIALIZED_NAME_EXT_INFO |
static String |
SERIALIZED_NAME_FRONT_CATEGORY_ID |
static String |
SERIALIZED_NAME_GMT_CREATE |
static String |
SERIALIZED_NAME_GMT_MODIFIED |
static String |
SERIALIZED_NAME_ITEM_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_SKU_LIST |
static String |
SERIALIZED_NAME_SORT |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_TARGET_ID |
static String |
SERIALIZED_NAME_TARGET_TYPE |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
ItemModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
ItemModel |
addSkuListItem(ItemSkuInfo skuListItem) |
ItemModel |
creatorId(String creatorId) |
ItemModel |
creatorType(String creatorType) |
boolean |
equals(Object o) |
ItemModel |
extInfo(String extInfo) |
static ItemModel |
fromJson(String jsonString)
Create an instance of ItemModel given an JSON string
|
ItemModel |
frontCategoryId(String frontCategoryId) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCreatorId()
创建者id
|
String |
getCreatorType()
创建者类型
|
String |
getExtInfo()
商品扩展信息:可以解析成 Map<String, String> 的 json string
|
String |
getFrontCategoryId()
前台类目id
|
String |
getGmtCreate()
商品创建时间
|
String |
getGmtModified()
商品更新时间
|
String |
getItemId()
商品id
|
String |
getName()
商品名称
|
List<ItemSkuInfo> |
getSkuList()
商品sku列表
|
Integer |
getSort()
商品排序
|
String |
getStatus()
商品状态
|
String |
getTargetId()
商户归属主体id
|
String |
getTargetType()
商品归属主体类型:5(商铺)
|
String |
getType()
商品类型
|
ItemModel |
gmtCreate(String gmtCreate) |
ItemModel |
gmtModified(String gmtModified) |
int |
hashCode() |
ItemModel |
itemId(String itemId) |
ItemModel |
name(String name) |
ItemModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCreatorId(String creatorId) |
void |
setCreatorType(String creatorType) |
void |
setExtInfo(String extInfo) |
void |
setFrontCategoryId(String frontCategoryId) |
void |
setGmtCreate(String gmtCreate) |
void |
setGmtModified(String gmtModified) |
void |
setItemId(String itemId) |
void |
setName(String name) |
void |
setSkuList(List<ItemSkuInfo> skuList) |
void |
setSort(Integer sort) |
void |
setStatus(String status) |
void |
setTargetId(String targetId) |
void |
setTargetType(String targetType) |
void |
setType(String type) |
ItemModel |
skuList(List<ItemSkuInfo> skuList) |
ItemModel |
sort(Integer sort) |
ItemModel |
status(String status) |
ItemModel |
targetId(String targetId) |
ItemModel |
targetType(String targetType) |
String |
toJson()
Convert an instance of ItemModel to an JSON string
|
String |
toString() |
ItemModel |
type(String type) |
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_FRONT_CATEGORY_ID
public void setCreatorId(String creatorId)
public void setCreatorType(String creatorType)
@Nullable public String getExtInfo()
public void setExtInfo(String extInfo)
public void setFrontCategoryId(String frontCategoryId)
public void setGmtCreate(String gmtCreate)
public void setGmtModified(String gmtModified)
public void setItemId(String itemId)
public void setName(String name)
public ItemModel skuList(List<ItemSkuInfo> skuList)
public ItemModel addSkuListItem(ItemSkuInfo skuListItem)
@Nullable public List<ItemSkuInfo> getSkuList()
public void setSkuList(List<ItemSkuInfo> skuList)
public void setSort(Integer sort)
public void setStatus(String status)
public void setTargetId(String targetId)
public void setTargetType(String targetType)
public void setType(String type)
public ItemModel 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 ItemModelpublic static ItemModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ItemModelpublic String toJson()
Copyright © 2024. All rights reserved.