@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class SpuDetail extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SpuDetail.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BRAND |
static String |
SERIALIZED_NAME_CATEGORY |
static String |
SERIALIZED_NAME_DIMENSION |
static String |
SERIALIZED_NAME_ICON |
static String |
SERIALIZED_NAME_LINK_URL |
static String |
SERIALIZED_NAME_SPU_ID |
static String |
SERIALIZED_NAME_TITLE |
| 构造器和说明 |
|---|
SpuDetail() |
| 限定符和类型 | 方法和说明 |
|---|---|
SpuDetail |
brand(String brand) |
SpuDetail |
category(String category) |
SpuDetail |
dimension(String dimension) |
boolean |
equals(Object o) |
static SpuDetail |
fromJson(String jsonString)
Create an instance of SpuDetail 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 |
getBrand()
商品品牌
|
String |
getCategory()
商品类目
|
String |
getDimension()
商品规格
|
String |
getIcon()
商品图片地址
|
String |
getLinkUrl()
商品链接
|
String |
getSpuId()
商品ID
|
String |
getTitle()
商品名称
|
int |
hashCode() |
SpuDetail |
icon(String icon) |
SpuDetail |
linkUrl(String linkUrl) |
SpuDetail |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBrand(String brand) |
void |
setCategory(String category) |
void |
setDimension(String dimension) |
void |
setIcon(String icon) |
void |
setLinkUrl(String linkUrl) |
void |
setSpuId(String spuId) |
void |
setTitle(String title) |
SpuDetail |
spuId(String spuId) |
SpuDetail |
title(String title) |
String |
toJson()
Convert an instance of SpuDetail 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 void setBrand(String brand)
public void setCategory(String category)
public void setDimension(String dimension)
public void setIcon(String icon)
public void setLinkUrl(String linkUrl)
public void setSpuId(String spuId)
public void setTitle(String title)
public SpuDetail 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 SpuDetailpublic static SpuDetail fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to SpuDetailpublic String toJson()
Copyright © 2024. All rights reserved.