Package io.gs2.matchmaking.model
Class Vote
java.lang.Object
io.gs2.matchmaking.model.Vote
- All Implemented Interfaces:
IModel,Serializable,Comparable<Vote>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic VotefromJson(com.fasterxml.jackson.databind.JsonNode data) inthashCode()voidsetCreatedAt(Long createdAt) voidsetGatheringName(String gatheringName) voidsetRatingName(String ratingName) voidsetUpdatedAt(Long updatedAt) voidvoidsetWrittenBallots(List<WrittenBallot> writtenBallots) com.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withGatheringName(String gatheringName) withRatingName(String ratingName) withUpdatedAt(Long updatedAt) withVoteId(String voteId) withWrittenBallots(List<WrittenBallot> writtenBallots)
-
Constructor Details
-
Vote
public Vote()
-
-
Method Details
-
getVoteId
-
setVoteId
-
withVoteId
-
getRatingName
-
setRatingName
-
withRatingName
-
getGatheringName
-
setGatheringName
-
withGatheringName
-
getWrittenBallots
-
setWrittenBallots
-
withWrittenBallots
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Vote>
-
hashCode
public int hashCode() -
equals
-