Class Resource
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cme.v20191029.models.Resource
-
public class Resource extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Resource
public Resource()
-
Resource
public 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.
-
-
Method Detail
-
getType
public String getType()
Get 类型,取值有:- MATERIAL:素材。
- CLASS:分类。
- Returns:
- Type 类型,取值有:
- MATERIAL:素材。
- CLASS:分类。
-
setType
public void setType(String Type)
Set 类型,取值有:- MATERIAL:素材。
- CLASS:分类。
- Parameters:
Type
- 类型,取值有:- MATERIAL:素材。
- CLASS:分类。
-
getId
public String getId()
Get 资源 Id,当 Type 为 MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。- Returns:
- Id 资源 Id,当 Type 为 MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。
-
setId
public void setId(String Id)
Set 资源 Id,当 Type 为 MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。- Parameters:
Id
- 资源 Id,当 Type 为 MATERIAL 时,取值为素材 Id;当 Type 为 CLASS 时,取值为分类路径 ClassPath。
-
-