25 lines
502 B
C#
25 lines
502 B
C#
namespace Elsa.Modules.Http.Models;
|
|
|
|
public record HttpBookmarkData
|
|
{
|
|
private readonly string _path = default!;
|
|
private readonly string _method = default!;
|
|
|
|
public HttpBookmarkData(string path, string method)
|
|
{
|
|
Path = path;
|
|
Method = method;
|
|
}
|
|
|
|
public string Path
|
|
{
|
|
get => _path;
|
|
init => _path = value.ToLowerInvariant();
|
|
}
|
|
|
|
public string Method
|
|
{
|
|
get => _method;
|
|
init => _method = value.ToLowerInvariant();
|
|
}
|
|
} |