Class User


public class User extends CloudcraftObject
Represents User in Cloudcraft.
  • Constructor Details

  • Method Details

    • getCreatedTime

      public Long getCreatedTime()
      Returns when the user was registered with Cloudcraft.
      Returns:
      creation time in milliseconds since epoch.
    • getUpdatedTime

      public Long getUpdatedTime()
      Returns when the user account was last updated.
      Returns:
      updated time in milliseconds since epoch.
    • getLastAccessedTime

      public Long getLastAccessedTime()
      Returns when the user last access Cloudcraft.
      Returns:
      last accessed time in milliseconds since epoch.
    • getId

      public String getId()
      Cloudcraft issued unique identifier.
    • getName

      public String getName()
      Name of the user.
    • getEmail

      public String getEmail()
      Email of the user.
    • getSettings

      public Object getSettings()
      User settings configured in Cloudcraft. Settings will be in JSON tree.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object