octokit/octokit.net — pull request #561 by thedillonb (2014-08-18 03:48:09+00:00)
Title: All models used in PATCH verbs should have nullable fields

There were a few update models, used in PATCH requests, which had fields that were not nullable. This pull requests makes sure all fields within PATCH models can null every field (unless otherwise specified by the API docs).

1. Cloned the ReleaseUpdate (used in PATCH requests) model into a NewRelease model (used in PUT requests) since the two models should not have been shared between the request types as they had different field requirements.
2. Cleaned up the PullRequestUpdate object as it looks like there was a copy and paste mistake since it contained a few too many fields that don't exist on the update.