23 lines
792 B
C#
23 lines
792 B
C#
using System.Text.Json;
|
|
|
|
namespace Gateway.Models
|
|
{
|
|
public sealed class ExecutionRequest
|
|
{
|
|
/// <summary>Ad platform provider: google, meta, msads, etc.</summary>
|
|
public string Provider { get; set; } = "google";
|
|
|
|
/// <summary>Sub-module/microservice: system, campaigns, reporting, accounts, etc.</summary>
|
|
public string Service { get; set; } = "system";
|
|
|
|
/// <summary>Specific operation/action: ping, create, list, get, update, delete, etc.</summary>
|
|
public string Action { get; set; } = "ping";
|
|
|
|
/// <summary>Tenant/Customer ID for account context</summary>
|
|
public string? TenantId { get; set; }
|
|
|
|
/// <summary>Raw JSON payload for the operation</summary>
|
|
public JsonElement Payload { get; set; }
|
|
}
|
|
}
|