Skip to content

Commit c41a2d4

Browse files
authored
SDK-49: add description to EventHandler (#130)
* SDK-49: add description to EventHandler * reformat
1 parent 14d81e7 commit c41a2d4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Conductor/Client/Models/EventHandler.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ public partial class EventHandler : IEquatable<EventHandler>, IValidatableObject
3636
/// <param name="evaluatorType">evaluatorType.</param>
3737
/// <param name="_event">_event (required).</param>
3838
/// <param name="name">name (required).</param>
39-
public EventHandler(List<Action> actions = default(List<Action>), bool? active = default(bool?), string condition = default(string), string evaluatorType = default(string), string _event = default(string), string name = default(string))
39+
/// <param name="description">description.</param>
40+
public EventHandler(List<Action> actions = default(List<Action>), bool? active = default(bool?), string condition = default(string), string evaluatorType = default(string), string _event = default(string), string name = default(string), string description = default(string))
4041
{
4142
// to ensure "actions" is required (not null)
4243
if (actions == null)
@@ -68,6 +69,7 @@ public partial class EventHandler : IEquatable<EventHandler>, IValidatableObject
6869
this.Active = active;
6970
this.Condition = condition;
7071
this.EvaluatorType = evaluatorType;
72+
this.Description = description;
7173
}
7274

7375
/// <summary>
@@ -106,6 +108,12 @@ public partial class EventHandler : IEquatable<EventHandler>, IValidatableObject
106108
[DataMember(Name = "name", EmitDefaultValue = false)]
107109
public string Name { get; set; }
108110

111+
/// <summary>
112+
/// Gets or Sets Description
113+
/// </summary>
114+
[DataMember(Name = "description", EmitDefaultValue = false)]
115+
public string Description { get; set; }
116+
109117
/// <summary>
110118
/// Returns the string presentation of the object
111119
/// </summary>

0 commit comments

Comments
 (0)