@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class MiniAppCategory extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MiniAppCategory.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CATEGORY_ID |
static String |
SERIALIZED_NAME_CATEGORY_NAME |
static String |
SERIALIZED_NAME_HAS_CHILD |
static String |
SERIALIZED_NAME_NEED_LICENSE |
static String |
SERIALIZED_NAME_NEED_OUT_DOOR_PIC |
static String |
SERIALIZED_NAME_NEED_SPECIAL_LICENSE |
static String |
SERIALIZED_NAME_PARENT_CATEGORY_ID |
| 构造器和说明 |
|---|
MiniAppCategory() |
| 限定符和类型 | 方法和说明 |
|---|---|
MiniAppCategory |
categoryId(String categoryId) |
MiniAppCategory |
categoryName(String categoryName) |
boolean |
equals(Object o) |
static MiniAppCategory |
fromJson(String jsonString)
Create an instance of MiniAppCategory 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 |
getCategoryId()
类目id
|
String |
getCategoryName()
类目名称
|
Boolean |
getHasChild()
是否有子类目
|
Boolean |
getNeedLicense()
是否需要营业执照
|
Boolean |
getNeedOutDoorPic()
是否需要门头照
|
Boolean |
getNeedSpecialLicense()
是否需要特许营业执照
|
String |
getParentCategoryId()
父类目id
|
MiniAppCategory |
hasChild(Boolean hasChild) |
int |
hashCode() |
MiniAppCategory |
needLicense(Boolean needLicense) |
MiniAppCategory |
needOutDoorPic(Boolean needOutDoorPic) |
MiniAppCategory |
needSpecialLicense(Boolean needSpecialLicense) |
MiniAppCategory |
parentCategoryId(String parentCategoryId) |
MiniAppCategory |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCategoryId(String categoryId) |
void |
setCategoryName(String categoryName) |
void |
setHasChild(Boolean hasChild) |
void |
setNeedLicense(Boolean needLicense) |
void |
setNeedOutDoorPic(Boolean needOutDoorPic) |
void |
setNeedSpecialLicense(Boolean needSpecialLicense) |
void |
setParentCategoryId(String parentCategoryId) |
String |
toJson()
Convert an instance of MiniAppCategory 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_NEED_OUT_DOOR_PIC
public static final String SERIALIZED_NAME_NEED_SPECIAL_LICENSE
public static final String SERIALIZED_NAME_PARENT_CATEGORY_ID
public MiniAppCategory categoryId(String categoryId)
public void setCategoryId(String categoryId)
public MiniAppCategory categoryName(String categoryName)
public void setCategoryName(String categoryName)
public MiniAppCategory hasChild(Boolean hasChild)
public void setHasChild(Boolean hasChild)
public MiniAppCategory needLicense(Boolean needLicense)
public void setNeedLicense(Boolean needLicense)
public MiniAppCategory needOutDoorPic(Boolean needOutDoorPic)
public void setNeedOutDoorPic(Boolean needOutDoorPic)
public MiniAppCategory needSpecialLicense(Boolean needSpecialLicense)
@Nullable public Boolean getNeedSpecialLicense()
public void setNeedSpecialLicense(Boolean needSpecialLicense)
public MiniAppCategory parentCategoryId(String parentCategoryId)
public void setParentCategoryId(String parentCategoryId)
public MiniAppCategory 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 MiniAppCategorypublic static MiniAppCategory fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to MiniAppCategorypublic String toJson()
Copyright © 2024. All rights reserved.