Table of Contents

Class NewsReducedResponseDto

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

Response body of a GastroSky.Models.DTO.News article (without the heavy fields; useful for listing).

public sealed class NewsReducedResponseDto
Inheritance
NewsReducedResponseDto
Inherited Members

Properties

AuthorName

The news article's author name.

public string? AuthorName { get; set; }

Property Value

string

LastModificationTimestampUTC

Unix-timestamp of when this GastroSky.Models.DTO.News article was last modified.

public long? LastModificationTimestampUTC { get; set; }

Property Value

long?

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