Table of Contents

Class NewsResponseDto

Namespace
GastroSky.Models.DTO.News
Assembly
GastroSky.Models.dll

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

string

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

long

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

TranslatableFieldDto

NewsPictureBytesBase64

The news picture as a base64-encoded string.

public string? NewsPictureBytesBase64 { get; set; }

Property Value

string

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

string

Subtitle

Translations payload for the news article's subtitle.

public TranslatableFieldDto Subtitle { get; set; }

Property Value

TranslatableFieldDto

Title

Translations payload for the various title variants.

public TranslatableFieldDto Title { get; set; }

Property Value

TranslatableFieldDto