@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class MiniAppCategoryInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MiniAppCategoryInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FIRST_CATEGORY_ID |
static String |
SERIALIZED_NAME_FIRST_CATEGORY_NAME |
static String |
SERIALIZED_NAME_SECOND_CATEGORY_ID |
static String |
SERIALIZED_NAME_SECOND_CATEGORY_NAME |
static String |
SERIALIZED_NAME_THIRD_CATEGORY_ID |
static String |
SERIALIZED_NAME_THIRD_CATEGORY_NAME |
| 构造器和说明 |
|---|
MiniAppCategoryInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
MiniAppCategoryInfo |
firstCategoryId(String firstCategoryId) |
MiniAppCategoryInfo |
firstCategoryName(String firstCategoryName) |
static MiniAppCategoryInfo |
fromJson(String jsonString)
Create an instance of MiniAppCategoryInfo 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 |
getFirstCategoryId()
一级类目id
|
String |
getFirstCategoryName()
一级类目名称
|
String |
getSecondCategoryId()
二级类目id
|
String |
getSecondCategoryName()
二级类目名称
|
String |
getThirdCategoryId()
三级类目id,可空
|
String |
getThirdCategoryName()
三级类目名称,可空
|
int |
hashCode() |
MiniAppCategoryInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MiniAppCategoryInfo |
secondCategoryId(String secondCategoryId) |
MiniAppCategoryInfo |
secondCategoryName(String secondCategoryName) |
void |
setFirstCategoryId(String firstCategoryId) |
void |
setFirstCategoryName(String firstCategoryName) |
void |
setSecondCategoryId(String secondCategoryId) |
void |
setSecondCategoryName(String secondCategoryName) |
void |
setThirdCategoryId(String thirdCategoryId) |
void |
setThirdCategoryName(String thirdCategoryName) |
MiniAppCategoryInfo |
thirdCategoryId(String thirdCategoryId) |
MiniAppCategoryInfo |
thirdCategoryName(String thirdCategoryName) |
String |
toJson()
Convert an instance of MiniAppCategoryInfo 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_FIRST_CATEGORY_ID
public static final String SERIALIZED_NAME_FIRST_CATEGORY_NAME
public static final String SERIALIZED_NAME_SECOND_CATEGORY_ID
public static final String SERIALIZED_NAME_SECOND_CATEGORY_NAME
public static final String SERIALIZED_NAME_THIRD_CATEGORY_ID
public static final String SERIALIZED_NAME_THIRD_CATEGORY_NAME
public MiniAppCategoryInfo firstCategoryId(String firstCategoryId)
public void setFirstCategoryId(String firstCategoryId)
public MiniAppCategoryInfo firstCategoryName(String firstCategoryName)
public void setFirstCategoryName(String firstCategoryName)
public MiniAppCategoryInfo secondCategoryId(String secondCategoryId)
public void setSecondCategoryId(String secondCategoryId)
public MiniAppCategoryInfo secondCategoryName(String secondCategoryName)
public void setSecondCategoryName(String secondCategoryName)
public MiniAppCategoryInfo thirdCategoryId(String thirdCategoryId)
public void setThirdCategoryId(String thirdCategoryId)
public MiniAppCategoryInfo thirdCategoryName(String thirdCategoryName)
public void setThirdCategoryName(String thirdCategoryName)
public MiniAppCategoryInfo 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 MiniAppCategoryInfopublic static MiniAppCategoryInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to MiniAppCategoryInfopublic String toJson()
Copyright © 2024. All rights reserved.