diff --git a/Octokit/GitHubModels.cs b/Octokit/GitHubModels.cs
index 4d6b00f5..1a68bde8 100644
--- a/Octokit/GitHubModels.cs
+++ b/Octokit/GitHubModels.cs
@@ -1,5 +1,6 @@
using System;
using System.Diagnostics.CodeAnalysis;
+using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Octokit.Http;
@@ -452,4 +453,63 @@ namespace Octokit
public bool Primary { get; set; }
}
+
+ ///
+ /// Describes a new repository to create via the method.
+ ///
+ public class NewRepository
+ {
+ ///
+ /// Optional. Gets or sets whether to create an initial commit with empty README. The default is false.
+ ///
+ public bool? AutoInit { get; set; }
+
+ ///
+ /// Required. Gets or sets the new repository's description
+ ///
+ public string Description { get; set; }
+
+ /// s
+ /// Optional. Gets or sets whether to the enable downloads for the new repository. The default is true.
+ ///
+ [DataMember(Name="has_downloads")]
+ public bool? HasDownloads { get; set; }
+
+ /// s
+ /// Optional. Gets or sets whether to the enable issues for the new repository. The default is true.
+ ///
+ [DataMember(Name = "has_issues")]
+ public bool? HasIssues { get; set; }
+
+ /// s
+ /// Optional. Gets or sets whether to the enable the wiki for the new repository. The default is true.
+ ///
+ [DataMember(Name = "has_wiki")]
+ public bool? HasWiki { get; set; }
+
+ ///
+ /// Optional. Gets or sets the new repository's optional website.
+ ///
+ public string Homepage { get; set; }
+
+ ///
+ /// Optional. Gets or sets the desired language's or platform's .gitignore template to apply. Use the name of the template without the extension; "Haskell", for example. Ignored if is null or false.
+ ///
+ public string GitIgnoreTemplate { get; set; }
+
+ ///
+ /// Required. Gets or sets the new repository's name.
+ ///
+ public string Name { get; set; }
+
+ ///
+ /// Optional. Gets or sets whether the new repository is private; the default is false.
+ ///
+ public bool? Private { get; set; }
+
+ ///
+ /// Optional. Gets or sets the ID of the team to grant access to this repository. This is only valid when creating a repository for an organization.
+ ///
+ public int? TeamId { get; set; }
+ }
}
diff --git a/Octokit/Octokit.csproj b/Octokit/Octokit.csproj
index 887fc4b6..780a2072 100644
--- a/Octokit/Octokit.csproj
+++ b/Octokit/Octokit.csproj
@@ -72,6 +72,7 @@
..\packages\Microsoft.Bcl.1.1.3\lib\net40\System.Runtime.dll
+
..\packages\Microsoft.Bcl.1.1.3\lib\net40\System.Threading.Tasks.dll