Package io.getstream.chat.android.models
Class Vote
-
- All Implemented Interfaces:
@Immutable() public final class VoteThe Vote object represents a vote in a poll.
-
-
Method Summary
Modifier and Type Method Description final StringgetId()The unique identifier of the vote. final StringgetPollId()The unique identifier of the poll. final StringgetOptionId()The unique identifier of the voted option. final DategetCreatedAt()The creation date of the vote. final DategetUpdatedAt()The last update date of the vote. final UsergetUser()The user who cast the vote. -
-
Method Detail
-
getOptionId
final String getOptionId()
The unique identifier of the voted option.
-
getCreatedAt
final Date getCreatedAt()
The creation date of the vote.
-
getUpdatedAt
final Date getUpdatedAt()
The last update date of the vote.
-
-
-
-