mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 03:16:11 +00:00
All models used in PATCH verbs should have nullable fields
This commit is contained in:
committed by
Brendan Forster
parent
8a9e828277
commit
b18b47acde
@@ -7,18 +7,12 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class ReleaseUpdate
|
||||
{
|
||||
public ReleaseUpdate(string tagName)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(tagName, "tagName");
|
||||
TagName = tagName;
|
||||
}
|
||||
|
||||
public string TagName { get; private set; }
|
||||
public string TagName { get; set; }
|
||||
public string TargetCommitish { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Body { get; set; }
|
||||
public bool Draft { get; set; }
|
||||
public bool Prerelease { get; set; }
|
||||
public bool? Draft { get; set; }
|
||||
public bool? Prerelease { get; set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user