Class UpdateUserCommand
Namespace: Identity.Application.Requests.Handlers.User
Assembly: Identity.Application.dll
UpdateUserCommand represents a request to update a user.
public sealed class UpdateUserCommand : IRequest<Result<UserResponse>>, IBaseRequest
Inheritance
object ← UpdateUserCommand
Implements
IRequest<Result<UserResponse\>\>, IBaseRequest
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Properties
Color
[Required]
public long Color { get; init; }
Property Value
[Required]
[EmailAddress]
[StringLength(100)]
public string Email { get; init; }
Property Value
FirstName
[Required]
[StringLength(50)]
public string FirstName { get; init; }
Property Value
Id
[JsonIgnore]
public Guid Id { get; set; }
Property Value
LastName
[Required]
[StringLength(50)]
public string LastName { get; init; }
Property Value
Username
[Required]
[StringLength(50)]
public string Username { get; init; }
Property Value
Last modified: 21 May 2024