Table of Contents

Class UserResponseDto

Namespace
GastroSky.Models.DTO.User
Assembly
GastroSky.Models.dll

Response body of a GastroSky.Models.DTO.User.

public sealed class UserResponseDto
Inheritance
UserResponseDto
Inherited Members

Properties

Address

Address (e.g. street + house nr.)

public string? Address { get; set; }

Property Value

string

CountryCodeISO

3-letter ISO country code.

public string? CountryCodeISO { get; set; }

Property Value

string

CreationTimestampUTC

Unix-timestamp of when this GastroSky.Models.DTO.User was created.

public long CreationTimestampUTC { get; set; }

Property Value

long

Email

GastroSky.Models.DTO.User's email address (this is also the username with which they login).

public string? Email { get; set; }

Property Value

string

Invites

public ICollection<UserCompanyResponseDto>? Invites { get; set; }

Property Value

ICollection<UserCompanyResponseDto>

IsAdmin

Whether or not this GastroSky.Models.DTO.User is an admin.

public bool IsAdmin { get; set; }

Property Value

bool

JoinedCompanies

public ICollection<CompanyResponseDto>? JoinedCompanies { get; set; }

Property Value

ICollection<CompanyResponseDto>

Language

The GastroSky.Models.DTO.User's preferred language value.

public Language Language { get; set; }

Property Value

Language

Location

Location (e.g. city name).

public string? Location { get; set; }

Property Value

string

Name

User.Name

public string? Name { get; set; }

Property Value

string

Phone

Phone number.

public string? Phone { get; set; }

Property Value

string

ProfilePictureFileGuid

Profile picture, GUID

public string? ProfilePictureFileGuid { get; set; }

Property Value

string

Slug

User.Slug

public required string Slug { get; set; }

Property Value

string

TotpEnabled

Whether or not this GastroSky.Models.DTO.User has two-factor authentication enabled.

public bool TotpEnabled { get; set; }

Property Value

bool

UserClaims

The GastroSky.Models.DTO.User's auth claims.

public ICollection<UserClaimResponseDto>? UserClaims { get; set; }

Property Value

ICollection<UserClaimResponseDto>

WebsiteURL

The user's website URL (if avail.)

public string? WebsiteURL { get; set; }

Property Value

string

ZipCode

ZIP-code.

public string? ZipCode { get; set; }

Property Value

string