public class InvokeFabricChaincodeRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
InvokeFabricChaincodeRequest() |
InvokeFabricChaincodeRequest(InvokeFabricChaincodeRequest 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 |
getChaincodeName()
Get 合约名称,可在合约列表或合约详情获取
|
String |
getChannelId()
Get 通道ID,可在通道列表或通道详情获取
|
String |
getClusterId()
Get 网络ID,可在区块链网络详情获取
|
String |
getFuncName()
Get 合约方法
|
String[] |
getFuncParam()
Get 合约方法入参
|
Boolean |
getWithAsyncResult()
Get 是否异步执行,如果异步执行,可使用返回值中的交易TxID查询执行结果
|
void |
setChaincodeName(String ChaincodeName)
Set 合约名称,可在合约列表或合约详情获取
|
void |
setChannelId(String ChannelId)
Set 通道ID,可在通道列表或通道详情获取
|
void |
setClusterId(String ClusterId)
Set 网络ID,可在区块链网络详情获取
|
void |
setFuncName(String FuncName)
Set 合约方法
|
void |
setFuncParam(String[] FuncParam)
Set 合约方法入参
|
void |
setWithAsyncResult(Boolean WithAsyncResult)
Set 是否异步执行,如果异步执行,可使用返回值中的交易TxID查询执行结果
|
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, toJsonString
public InvokeFabricChaincodeRequest()
public InvokeFabricChaincodeRequest(InvokeFabricChaincodeRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 网络ID,可在区块链网络详情获取public String getChannelId()
public void setChannelId(String ChannelId)
ChannelId
- 通道ID,可在通道列表或通道详情获取public String getChaincodeName()
public void setChaincodeName(String ChaincodeName)
ChaincodeName
- 合约名称,可在合约列表或合约详情获取public String getFuncName()
public void setFuncName(String FuncName)
FuncName
- 合约方法public String[] getFuncParam()
public void setFuncParam(String[] FuncParam)
FuncParam
- 合约方法入参public Boolean getWithAsyncResult()
public void setWithAsyncResult(Boolean WithAsyncResult)
WithAsyncResult
- 是否异步执行,如果异步执行,可使用返回值中的交易TxID查询执行结果Copyright © 2024. All rights reserved.