Introduced six new DTO record classes under ReC.Application.Common.Procedures.UpdateProcedure.Dto to support partial (nullable) updates for Action, Endpoint, EndpointAuth, EndpointParams, Profile, and Result entities. These DTOs enable PATCH-like update operations by allowing selective property updates. No existing code was modified.
16 lines
564 B
C#
16 lines
564 B
C#
namespace ReC.Application.Common.Procedures.UpdateProcedure.Dto;
|
|
|
|
public record UpdateEndpointAuthDto
|
|
{
|
|
public bool? Active { get; set; }
|
|
public string? Description { get; set; }
|
|
public byte? TypeId { get; set; }
|
|
public string? ApiKey { get; set; }
|
|
public string? ApiValue { get; set; }
|
|
public bool? ApiKeyAddToId { get; set; }
|
|
public string? Token { get; set; }
|
|
public string? Username { get; set; }
|
|
public string? Password { get; set; }
|
|
public string? Domain { get; set; }
|
|
public string? Workstation { get; set; }
|
|
} |