Class UserResponseDto
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
CountryCodeISO
3-letter ISO country code.
public string? CountryCodeISO { get; set; }
Property Value
CreationTimestampUTC
Unix-timestamp of when this GastroSky.Models.DTO.User was created.
public long CreationTimestampUTC { get; set; }
Property Value
GastroSky.Models.DTO.User's email address (this is also the username with which they login).
public string? Email { get; set; }
Property Value
Invites
public ICollection<UserCompanyResponseDto>? Invites { get; set; }
Property Value
IsAdmin
Whether or not this GastroSky.Models.DTO.User is an admin.
public bool IsAdmin { get; set; }
Property Value
JoinedCompanies
public ICollection<CompanyResponseDto>? JoinedCompanies { get; set; }
Property Value
Language
The GastroSky.Models.DTO.User's preferred language value.
public Language Language { get; set; }
Property Value
Location
Location (e.g. city name).
public string? Location { get; set; }
Property Value
Name
User.Name
public string? Name { get; set; }
Property Value
Phone
Phone number.
public string? Phone { get; set; }
Property Value
ProfilePictureFileGuid
Profile picture, GUID
public string? ProfilePictureFileGuid { get; set; }
Property Value
Slug
User.Slug
public required string Slug { get; set; }
Property Value
TotpEnabled
Whether or not this GastroSky.Models.DTO.User has two-factor authentication enabled.
public bool TotpEnabled { get; set; }
Property Value
UserClaims
The GastroSky.Models.DTO.User's auth claims.
public ICollection<UserClaimResponseDto>? UserClaims { get; set; }
Property Value
WebsiteURL
The user's website URL (if avail.)
public string? WebsiteURL { get; set; }
Property Value
ZipCode
ZIP-code.
public string? ZipCode { get; set; }