class RecVideoItemModel { RecVideoItemModel({ this.id, this.bvid, this.cid, this.goto, this.uri, this.pic, this.title, this.duration, this.pubdate, this.owner, this.stat, this.rcmdReason, }); int? id = -1; String? bvid = ''; int? cid = -1; String? goto = ''; String? uri = ''; String? pic = ''; String? title = ''; int? duration = -1; int? pubdate = -1; Onwer? owner; Stat? stat; RcmdReason? rcmdReason; RecVideoItemModel.fromJson(Map json) { id = json["id"]; bvid = json["bvid"]; cid = json["cid"]; goto = json["goto"]; uri = json["uri"]; pic = json["pic"]; title = json["title"]; duration = json["duration"]; pubdate = json["pubdate"]; owner = Onwer.fromJson(json["owner"]); stat = Stat.fromJson(json["stat"]); rcmdReason = json["rcmd_reason"] != null ? RcmdReason.fromJson(json["rcmd_reason"]) : RcmdReason(content: ''); } } class Onwer { Onwer({ this.mid, this.name, this.face, }); int? mid; String? name; String? face; Onwer.fromJson(Map json) { mid = json["mid"]; name = json["name"]; face = json['face']; } } class Stat { Stat({ this.view, this.like, this.danmaku, }); int? view; int? like; int? danmaku; Stat.fromJson(Map json) { view = json["view"]; like = json["like"]; danmaku = json['danmaku']; } } class RcmdReason { RcmdReason({ this.reasonType, this.content, }); int? reasonType; String? content = ''; RcmdReason.fromJson(Map json) { reasonType = json["reason_type"]; content = json["content"] ?? ''; } }