work
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Nodes;
|
||||
|
||||
namespace StellaOps.Notifier.WebService.Contracts;
|
||||
|
||||
public sealed record RiskEventRequest
|
||||
{
|
||||
public Guid EventId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// risk.profile.severity.changed | risk.profile.published | risk.profile.deprecated | risk.profile.thresholds.changed
|
||||
/// </summary>
|
||||
public string? Kind { get; init; }
|
||||
|
||||
public string? Actor { get; init; }
|
||||
|
||||
public DateTimeOffset? Timestamp { get; init; }
|
||||
|
||||
public JsonObject? Payload { get; init; }
|
||||
|
||||
public IDictionary<string, string>? Attributes { get; init; }
|
||||
|
||||
public string? ResumeToken { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user