public class DescribeFabricBlockResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeFabricBlockResponse() |
DescribeFabricBlockResponse(DescribeFabricBlockResponse 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 |
getBlockHash()
Get 区块Hash
|
Long |
getBlockHeight()
Get 区块高度
|
String |
getCreateTimestamp()
Get 创建时间戳
|
String |
getPreBlockHash()
Get 前置区块Hash
|
String |
getProposerOrg()
Get 提案组织
|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
Transaction[] |
getTransactionList()
Get 区块中交易列表
|
Long |
getTxCount()
Get 区块中交易数量
|
void |
setBlockHash(String BlockHash)
Set 区块Hash
|
void |
setBlockHeight(Long BlockHeight)
Set 区块高度
|
void |
setCreateTimestamp(String CreateTimestamp)
Set 创建时间戳
|
void |
setPreBlockHash(String PreBlockHash)
Set 前置区块Hash
|
void |
setProposerOrg(String ProposerOrg)
Set 提案组织
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setTransactionList(Transaction[] TransactionList)
Set 区块中交易列表
|
void |
setTxCount(Long TxCount)
Set 区块中交易数量
|
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 DescribeFabricBlockResponse()
public DescribeFabricBlockResponse(DescribeFabricBlockResponse source)
public Long getBlockHeight()
public void setBlockHeight(Long BlockHeight)
BlockHeight
- 区块高度public String getBlockHash()
public void setBlockHash(String BlockHash)
BlockHash
- 区块Hashpublic String getPreBlockHash()
public void setPreBlockHash(String PreBlockHash)
PreBlockHash
- 前置区块Hashpublic Long getTxCount()
public void setTxCount(Long TxCount)
TxCount
- 区块中交易数量public Transaction[] getTransactionList()
public void setTransactionList(Transaction[] TransactionList)
TransactionList
- 区块中交易列表public String getCreateTimestamp()
public void setCreateTimestamp(String CreateTimestamp)
CreateTimestamp
- 创建时间戳public String getProposerOrg()
public void setProposerOrg(String ProposerOrg)
ProposerOrg
- 提案组织public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2024. All rights reserved.