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

14 lines
422 B
Vala
Raw Normal View History

2020-06-20 12:04:58 +02:00
public class Tootle.API.Attachment : Entity {
2018-05-04 22:57:31 +02:00
2020-06-20 12:04:58 +02:00
public string id { get; set; }
2020-05-29 14:19:35 +02:00
public string kind { get; set; }
public string url { get; set; }
2020-06-20 12:04:58 +02:00
public string? description { get; set; }
public string? _preview_url { get; set; }
public string? preview_url {
2020-06-20 12:04:58 +02:00
set { this._preview_url = value; }
get { return (this._preview_url == null || this._preview_url == "") ? url : _preview_url; }
}
2018-05-04 22:57:31 +02:00
}