Now able to get full feeds. There are a few issues around naming.

This commit is contained in:
Sam Williamson
2014-02-20 11:18:42 -05:00
parent 7114c6942f
commit d09c32a38f
2 changed files with 5 additions and 4 deletions
+5 -2
View File
@@ -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; }
}
}
-2
View File
@@ -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; }