Commit Graph

6 Commits

Author SHA1 Message Date
aedampir@gmail.com 211cfb0036 BranchProtection fixes 2016-03-29 17:42:33 +07:00
Ryan Gribble 7be9dc0838 Make Contexts IReadonlyList implemented as per CommitActivity
Tidy up to be consistent with other model classes
2015-12-19 19:58:13 +10:00
Ryan Gribble 87bb4669e4 Remove AddContext() and ClearContexts() in favour of just using the List passed into the ctor 2015-12-19 19:58:10 +10:00
Ryan Gribble 6b8312276f Response objects need protected setters and ctors with parameters
Rework integration test examples
2015-12-19 19:58:09 +10:00
Ryan Gribble ef8270614f Add DebuggerDisplay property to model classes 2015-12-19 19:58:02 +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