java.lang.Object
dev.getelements.elements.sdk.model.profile.Profile
All Implemented Interfaces:
Serializable

public class Profile extends Object implements Serializable
Represents a user's profile. Generally speaking a profile associates the Application and the User together. Multiple profiles linking the same user to the same application should not exist together. Created by patricktwohig on 6/27/17.
See Also:
  • Field Details

  • Constructor Details

    • Profile

      public Profile()
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getUser

      public User getUser()
    • setUser

      public void setUser(User user)
    • getApplication

      public Application getApplication()
    • setApplication

      public void setApplication(Application application)
    • getImageUrl

      public String getImageUrl()
    • setImageUrl

      public void setImageUrl(String imageUrl)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getMetadata

      public Map<String,Object> getMetadata()
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
    • getLastLogin

      public long getLastLogin()
    • setLastLogin

      public void setLastLogin(long lastLogin)
    • getImageObject

      public LargeObjectReference getImageObject()
    • setImageObject

      public void setImageObject(LargeObjectReference imageObject)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object