public class MediaClassInfo extends AbstractModel
| Constructor and Description |
|---|
MediaClassInfo() |
MediaClassInfo(MediaClassInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getClassId()
Get The category ID.
|
String |
getClassName()
Get The category name.
|
Long |
getLevel()
Get Category level.
|
String |
getName()
Get The category name.
|
Long |
getParentId()
Get Parent category ID, which is -1 for a first-level category.
|
Long[] |
getSubClassIdSet()
Get The IDs of the immediate subcategories of the current category.
|
void |
setClassId(Long ClassId)
Set The category ID.
|
void |
setClassName(String ClassName)
Set The category name.
|
void |
setLevel(Long Level)
Set Category level.
|
void |
setName(String Name)
Set The category name.
|
void |
setParentId(Long ParentId)
Set Parent category ID, which is -1 for a first-level category.
|
void |
setSubClassIdSet(Long[] SubClassIdSet)
Set The IDs of the immediate subcategories of the current category.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic MediaClassInfo()
public MediaClassInfo(MediaClassInfo source)
public Long getClassId()
public void setClassId(Long ClassId)
ClassId - The category ID.public Long getParentId()
public void setParentId(Long ParentId)
ParentId - Parent category ID, which is -1 for a first-level category.public String getName()
public void setName(String Name)
Name - The category name.public Long getLevel()
public void setLevel(Long Level)
Level - Category level. 0 for first-level category, up to 3, i.e., up to 4 levels of categories are allowed.public Long[] getSubClassIdSet()
public void setSubClassIdSet(Long[] SubClassIdSet)
SubClassIdSet - The IDs of the immediate subcategories of the current category.public String getClassName()
public void setClassName(String ClassName)
ClassName - The category name. This parameter is not recommended. Please use `Name` instead.Copyright © 2022. All rights reserved.