struct Kutt::LinkStats
- Kutt::LinkStats
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
kutt/stats.crConstructors
- .new(all_time : TimeFrame, last_day : TimeFrame, last_month : TimeFrame, last_week : TimeFrame, created_at : String, updated_at : String, id : String, link : String, password : Bool, target : String, visit_count : Int32)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #all_time : TimeFrame
- #clone
- #copy_with(all_time _all_time = @all_time, last_day _last_day = @last_day, last_month _last_month = @last_month, last_week _last_week = @last_week, created_at _created_at = @created_at, updated_at _updated_at = @updated_at, id _id = @id, link _link = @link, password _password = @password, target _target = @target, visit_count _visit_count = @visit_count)
- #created_at : String
- #id : String
- #last_day : TimeFrame
- #last_month : TimeFrame
- #last_week : TimeFrame
- #link : String
- #password : Bool
- #target : String
- #updated_at : String
- #visit_count : Int32
Constructor Detail
def self.new(all_time : TimeFrame, last_day : TimeFrame, last_month : TimeFrame, last_week : TimeFrame, created_at : String, updated_at : String, id : String, link : String, password : Bool, target : String, visit_count : Int32)
#
Instance Method Detail
def copy_with(all_time _all_time = @all_time, last_day _last_day = @last_day, last_month _last_month = @last_month, last_week _last_week = @last_week, created_at _created_at = @created_at, updated_at _updated_at = @updated_at, id _id = @id, link _link = @link, password _password = @password, target _target = @target, visit_count _visit_count = @visit_count)
#