public class Topic
extends java.lang.Object
Constructor and Description |
---|
Topic(java.lang.String id,
java.lang.String title,
java.lang.String description,
java.lang.String avatarUrl,
long createdAt,
long updatedAt,
int followersCount,
boolean isFollower,
CommunitiesSettings settings) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAvatarUrl()
Get avatar URL of the topic.
|
long |
getCreatedAt()
Get topic's creation date in seconds in Unix time.
|
java.lang.String |
getDescription()
Get localized description of the topic.
|
int |
getFollowersCount()
Number of followers of the topic.
|
java.lang.String |
getId()
Unique identifier of the topic.
|
CommunitiesSettings |
getSettings()
Get settings for the topic.
|
java.lang.String |
getTitle()
Get localized title of the topic.
|
long |
getUpdatedAt()
Last date when topic was updated.
|
boolean |
isFollower()
If current user follows a topic.
|
java.lang.String |
toString() |
public Topic(java.lang.String id, java.lang.String title, java.lang.String description, java.lang.String avatarUrl, long createdAt, long updatedAt, int followersCount, boolean isFollower, CommunitiesSettings settings)
public java.lang.String getId()
public java.lang.String getTitle()
public java.lang.String getDescription()
public java.lang.String getAvatarUrl()
public long getCreatedAt()
public long getUpdatedAt()
public int getFollowersCount()
public boolean isFollower()
public CommunitiesSettings getSettings()
public java.lang.String toString()
toString
in class java.lang.Object
(c) Copyright GetSocial BV, 2020. All Rights Reserved.