public static final class Attachment.MessagingPollCreation.PollBuilder
extends java.lang.Object
Constructor and Description |
---|
PollBuilder(java.lang.String pollName,
java.lang.String pollDescription,
java.lang.String[] pollOptions,
int finishHeight,
byte votingModel,
byte minNumberOfOptions,
byte maxNumberOfOptions,
byte minRangeValue,
byte maxRangeValue) |
Modifier and Type | Method and Description |
---|---|
Attachment.MessagingPollCreation |
build() |
Attachment.MessagingPollCreation.PollBuilder |
holdingId(long holdingId) |
Attachment.MessagingPollCreation.PollBuilder |
minBalance(byte minBalanceModel,
long minBalance) |
public PollBuilder(java.lang.String pollName, java.lang.String pollDescription, java.lang.String[] pollOptions, int finishHeight, byte votingModel, byte minNumberOfOptions, byte maxNumberOfOptions, byte minRangeValue, byte maxRangeValue)
public Attachment.MessagingPollCreation.PollBuilder minBalance(byte minBalanceModel, long minBalance)
public Attachment.MessagingPollCreation.PollBuilder holdingId(long holdingId)
public Attachment.MessagingPollCreation build()