Owneat Technical Guide main Help

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

long

Email

[Required] [EmailAddress] [StringLength(100)] public string Email { get; init; }

Property Value

string

FirstName

[Required] [StringLength(50)] public string FirstName { get; init; }

Property Value

string

Id

[JsonIgnore] public Guid Id { get; set; }

Property Value

Guid

LastName

[Required] [StringLength(50)] public string LastName { get; init; }

Property Value

string

Username

[Required] [StringLength(50)] public string Username { get; init; }

Property Value

string

Last modified: 21 May 2024