public class ResourceRef extends AbstractModel
Constructor and Description |
---|
ResourceRef() |
ResourceRef(ResourceRef 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 |
getResourceId()
Get 资源ID
|
Long |
getType()
Get 引用资源类型,例如主资源设置为1,代表main class所在的jar包
|
Long |
getVersion()
Get 资源版本ID,-1表示使用最新版本
|
void |
setResourceId(String ResourceId)
Set 资源ID
|
void |
setType(Long Type)
Set 引用资源类型,例如主资源设置为1,代表main class所在的jar包
|
void |
setVersion(Long Version)
Set 资源版本ID,-1表示使用最新版本
|
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 ResourceRef()
public ResourceRef(ResourceRef source)
public String getResourceId()
public void setResourceId(String ResourceId)
ResourceId
- 资源IDpublic Long getVersion()
public void setVersion(Long Version)
Version
- 资源版本ID,-1表示使用最新版本public Long getType()
public void setType(Long Type)
Type
- 引用资源类型,例如主资源设置为1,代表main class所在的jar包Copyright © 2021. All rights reserved.