Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
Notify Smoke Test / Notify Unit Tests (push) Has been cancelled
Notify Smoke Test / Notifier Service Tests (push) Has been cancelled
Notify Smoke Test / Notification Smoke Test (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Scanner Analyzers / Discover Analyzers (push) Has been cancelled
Scanner Analyzers / Build Analyzers (push) Has been cancelled
Scanner Analyzers / Test Language Analyzers (push) Has been cancelled
Scanner Analyzers / Validate Test Fixtures (push) Has been cancelled
Scanner Analyzers / Verify Deterministic Output (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Signals Reachability Scoring & Events / reachability-smoke (push) Has been cancelled
Signals Reachability Scoring & Events / sign-and-upload (push) Has been cancelled
36 lines
954 B
C#
36 lines
954 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace StellaOps.Notifier.WebService.Contracts;
|
|
|
|
/// <summary>
|
|
/// Request payload for acknowledging a pack approval decision.
|
|
/// </summary>
|
|
public sealed class PackApprovalAckRequest
|
|
{
|
|
/// <summary>
|
|
/// Acknowledgement token from the notification.
|
|
/// </summary>
|
|
[Required]
|
|
[JsonPropertyName("ackToken")]
|
|
public string AckToken { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Approval decision: "approved" or "rejected".
|
|
/// </summary>
|
|
[JsonPropertyName("decision")]
|
|
public string? Decision { get; init; }
|
|
|
|
/// <summary>
|
|
/// Optional comment for audit trail.
|
|
/// </summary>
|
|
[JsonPropertyName("comment")]
|
|
public string? Comment { get; init; }
|
|
|
|
/// <summary>
|
|
/// Identity acknowledging the approval.
|
|
/// </summary>
|
|
[JsonPropertyName("actor")]
|
|
public string? Actor { get; init; }
|
|
}
|