2020-05-29 14:19:35 +02:00
|
|
|
public class Tootle.API.Tag : GLib.Object {
|
2018-04-28 18:27:10 +02:00
|
|
|
|
2020-05-29 14:19:35 +02:00
|
|
|
public string name { get; construct set; }
|
|
|
|
public string url { get; construct set; }
|
2018-04-28 18:27:10 +02:00
|
|
|
|
2020-05-29 14:19:35 +02:00
|
|
|
public Tag (Json.Object obj) {
|
|
|
|
Object (
|
|
|
|
name: obj.get_string_member ("name"),
|
|
|
|
url: obj.get_string_member ("url")
|
|
|
|
);
|
2018-04-28 18:27:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|