Package co.cloudcraft.model
Class User
java.lang.Object
co.cloudcraft.model.CloudcraftObject
co.cloudcraft.model.User
Represents User in Cloudcraft.
-
Field Summary
Fields inherited from class co.cloudcraft.model.CloudcraftObject
eTag, GSON, PRETTY_PRINT_GSON, serialVersionUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanReturns when the user was registered with Cloudcraft.getEmail()Email of the user.getId()Cloudcraft issued unique identifier.Returns when the user last access Cloudcraft.getName()Name of the user.User settings configured in Cloudcraft.Returns when the user account was last updated.inthashCode()toString()Methods inherited from class co.cloudcraft.model.CloudcraftObject
convertDateStringToInstant, getETag, prettyPrint, setETag, toJson
-
Constructor Details
-
User
-
-
Method Details
-
getCreatedTime
Returns when the user was registered with Cloudcraft.- Returns:
- creation time in milliseconds since epoch.
-
getUpdatedTime
Returns when the user account was last updated.- Returns:
- updated time in milliseconds since epoch.
-
getLastAccessedTime
Returns when the user last access Cloudcraft.- Returns:
- last accessed time in milliseconds since epoch.
-
getId
Cloudcraft issued unique identifier. -
getName
Name of the user. -
getEmail
Email of the user. -
getSettings
User settings configured in Cloudcraft. Settings will be in JSON tree. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-