2020-06-20 10:04:58 +00:00
|
|
|
public class Tootle.API.Relationship : Entity {
|
2018-10-27 08:29:25 +00:00
|
|
|
|
2020-06-20 10:04:58 +00:00
|
|
|
public string id { get; set; }
|
2020-05-29 12:19:35 +00:00
|
|
|
public bool following { get; set; default = false; }
|
|
|
|
public bool followed_by { get; set; default = false; }
|
|
|
|
public bool muting { get; set; default = false; }
|
|
|
|
public bool muting_notifications { get; set; default = false; }
|
|
|
|
public bool requested { get; set; default = false; }
|
|
|
|
public bool blocking { get; set; default = false; }
|
|
|
|
public bool domain_blocking { get; set; default = false; }
|
2018-04-30 17:56:02 +00:00
|
|
|
|
2020-06-20 10:04:58 +00:00
|
|
|
public static Relationship from (Json.Node node) throws Error {
|
|
|
|
return Entity.from_json (typeof (API.Relationship), node) as API.Relationship;
|
|
|
|
}
|
2018-04-30 17:56:02 +00:00
|
|
|
|
|
|
|
}
|