Using existing User class instead of Actor class

This commit is contained in:
Kyle Nunery
2013-11-03 00:43:48 -05:00
parent ea25d99676
commit f29901b695
5 changed files with 2 additions and 17 deletions
-13
View File
@@ -1,13 +0,0 @@
using System;
namespace Octokit
{
public class Actor
{
public string Login { get; set; }
public int Id { get; set; }
public Uri AvatarUrl { get; set; }
public string GravatarId { get; set; }
public Uri Url { get; set; }
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace Octokit
/// <summary>
/// Always the User that generated the event.
/// </summary>
public Actor Actor { get; set; }
public User Actor { get; set; }
/// <summary>
/// Identifies the actual type of Event that occurred.
+1 -1
View File
@@ -17,7 +17,7 @@ namespace Octokit
/// <summary>
/// Always the User that generated the event.
/// </summary>
public Actor Actor { get; set; }
public User Actor { get; set; }
/// <summary>
/// Identifies the actual type of Event that occurred.
-1
View File
@@ -138,7 +138,6 @@
<Compile Include="Models\Request\SshKeyUpdate.cs" />
<Compile Include="Models\Request\UserUpdate.cs" />
<Compile Include="Models\Response\Account.cs" />
<Compile Include="Models\Response\Actor.cs" />
<Compile Include="Models\Response\ApiError.cs" />
<Compile Include="Models\Response\ApiErrorDetail.cs" />
<Compile Include="Models\Response\Application.cs" />
-1
View File
@@ -67,7 +67,6 @@
<Compile Include="Models\Request\NewCommitStatus.cs" />
<Compile Include="Models\Request\NewMilestone.cs" />
<Compile Include="Models\Request\RequestParameters.cs" />
<Compile Include="Models\Response\Actor.cs" />
<Compile Include="Models\Response\CommitStatus.cs" />
<Compile Include="Models\Response\EventInfo.cs" />
<Compile Include="Models\Response\Issue.cs" />