/// <summary> /// Initializes a new <see cref="V1WorkflowInstanceExecutedDomainEvent"/> /// </summary> /// <param name="id">The id of the <see cref="V1WorkflowInstance"/> that has been executed</param> /// <param name="status">The <see cref="V1WorkflowInstanceStatus"/> of the <see cref="V1WorkflowInstance"/> when it finished executing</param> /// <param name="output">The <see cref="V1WorkflowInstance"/>'s output</param> public V1WorkflowInstanceExecutedDomainEvent(string id, V1WorkflowInstanceStatus status, object?output) : base(id) { this.Status = status; this.Output = output; }
/// <summary> /// Initializes a new <see cref="V1WorkflowInstanceExecutedDomainEvent"/> /// </summary> /// <param name="id">The id of the <see cref="V1WorkflowInstance"/> that has been executed</param> /// <param name="status">The <see cref="V1WorkflowInstanceStatus"/> of the <see cref="V1WorkflowInstance"/> when it finished executing</param> public V1WorkflowInstanceExecutedDomainEvent(string id, V1WorkflowInstanceStatus status) : base(id) { this.Status = status; }
/// <summary> /// Initializes a new <see cref="V1WorkflowInstanceExecutedDomainEvent"/> /// </summary> /// <param name="id">The id of the <see cref="V1WorkflowInstance"/> that has been executed</param> /// <param name="status">The <see cref="V1WorkflowInstanceStatus"/> of the <see cref="V1WorkflowInstance"/> when it finished executing</param> /// <param name="error">The error that has occured during the <see cref="V1WorkflowInstance"/>'s execution</param> public V1WorkflowInstanceExecutedDomainEvent(string id, V1WorkflowInstanceStatus status, Neuroglia.Error?error = null) : base(id) { this.Status = status; this.Error = error; }