Table of Contents

Class PrivatePostReducedResponseDto

Namespace
GastroSky.Models.DTO.Post
Assembly
GastroSky.Models.dll

Reduced, more minimal and bandwidth-friendly response body DTO of a GastroSky.Models.DTO.Post.

public sealed class PrivatePostReducedResponseDto
Inheritance
PrivatePostReducedResponseDto
Inherited Members

Properties

ArchivalTimestampUTC

Unix-timestamp of when this GastroSky.Models.DTO.Post was archived. null if it has not been archived yet.

public long? ArchivalTimestampUTC { get; set; }

Property Value

long?

AuthorUser

public UserResponseDto? AuthorUser { get; set; }

Property Value

UserResponseDto

Category

The post category.

public PostCategory Category { get; set; }

Property Value

PostCategory
See Also

ChosenIllustration

Illustration chosen from a preset of images

public int? ChosenIllustration { get; set; }

Property Value

int?

CountryCodeISO

ISO code of where the GastroSky.Models.DTO.Post's object is located.

public string? CountryCodeISO { get; set; }

Property Value

string

CreationTimestampUTC

Unix-timestamp of when this GastroSky.Models.DTO.Post was first inserted into the DB.

public long CreationTimestampUTC { get; set; }

Property Value

long

Currency

ISO 4217 string of the currency this GastroSky.Models.DTO.Post is published under. E.g. CHF

public string Currency { get; set; }

Property Value

string

DeletionTimestampUTC

Unix-timestamp of when this GastroSky.Models.DTO.Post was deleted. null if it has not been deleted yet.

public long? DeletionTimestampUTC { get; set; }

Property Value

long?

ExpirationTimestampUTC

public long? ExpirationTimestampUTC { get; set; }

Property Value

long?

HasGoldenBorder

public bool HasGoldenBorder { get; set; }

Property Value

bool

IsPremium

Whether or not this GastroSky.Models.DTO.Post is premium-allocated.

public bool IsPremium { get; set; }

Property Value

bool

IsPublishable

Whether or not this GastroSky.Models.DTO.Post is publishable.

public bool IsPublishable { get; set; }

Property Value

bool

ItemTypes

The ItemTypes that apply to this GastroSky.Models.DTO.Post.

public ItemType[] ItemTypes { get; set; }

Property Value

ItemType[]

LastModificationTimestampUTC

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

public long? LastModificationTimestampUTC { get; set; }

Property Value

long?

Location

public LocationResponseDto? Location { get; set; }

Property Value

LocationResponseDto

MainPostImageGuid

public Guid? MainPostImageGuid { get; set; }

Property Value

Guid?

MonthlyRentPriceSubunit

Sub-unit of the monthly rent price. E.g. 1 CHF would be 100 sub-units. This is to remove the floating point and maintain precision and performance. It is even required to be this way by many payment gateway APIs such as Stripe.

public long? MonthlyRentPriceSubunit { get; set; }

Property Value

long?

PostBoosters

public ICollection<ReducedPostBoosterResponseDto> PostBoosters { get; set; }

Property Value

ICollection<ReducedPostBoosterResponseDto>

PublicationTimestampUTC

Unix-timestamp of when this GastroSky.Models.DTO.Post was published. null if it has not been published yet.

public long? PublicationTimestampUTC { get; set; }

Property Value

long?

PublishedWithCompanySubscriptionId

public long? PublishedWithCompanySubscriptionId { get; set; }

Property Value

long?

PublishedWithUserSubscriptionId

public long? PublishedWithUserSubscriptionId { get; set; }

Property Value

long?

SalePriceSubunit

Sub-unit of the sale price. E.g. 1 CHF would be 100 sub-units. This is to remove the floating point and maintain precision and performance. It is even required to be this way by many payment gateway APIs such as Stripe.

public long? SalePriceSubunit { get; set; }

Property Value

long?

Slug

Post.Slug

public string Slug { get; set; }

Property Value

string

Subtitle

Translations payload for theGastroSky.Models.DTO.Post's subtitle.

public required TranslatableFieldDto Subtitle { get; set; }

Property Value

TranslatableFieldDto

Title

Translations payload for theGastroSky.Models.DTO.Post's title.

public required TranslatableFieldDto Title { get; set; }

Property Value

TranslatableFieldDto

UserInteractions

public ICollection<UserPostInteractionResponseDto>? UserInteractions { get; set; }

Property Value

ICollection<UserPostInteractionResponseDto>