Package io.getstream.core.models
Class ProfileData
- java.lang.Object
-
- io.getstream.core.models.ProfileData
-
public class ProfileData extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProfileData(java.lang.String id, int followingCount, int followersCount, java.util.Map<java.lang.String,java.lang.Object> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
<T> T
get(java.lang.String key)
java.util.Map<java.lang.String,java.lang.Object>
getData()
int
getFollowersCount()
int
getFollowingCount()
java.lang.String
getID()
int
hashCode()
<T> ProfileData
set(java.lang.String key, T value)
java.lang.String
toString()
-
-
-
Method Detail
-
getID
public java.lang.String getID()
-
getFollowersCount
public int getFollowersCount()
-
getFollowingCount
public int getFollowingCount()
-
getData
public java.util.Map<java.lang.String,java.lang.Object> getData()
-
get
public <T> T get(java.lang.String key)
-
set
public <T> ProfileData set(java.lang.String key, T value)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-