Tooth/src/API/List.vala

18 lines
428 B
Vala

using Gtk;
public class Tooth.API.List : Entity, Widgetizable {
public string id { get; set; }
public string title { get; set; }
public string? replies_policy { get; set; default = null; }
public static List from (Json.Node node) throws Error {
return Entity.from_json (typeof (API.List), node) as API.List;
}
public override Gtk.Widget to_widget () {
return new Views.Lists.Row (this);
}
}