public class ResourceRef extends AbstractModel
header, skipSign| 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 0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件
|
void |
setResourceId(String ResourceId)
Set 资源ID
|
void |
setType(Long Type)
Set 引用资源类型,例如主资源设置为1,代表main class所在的jar包
|
void |
setVersion(Long Version)
Set 0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件
|
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 ResourceRef()
public ResourceRef(ResourceRef source)
public String getResourceId()
public void setResourceId(String ResourceId)
ResourceId - 资源IDpublic Long getVersion()
public void setVersion(Long Version)
Version - 0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件public Long getType()
public void setType(Long Type)
Type - 引用资源类型,例如主资源设置为1,代表main class所在的jar包Copyright © 2025. All rights reserved.