Class QueryChainMakerDemoBlockTransactionResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tbaas.v20180416.models.QueryChainMakerDemoBlockTransactionResponse
-
public class QueryChainMakerDemoBlockTransactionResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBlockHeight()Get 区块高度LonggetBlockTimestamp()Get 区块时间戳,单位是秒StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。ChainMakerTransactionResult[]getResult()Get 区块交易 注意:此字段可能返回 null,表示取不到有效值。LonggetTxCount()Get 交易数量 注意:此字段可能返回 null,表示取不到有效值。voidsetBlockHeight(Long BlockHeight)Set 区块高度voidsetBlockTimestamp(Long BlockTimestamp)Set 区块时间戳,单位是秒voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetResult(ChainMakerTransactionResult[] Result)Set 区块交易 注意:此字段可能返回 null,表示取不到有效值。voidsetTxCount(Long TxCount)Set 交易数量 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
QueryChainMakerDemoBlockTransactionResponse
public QueryChainMakerDemoBlockTransactionResponse()
-
QueryChainMakerDemoBlockTransactionResponse
public 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.
-
-
Method Detail
-
getResult
public ChainMakerTransactionResult[] getResult()
Get 区块交易 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Result 区块交易 注意:此字段可能返回 null,表示取不到有效值。
-
setResult
public void setResult(ChainMakerTransactionResult[] Result)
Set 区块交易 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Result- 区块交易 注意:此字段可能返回 null,表示取不到有效值。
-
getBlockHeight
public Long getBlockHeight()
Get 区块高度- Returns:
- BlockHeight 区块高度
-
setBlockHeight
public void setBlockHeight(Long BlockHeight)
Set 区块高度- Parameters:
BlockHeight- 区块高度
-
getTxCount
public Long getTxCount()
Get 交易数量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TxCount 交易数量 注意:此字段可能返回 null,表示取不到有效值。
-
setTxCount
public void setTxCount(Long TxCount)
Set 交易数量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TxCount- 交易数量 注意:此字段可能返回 null,表示取不到有效值。
-
getBlockTimestamp
public Long getBlockTimestamp()
Get 区块时间戳,单位是秒- Returns:
- BlockTimestamp 区块时间戳,单位是秒
-
setBlockTimestamp
public void setBlockTimestamp(Long BlockTimestamp)
Set 区块时间戳,单位是秒- Parameters:
BlockTimestamp- 区块时间戳,单位是秒
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-