tootle-linux-client/src/API/List.vala

17 lines
365 B
Vala

using Gtk;
public class Tootle.API.List : Entity, Widgetizable {
public string id { get; set; }
public string title { get; set; }
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);
}
}