ReC/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs
TekH 9b22987397 Add CreateRecActionCommand record for RecActions
Introduced a new namespace `ReC.Application.RecActions.Commands`
and added the `CreateRecActionCommand` record. This record
includes properties such as `ProfileId`, `Active`, `EndpointId`,
`Type`, `HeaderQuery`, and `BodyQuery` to encapsulate the
necessary data for creating RecActions. Default values were
provided for `Active`, `Type`, and `BodyQuery` to streamline
initialization.
2025-12-01 15:14:56 +01:00

16 lines
395 B
C#

namespace ReC.Application.RecActions.Commands;
public record CreateRecActionCommand
{
public long ProfileId { get; init; }
public bool Active { get; init; } = true;
public long EndpointId { get; init; }
public string Type { get; init; } = "GET";
public string? HeaderQuery { get; init; }
public string BodyQuery { get; init; } = "SELECT NULL AS REQUEST_BODY;";
}