Class UserModificationRequestDto
Request DTO for the modification of a GastroSky.Models.DTO.User account's details.
public sealed class UserModificationRequestDto
- Inheritance
-
UserModificationRequestDto
- Inherited Members
Properties
Address
New address.
public string? Address { get; set; }
Property Value
CountryCodeISO
New 3-letter ISO country code.
[StringLength(3)]
public string? CountryCodeISO { get; set; }
Property Value
Language
New user language preference value.
public Language Language { get; set; }
Property Value
Location
New location (e.g. city name).
public string? Location { get; set; }
Property Value
Name
New user name (ideally first + last name, whitespace-separated).
public string? Name { get; set; }
Property Value
Phone
New phone number.
[Phone]
public string? Phone { get; set; }
Property Value
ProfilePictureBytesBase64
New profile picture as base64-encoded string.
public string? ProfilePictureBytesBase64 { get; set; }
Property Value
Slug
The User.Slug that uniquely identifies the GastroSky.Models.DTO.User account that needs to be modified.
[Required]
public string Slug { get; set; }
Property Value
WebsiteURL
New website URL.
[Url]
public string? WebsiteURL { get; set; }
Property Value
ZipCode
New ZIP-code.
public string? ZipCode { get; set; }
Property Value
Methods
CopyTo(User)
public void CopyTo(User user)
Parameters
userUser