Commit Graph

9 Commits

Author SHA1 Message Date
aedampir@gmail.com 695cf8e75b Unused "using" directives were removed in whole solution. 2016-03-25 13:38:07 +07:00
Ryan Gribble b1542e2663 Add new Protection field to Branch constructor for consistency 2015-12-19 19:58:07 +10:00
Ryan Gribble 2a2a4b6d22 Add Protected Branches to Branch object
- Create BranchProtection models
- Add Protection element to Branch model
- Adjust RepositoryClient GetBranch and GetBranches calls to set the special preview accepts header to enable Protected Branches API (currently in preview)
- Adjust tests to include preview accepts header
- Add test for Protection element
2015-12-19 19:58:00 +10:00
Mordechai Zuber 44304ca70b use string per recommended style 2015-12-16 21:23:36 +02:00
Micah c3a67ae777 Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677.

Removes obscolete properties (gravatar).
Makes Models.Response properties all be protected (most were already).
2015-01-24 16:07:03 -08:00
Haacked 9f675924b7 Make response models readonly
It's bothered me that our response models are mutable. They really
shouldn't be. I made the properties have a protected setter instead of
private to provide flexibility for others who might be deriving from
these classes or testing them.

Fixes #650
2015-01-03 20:21:36 -08:00
Amy Palamountain cd5627c824 Bam! 2014-02-19 22:00:56 +13:00
Chris Heckathorne 03b87f451a added documentation to get branches 2014-01-02 10:45:16 -05:00
Chris Heckathorne 924543dab7 Added GetBranches method 2013-12-20 14:02:25 -05:00