mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 20:45:51 +00:00
Using existing User class instead of Actor class
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user