@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class GoodsDetailIstd extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GoodsDetailIstd.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_COUNT |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_PRICE |
static String |
SERIALIZED_NAME_UNIT |
| 构造器和说明 |
|---|
GoodsDetailIstd() |
| 限定符和类型 | 方法和说明 |
|---|---|
GoodsDetailIstd |
count(Integer count) |
boolean |
equals(Object o) |
static GoodsDetailIstd |
fromJson(String jsonString)
Create an instance of GoodsDetailIstd 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.
|
Integer |
getCount()
商品数量
|
String |
getName()
商品名称
|
String |
getPrice()
商品单价
|
String |
getUnit()
商品单位
|
int |
hashCode() |
GoodsDetailIstd |
name(String name) |
GoodsDetailIstd |
price(String price) |
GoodsDetailIstd |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCount(Integer count) |
void |
setName(String name) |
void |
setPrice(String price) |
void |
setUnit(String unit) |
String |
toJson()
Convert an instance of GoodsDetailIstd to an JSON string
|
String |
toString() |
GoodsDetailIstd |
unit(String unit) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public GoodsDetailIstd count(Integer count)
public void setCount(Integer count)
public GoodsDetailIstd name(String name)
public void setName(String name)
public GoodsDetailIstd price(String price)
public void setPrice(String price)
public GoodsDetailIstd unit(String unit)
public void setUnit(String unit)
public GoodsDetailIstd 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 GoodsDetailIstdpublic static GoodsDetailIstd fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to GoodsDetailIstdpublic String toJson()
Copyright © 2024. All rights reserved.