Update RecActionViewDto: new props, type changes, renames

Renamed ProfileSequence to Sequence. Added display name properties for enums/types (e.g., EndpointAuthTypeName, RestTypeName, ErrorActionName). Added EndpointAuthApiKey. Changed RestType to enum and ErrorAction to nullable, with corresponding name properties.
This commit is contained in:
2025-12-15 12:37:33 +01:00
parent 0afe9870c0
commit a0233fd876

View File

@@ -12,7 +12,7 @@ public record RecActionViewDto
public string? ProfileType { get; init; }
public byte? ProfileSequence { get; init; }
public byte? Sequence { get; init; }
public long? EndpointId { get; init; }
@@ -22,12 +22,16 @@ public record RecActionViewDto
public EndpointAuthType? EndpointAuthType { get; init; }
public string? EndpointAuthTypeName { get; init; }
public string? EndpointAuthApiKey { get; init; }
public string? EndpointAuthApiValue { get; init; }
public ApiKeyLocation? EndpointAuthApiKeyAddTo { get; init; }
public string? EndpointAuthApiKeyAddToName { get; init; }
public string? EndpointAuthToken { get; init; }
public string? EndpointAuthUsername { get; init; }
@@ -50,7 +54,9 @@ public record RecActionViewDto
public string? SqlConnectionPassword { get; init; }
public string? RestType { get; init; }
public RestType? RestType { get; init; }
public string? RestTypeName { get; init; }
public string? PreprocessingQuery { get; init; }
@@ -64,7 +70,9 @@ public record RecActionViewDto
public string? PostprocessingQuery { get; init; }
public ErrorAction ErrorAction { get; init; }
public ErrorAction? ErrorAction { get; init; }
public string? ErrorActionName { get; init; }
public UriBuilder ToEndpointUriBuilder()
{