CyberJyrki::Models::Reddit::Post
Inherits JSON::Serializable < Reference < Object
represents a reddit thread
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
author
Sourceauthor=(author : String)
Sourceimage?
Sourceis_self
Sourceis_self=(is_self : Bool)
Sourcepermalink
Sourcepermalink=(permalink : String)
Sourcepost_hint
Sourcepost_hint=(post_hint : String | Nil)
Sourceself?
Sourceselftext
Sourceselftext=(selftext : String)
Sourcesubreddit
Sourcesubreddit=(subreddit : String)
Sourcetitle
Sourcetitle=(title : String)
Sourceurl
Sourceurl=(url : String)
Source