Class NewsResponseDto
Full response body of a GastroSky.Models.DTO.News article.
public sealed class NewsResponseDto
- Inheritance
-
NewsResponseDto
- Inherited Members
Properties
AuthorName
The news article's author name.
public string? AuthorName { get; set; }
Property Value
CreationTimestampUTC
Unix-timestamp of when this GastroSky.Models.DTO.News article was first drafted and inserted into the DB.
public long CreationTimestampUTC { get; set; }
Property Value
LastModificationTimestampUTC
Unix-timestamp of when this GastroSky.Models.DTO.News article was last modified.
public long? LastModificationTimestampUTC { get; set; }
Property Value
- long?
Markdown
Translations payload for the news article's main body (in markdown format).
public TranslatableFieldDto Markdown { get; set; }
Property Value
NewsPictureBytesBase64
The news picture as a base64-encoded string.
public string? NewsPictureBytesBase64 { get; set; }
Property Value
PublicationTimestampUTC
Unix-timestamp of when this GastroSky.Models.DTO.News article was published.
public long? PublicationTimestampUTC { get; set; }
Property Value
- long?
Slug
News.Slug
public string Slug { get; set; }
Property Value
Subtitle
Translations payload for the news article's subtitle.
public TranslatableFieldDto Subtitle { get; set; }
Property Value
Title
Translations payload for the various title variants.
public TranslatableFieldDto Title { get; set; }