Add project files.
This commit is contained in:
22
Gateway/Models/ExecutionRequest.cs
Normal file
22
Gateway/Models/ExecutionRequest.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user