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; }
|
2020-07-10 16:30:57 +02:00
|
|
|
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
|
|
|
|
|
|
|
}
|