SBDPollDetails Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCopying SBDMappable |
Declared in | SBDPollDetails.h |
data
An additional data to accompany the poll.
@property (nonatomic, strong, readonly, nullable) SBDPollData *data
Declared In
SBDPollDetails.h
voterCount
Number of voters who casted a vote on the poll
@property (atomic, assign, readonly) NSInteger voterCount
Declared In
SBDPollDetails.h
options
Possible options for which a user can vote
@property (nonatomic, strong, readonly) NSArray<SBDPollOption*> *options
Declared In
SBDPollDetails.h
votedOptionIds
Current user’s voted option list
@property (nonatomic, strong, readonly) NSArray<NSNumber*> *votedOptionIds
Declared In
SBDPollDetails.h
createdBy
User id who creates this poll
@property (nonatomic, strong, readonly, nullable) NSString *createdBy
Declared In
SBDPollDetails.h
isAnonymous
Whether to make the votes anonymous
@property (atomic, assign, readonly) BOOL isAnonymous
Declared In
SBDPollDetails.h
allowUserSuggestion
Whether to allow user-suggested options
@property (atomic, assign, readonly) BOOL allowUserSuggestion
Declared In
SBDPollDetails.h
allowMutipleVotes
Whether to allow multiple vote casting
@property (atomic, assign, readonly) BOOL allowMutipleVotes
Declared In
SBDPollDetails.h
createdAt
Unix timestamp at which the poll is created (millisecond)
@property (atomic, assign, readonly) long long createdAt
Declared In
SBDPollDetails.h
updatedAt
Unix timestamp at which the poll is updated (millisecond)
@property (atomic, assign, readonly) long long updatedAt
Declared In
SBDPollDetails.h
closeAt
Unix timestamp at which the poll has closed or will close (second)
@property (atomic, assign, readonly) long long closeAt
Declared In
SBDPollDetails.h
status
Whether the poll is closed
@property (nonatomic, assign, readonly) SBDPollStatus status
Declared In
SBDPollDetails.h