public class IotaAttachToTangleRequest extends IotaCommandRequest
Modifier and Type | Method and Description |
---|---|
static IotaAttachToTangleRequest |
createAttachToTangleRequest(String trunkTransaction,
String branchTransaction,
Integer minWeightMagnitude,
String... trytes)
Initializes a new instance of the IotaAttachedToTangleRequest class.
|
String |
getBranchTransaction()
Gets the branch transaction.
|
Integer |
getMinWeightMagnitude()
Gets the min weight magnitude.
|
String |
getTrunkTransaction()
Gets the trunk transaction.
|
String[] |
getTrytes()
Gets the trytes.
|
void |
setBranchTransaction(String branchTransaction)
Sets the branch transaction.
|
void |
setMinWeightMagnitude(Integer minWeightMagnitude)
Sets the min weight magnitude.
|
void |
setTrunkTransaction(String trunkTransaction)
Sets the trunk transaction.
|
void |
setTrytes(String[] trytes)
Sets the trytes.
|
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequest
public static IotaAttachToTangleRequest createAttachToTangleRequest(String trunkTransaction, String branchTransaction, Integer minWeightMagnitude, String... trytes)
trunkTransaction
- branchTransaction
- minWeightMagnitude
- trytes
- public String getTrunkTransaction()
public void setTrunkTransaction(String trunkTransaction)
trunkTransaction
- The trunk transaction.public String getBranchTransaction()
public void setBranchTransaction(String branchTransaction)
branchTransaction
- the branch transaction.public Integer getMinWeightMagnitude()
public void setMinWeightMagnitude(Integer minWeightMagnitude)
minWeightMagnitude
- The min weight magnitude.public String[] getTrytes()
public void setTrytes(String[] trytes)
trytes
- The trytes.Copyright © 2018. All rights reserved.