public class QueryChainMakerDemoBlockTransactionResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
QueryChainMakerDemoBlockTransactionResponse() |
QueryChainMakerDemoBlockTransactionResponse(QueryChainMakerDemoBlockTransactionResponse 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 |
---|---|
Long |
getBlockHeight()
Get 区块高度
|
Long |
getBlockTimestamp()
Get 区块时间戳,单位是秒
|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
ChainMakerTransactionResult[] |
getResult()
Get 区块交易
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTxCount()
Get 交易数量
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setBlockHeight(Long BlockHeight)
Set 区块高度
|
void |
setBlockTimestamp(Long BlockTimestamp)
Set 区块时间戳,单位是秒
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setResult(ChainMakerTransactionResult[] Result)
Set 区块交易
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTxCount(Long TxCount)
Set 交易数量
注意:此字段可能返回 null,表示取不到有效值。
|
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 QueryChainMakerDemoBlockTransactionResponse()
public QueryChainMakerDemoBlockTransactionResponse(QueryChainMakerDemoBlockTransactionResponse source)
public ChainMakerTransactionResult[] getResult()
public void setResult(ChainMakerTransactionResult[] Result)
Result
- 区块交易
注意:此字段可能返回 null,表示取不到有效值。public Long getBlockHeight()
public void setBlockHeight(Long BlockHeight)
BlockHeight
- 区块高度public Long getTxCount()
public void setTxCount(Long TxCount)
TxCount
- 交易数量
注意:此字段可能返回 null,表示取不到有效值。public Long getBlockTimestamp()
public void setBlockTimestamp(Long BlockTimestamp)
BlockTimestamp
- 区块时间戳,单位是秒public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2024. All rights reserved.