Add support for CreateEventPayload and DeleteEvent payload (#1646) (#1932)

This commit is contained in:
Guillaume Mouron
2019-01-31 11:37:00 +01:00
committed by Ryan Gribble
parent 5e751a6c38
commit 47c38bfd8e
5 changed files with 115 additions and 0 deletions
@@ -0,0 +1,17 @@
using System.Collections.Generic;
using System.Diagnostics;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class CreateEventPayload : ActivityPayload
{
public string Ref { get; protected set; }
public StringEnum<RefType> RefType { get; protected set; }
public string MasterBranch { get; protected set; }
public string Description { get; protected set; }
}
}
@@ -0,0 +1,13 @@
using System.Collections.Generic;
using System.Diagnostics;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class DeleteEventPayload : ActivityPayload
{
public string Ref { get; protected set; }
public StringEnum<RefType> RefType { get; protected set; }
}
}