Skip to content

Commit

Permalink
Added properties RelatedUser and AdditionalInfo to InstanceEvent (#537)
Browse files Browse the repository at this point in the history
Co-authored-by: Henning Normann <[email protected]>
  • Loading branch information
HenningNormann and Henning Normann authored Oct 31, 2024
1 parent c603104 commit 8b256ac
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Storage.Interface/Models/InstanceEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ public class InstanceEvent
[JsonProperty(PropertyName = "user")]
public PlatformUser User { get; set; }

/// <summary>
/// A user that is related to the event
/// </summary>
[JsonProperty(PropertyName = "relatedUser")]
public PlatformUser RelatedUser { get; set; }

/// <summary>
/// More information about the process event.
/// Contains a snapshot of the changed currentTask element of the instance.
Expand All @@ -61,6 +67,12 @@ public class InstanceEvent
[JsonProperty(PropertyName = "processInfo")]
public ProcessState ProcessInfo { get; set; }

/// <summary>
/// Additional information describing the event
/// </summary>
[JsonProperty(PropertyName = "additionalInfo")]
public string AdditionalInfo { get; set; }

/// <inheritdoc/>
public override string ToString()
{
Expand Down

0 comments on commit 8b256ac

Please sign in to comment.