public class Resource extends AbstractModel
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get 资源 Id,当 Type 为 MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。
|
String |
getType()
Get 类型,取值有:
MATERIAL:素材。
CLASS:分类。
|
void |
setId(String Id)
Set 资源 Id,当 Type 为 MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。
|
void |
setType(String Type)
Set 类型,取值有:
MATERIAL:素材。
CLASS:分类。
|
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, toJsonString
public String getType()
public void setType(String Type)
Type
- 类型,取值有:
public String getId()
public void setId(String Id)
Id
- 资源 Id,当 Type 为 MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。Copyright © 2020. All rights reserved.