@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ArticleCategoryInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ArticleCategoryInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CHILDREN |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_FATHER_ID |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TAGS |
| 构造器和说明 |
|---|
ArticleCategoryInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
ArticleCategoryInfo |
addChildrenItem(String childrenItem) |
ArticleCategoryInfo |
addTagsItem(String tagsItem) |
ArticleCategoryInfo |
children(List<String> children) |
ArticleCategoryInfo |
description(String description) |
boolean |
equals(Object o) |
ArticleCategoryInfo |
fatherId(Integer fatherId) |
static ArticleCategoryInfo |
fromJson(String jsonString)
Create an instance of ArticleCategoryInfo 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.
|
List<String> |
getChildren()
子节点
|
String |
getDescription()
节点描述
|
Integer |
getFatherId()
父节点ID
|
Integer |
getId()
类目ID
|
String |
getName()
节点名称
|
List<String> |
getTags()
标签
|
int |
hashCode() |
ArticleCategoryInfo |
id(Integer id) |
ArticleCategoryInfo |
name(String name) |
ArticleCategoryInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setChildren(List<String> children) |
void |
setDescription(String description) |
void |
setFatherId(Integer fatherId) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setTags(List<String> tags) |
ArticleCategoryInfo |
tags(List<String> tags) |
String |
toJson()
Convert an instance of ArticleCategoryInfo 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 ArticleCategoryInfo children(List<String> children)
public ArticleCategoryInfo addChildrenItem(String childrenItem)
public ArticleCategoryInfo description(String description)
public void setDescription(String description)
public ArticleCategoryInfo fatherId(Integer fatherId)
public void setFatherId(Integer fatherId)
public ArticleCategoryInfo id(Integer id)
public void setId(Integer id)
public ArticleCategoryInfo name(String name)
public void setName(String name)
public ArticleCategoryInfo tags(List<String> tags)
public ArticleCategoryInfo addTagsItem(String tagsItem)
public ArticleCategoryInfo 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 ArticleCategoryInfopublic static ArticleCategoryInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ArticleCategoryInfopublic String toJson()
Copyright © 2024. All rights reserved.