28 lines
608 B
C#
28 lines
608 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AxCopilot.Models;
|
|
|
|
public class ClipboardTransformer
|
|
{
|
|
[JsonPropertyName("key")]
|
|
public string Key { get; set; } = "";
|
|
|
|
[JsonPropertyName("type")]
|
|
public string Type { get; set; } = "regex";
|
|
|
|
[JsonPropertyName("pattern")]
|
|
public string? Pattern { get; set; }
|
|
|
|
[JsonPropertyName("replace")]
|
|
public string? Replace { get; set; }
|
|
|
|
[JsonPropertyName("command")]
|
|
public string? Command { get; set; }
|
|
|
|
[JsonPropertyName("timeout")]
|
|
public int Timeout { get; set; } = 5000;
|
|
|
|
[JsonPropertyName("description")]
|
|
public string? Description { get; set; }
|
|
}
|