Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace ListmonkIntegration.Models
|
||||
{
|
||||
public class ListInfo
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public int SubscriberCount { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace ListmonkIntegration.Models
|
||||
{
|
||||
public class ListmonkSettings
|
||||
{
|
||||
public string BaseUrl { get; set; } = "http://localhost:9000";
|
||||
public string Username { get; set; } = "listmonk";
|
||||
public string Password { get; set; } = "listmonk";
|
||||
public string? ApiToken { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace ListmonkIntegration.Models
|
||||
{
|
||||
public class Subscriber
|
||||
{
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public string FullName { get; set; } = string.Empty;
|
||||
public string Login { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
public Dictionary<string, string> Attributes { get; set; } = new();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace ListmonkIntegration.Models
|
||||
{
|
||||
public class TemplateInfo
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Subject { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user