Skip to content

Commit 548feee

Browse files
committed
Added installation model to BaseEvent
1 parent ba88709 commit 548feee

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

GitHubHook/Events/BaseEvent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ public abstract class BaseEvent : SnakeCaseNamedObject
77
{
88
public Repository Repository { get; set; }
99
public User Sender { get; set; }
10+
public Installation Installation { get; set; }
1011
}
1112
}

GitHubHook/Models/Installation.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using GitHubHook.Helpers;
2+
3+
namespace GitHubHook.Models
4+
{
5+
public class Installation : SnakeCaseNamedObject
6+
{
7+
public int Id { get; set; }
8+
}
9+
}

0 commit comments

Comments
 (0)