Package net.osslabz.lnd.dto
Class LnrpcClosedChannelUpdate
java.lang.Object
net.osslabz.lnd.dto.LnrpcClosedChannelUpdate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcClosedChannelUpdate
extends Object
LnrpcClosedChannelUpdate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchanPoint(LnrpcChannelPoint chanPoint) closedHeight(Long closedHeight) booleanGet capacityThe unique channel ID for the channel.Get chanPointGet closedHeightinthashCode()voidsetCapacity(String capacity) voidvoidsetChanPoint(LnrpcChannelPoint chanPoint) voidsetClosedHeight(Long closedHeight) toString()
-
Field Details
-
SERIALIZED_NAME_CHAN_ID
- See Also:
-
SERIALIZED_NAME_CAPACITY
- See Also:
-
SERIALIZED_NAME_CLOSED_HEIGHT
- See Also:
-
SERIALIZED_NAME_CHAN_POINT
- See Also:
-
-
Constructor Details
-
LnrpcClosedChannelUpdate
public LnrpcClosedChannelUpdate()
-
-
Method Details
-
chanId
-
getChanId
The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.- Returns:
- chanId
-
setChanId
-
capacity
-
getCapacity
Get capacity- Returns:
- capacity
-
setCapacity
-
closedHeight
-
getClosedHeight
Get closedHeight- Returns:
- closedHeight
-
setClosedHeight
-
chanPoint
-
getChanPoint
Get chanPoint- Returns:
- chanPoint
-
setChanPoint
-
equals
-
hashCode
public int hashCode() -
toString
-