Package io.gs2.account.model
Class Account
java.lang.Object
io.gs2.account.model.Account
- All Implemented Interfaces:
IModel,Serializable,Comparable<Account>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic AccountfromJson(com.fasterxml.jackson.databind.JsonNode data) inthashCode()voidsetAccountId(String accountId) voidvoidsetCreatedAt(Long createdAt) voidsetPassword(String password) voidsetRevision(Long revision) voidsetTimeOffset(Integer timeOffset) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withAccountId(String accountId) withBanned(Boolean banned) withCreatedAt(Long createdAt) withPassword(String password) withRevision(Long revision) withTimeOffset(Integer timeOffset) withUserId(String userId)
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
getAccountId
-
setAccountId
-
withAccountId
-
getUserId
-
setUserId
-
withUserId
-
getPassword
-
setPassword
-
withPassword
-
getTimeOffset
-
setTimeOffset
-
withTimeOffset
-
getBanned
-
setBanned
-
withBanned
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Account>
-
hashCode
public int hashCode() -
equals
-