Esempio n. 1
0
 public Comment(IList <JsonValue> d)
     : base(d)
 {
     UserFullName           = StringAt(1);
     FullTextHtml           = StringAt(2);
     ItemCommentsId         = StringAt(3);
     CommentInCommentsUrlId = StringAt(4);
     FullTextRaw            = StringAt(5);
     UserId       = StringAt(6);
     CommentUrlId = StringAt(7);
     UserUrl      = StringAt(10);
     Voting       = ObjectAt(15, x => new Voting(x));
     UserPhotoUrl = UrlAt(16);
 }
Esempio n. 2
0
 public Item(IList <JsonValue> d)
     : base(d)
 {
     ItemType             = StringAt(2);
     UserFullName         = StringAt(3);
     FullTextHtml         = StringAt(4);
     ItemId               = StringAt(5);
     FaviconUrl           = UrlAt(6);
     VisibleComments      = ListAt(7, x => new Comment(x));
     ItemUrlId            = StringAt(8);
     Attachments          = ListAt(11, x => new Attachment(x));
     Voting               = ObjectAt(73, x => new Voting(x));
     FullTextIntermediate = StringAt(14);
     UserId               = StringAt(16);
     PhotoUrl             = UrlAt(18);
     FullTextRaw          = StringAt(20);
     PostUrl              = StringAt(21);
     SomeId               = StringAt(22);
     UserUrl              = StringAt(24);
     ItemCommentsId       = StringAt(30);
     PreviewHtml          = StringAt(33);
 }