mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 11:05:56 +00:00
Now able to get full feeds. There are a few issues around naming.
This commit is contained in:
@@ -9,10 +9,13 @@ namespace Octokit
|
||||
{
|
||||
public string TimelineUrl { get; set; }
|
||||
public string UserUrl { get; set; }
|
||||
public string CurrentUserPublic { get; set; }
|
||||
public string CurrentUserPublicUrl { get; set; } // TODO: Note, github's docs say this will be current_user_public, but actual response is current_user_public_url
|
||||
public string CurrentUserUrl { get; set; }
|
||||
public string CurrentUserActorUrl { get; set; }
|
||||
public string CurrentUserOrganizationUrl { get; set; }
|
||||
public FeedLinks Links { get; set; }
|
||||
|
||||
// TODO: Note, the deserializer didn't work when this was named Links
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "links"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
|
||||
public FeedLinks _links { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,6 @@ using System.Diagnostics;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class FeedLinks
|
||||
{
|
||||
public FeedLink Timeline { get; set; }
|
||||
@@ -14,7 +13,6 @@ namespace Octokit
|
||||
public FeedLink CurrentUserOrganization { get; set; }
|
||||
}
|
||||
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class FeedLink
|
||||
{
|
||||
public string Href { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user