Hwaro::Services::StatsResult
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(total : Int32 = 0, drafts : Int32 = 0, published : Int32 = 0, words_total : Int32 = 0, words_avg : Int32 = 0, words_min : Int32 = 0, words_max : Int32 = 0, tags : Hash(String, Int32) = {} of String => Int32, monthly : Hash(String, Int32) = {} of String => Int32)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
drafts
Sourcedrafts=(drafts : Int32)
Sourcemonthly
Sourcemonthly=(monthly : Hash(String, Int32))
Sourcepublished
Sourcepublished=(published : Int32)
Sourcetags
Sourcetags=(tags : Hash(String, Int32))
Sourcetotal
Sourcetotal=(total : Int32)
Sourcewords_avg
Sourcewords_avg=(words_avg : Int32)
Sourcewords_max
Sourcewords_max=(words_max : Int32)
Sourcewords_min
Sourcewords_min=(words_min : Int32)
Sourcewords_total
Sourcewords_total=(words_total : Int32)
Source