Package com.longbridge.content
Class OwnedTopic
- java.lang.Object
-
- com.longbridge.content.OwnedTopic
-
public class OwnedTopic extends Object
Topic created by the current authenticated user
-
-
Constructor Summary
Constructors Constructor Description OwnedTopic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopicAuthorgetAuthor()Returns the author.StringgetBody()Returns the Markdown body.intgetCommentsCount()Returns the comments count.OffsetDateTimegetCreatedAt()Returns the created time.StringgetDescription()Returns the plain text excerpt.StringgetDetailUrl()Returns the URL to the full topic page.String[]getHashtags()Returns the hashtag names.StringgetId()Returns the topic ID.TopicImage[]getImages()Returns the images.intgetLikesCount()Returns the likes count.intgetSharesCount()Returns the shares count.String[]getTickers()Returns the related stock tickers.StringgetTitle()Returns the title.StringgetTopicType()Returns the content type: "article" or "post".OffsetDateTimegetUpdatedAt()Returns the updated time.intgetViewsCount()Returns the views count.StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
Returns the topic ID.
-
getTitle
public String getTitle()
Returns the title.
-
getDescription
public String getDescription()
Returns the plain text excerpt.
-
getBody
public String getBody()
Returns the Markdown body.
-
getAuthor
public TopicAuthor getAuthor()
Returns the author.
-
getTickers
public String[] getTickers()
Returns the related stock tickers.
-
getHashtags
public String[] getHashtags()
Returns the hashtag names.
-
getImages
public TopicImage[] getImages()
Returns the images.
-
getLikesCount
public int getLikesCount()
Returns the likes count.
-
getCommentsCount
public int getCommentsCount()
Returns the comments count.
-
getViewsCount
public int getViewsCount()
Returns the views count.
-
getSharesCount
public int getSharesCount()
Returns the shares count.
-
getTopicType
public String getTopicType()
Returns the content type: "article" or "post".
-
getDetailUrl
public String getDetailUrl()
Returns the URL to the full topic page.
-
getCreatedAt
public OffsetDateTime getCreatedAt()
Returns the created time.
-
getUpdatedAt
public OffsetDateTime getUpdatedAt()
Returns the updated time.
-
-