Package io.gs2.matchmaking.model
Class Rating
java.lang.Object
io.gs2.matchmaking.model.Rating
- All Implemented Interfaces:
IModel,Serializable,Comparable<Rating>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic RatingfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetCreatedAt(Long createdAt) voidvoidsetRateValue(Float rateValue) voidsetRatingId(String ratingId) voidsetRevision(Long revision) voidsetUpdatedAt(Long updatedAt) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withRateValue(Float rateValue) withRatingId(String ratingId) withRevision(Long revision) withUpdatedAt(Long updatedAt) withUserId(String userId)
-
Constructor Details
-
Rating
public Rating()
-
-
Method Details
-
getRatingId
-
setRatingId
-
withRatingId
-
getName
-
setName
-
withName
-
getUserId
-
setUserId
-
withUserId
-
getRateValue
-
setRateValue
-
withRateValue
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Rating>
-
hashCode
public int hashCode() -
equals
-