Class ChainData
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trp.v20210515.models.ChainData
-
public class ChainData extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBlockHash()Get 区块hash 注意:此字段可能返回 null,表示取不到有效值。StringgetBlockHeight()Get 区块高度 注意:此字段可能返回 null,表示取不到有效值。StringgetBlockTime()Get 区块时间 注意:此字段可能返回 null,表示取不到有效值。voidsetBlockHash(String BlockHash)Set 区块hash 注意:此字段可能返回 null,表示取不到有效值。voidsetBlockHeight(String BlockHeight)Set 区块高度 注意:此字段可能返回 null,表示取不到有效值。voidsetBlockTime(String BlockTime)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
-
ChainData
public ChainData()
-
ChainData
public ChainData(ChainData 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
-
getBlockHash
public String getBlockHash()
Get 区块hash 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BlockHash 区块hash 注意:此字段可能返回 null,表示取不到有效值。
-
setBlockHash
public void setBlockHash(String BlockHash)
Set 区块hash 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BlockHash- 区块hash 注意:此字段可能返回 null,表示取不到有效值。
-
getBlockHeight
public String getBlockHeight()
Get 区块高度 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BlockHeight 区块高度 注意:此字段可能返回 null,表示取不到有效值。
-
setBlockHeight
public void setBlockHeight(String BlockHeight)
Set 区块高度 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BlockHeight- 区块高度 注意:此字段可能返回 null,表示取不到有效值。
-
getBlockTime
public String getBlockTime()
Get 区块时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BlockTime 区块时间 注意:此字段可能返回 null,表示取不到有效值。
-
setBlockTime
public void setBlockTime(String BlockTime)
Set 区块时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BlockTime- 区块时间 注意:此字段可能返回 null,表示取不到有效值。
-
-