Skip to content

Commit

Permalink
removed WatchedCount property from Repository, resolves #699
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveWM committed Feb 11, 2015
1 parent 9d57bca commit 9389b41
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Octokit/Models/Response/Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public Repository(int id)
Id = id;
}

public Repository(string url, string htmlUrl, string cloneUrl, string gitUrl, string sshUrl, string svnUrl, string mirrorUrl, int id, User owner, string name, string fullName, string description, string homepage, string language, bool @private, bool fork, int forksCount, int stargazersCount, int watchersCount, int subscribersCount, string defaultBranch, int openIssuesCount, DateTimeOffset? pushedAt, DateTimeOffset createdAt, DateTimeOffset updatedAt, RepositoryPermissions permissions, User organization, Repository parent, Repository source, bool hasIssues, bool hasWiki, bool hasDownloads)
public Repository(string url, string htmlUrl, string cloneUrl, string gitUrl, string sshUrl, string svnUrl, string mirrorUrl, int id, User owner, string name, string fullName, string description, string homepage, string language, bool @private, bool fork, int forksCount, int stargazersCount, int subscribersCount, string defaultBranch, int openIssuesCount, DateTimeOffset? pushedAt, DateTimeOffset createdAt, DateTimeOffset updatedAt, RepositoryPermissions permissions, User organization, Repository parent, Repository source, bool hasIssues, bool hasWiki, bool hasDownloads)
{
Url = url;
HtmlUrl = htmlUrl;
Expand All @@ -34,7 +34,6 @@ public Repository(string url, string htmlUrl, string cloneUrl, string gitUrl, st
Fork = fork;
ForksCount = forksCount;
StargazersCount = stargazersCount;
WatchersCount = watchersCount;
SubscribersCount = subscribersCount;
DefaultBranch = defaultBranch;
OpenIssuesCount = openIssuesCount;
Expand Down Expand Up @@ -86,8 +85,6 @@ public Repository(string url, string htmlUrl, string cloneUrl, string gitUrl, st

public int StargazersCount { get; protected set; }

public int WatchersCount { get; protected set; }

public int SubscribersCount { get; protected set; }

public string DefaultBranch { get; protected set; }
Expand Down

0 comments on commit 9389b41

Please sign in to comment.