public class Resource extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Resource() | 
| Resource(Resource 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 | 
|---|---|
| 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Resource()
public Resource(Resource source)
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 © 2025. All rights reserved.