namespace Elsa.Api.Client.Shared.Models; /// /// Represents an activity in a workflow definition. /// public class Activity { /// /// Gets or sets the ID of this activity. /// public string Id { get; set; } = default!; /// /// Gets or sets the type of this activity. /// public string Type { get; set; } = default!; /// /// Gets or sets the version of this activity. /// public int Version { get; set; } /// /// Gets or sets the metadata of this activity. /// public IDictionary Metadata { get; set; } = new Dictionary(); /// /// Gets or sets custom properties of this activity. /// public IDictionary CustomProperties { get; set; } = new Dictionary(); } /// /// Represents a flowchart activity. /// public class Flowchart : Container { public ICollection Type1 { get; set; } } /// /// Represents a connection between two activities. /// public class Connection { }