You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -44,62 +48,83 @@ public RepositoryUpdate(string name)
44
48
publicbool?Private{get;set;}
45
49
46
50
/// <summary>
47
-
/// Gets or sets whether to enable issues for the repository. The default is null (do not update).
51
+
/// Optional. Gets or sets whether the new repository is public, private, or internal. A value provided here overrides any value set in the existing private field.
52
+
/// </summary>
53
+
publicRepositoryVisibility?Visibility{get;set;}
54
+
55
+
// Yet to be implemented
56
+
//public object SecurityAndAnalysis { get; set; }
57
+
58
+
/// <summary>
59
+
/// Gets or sets whether to enable issues for the repository. The default is null (do not update). The default when created is true.
48
60
/// </summary>
49
61
publicbool?HasIssues{get;set;}
50
62
51
63
/// <summary>
52
-
/// Optional. Gets or sets whether to enable the wiki for the repository. The default is null (do not update).
64
+
/// Gets or sets whether to enable projects for the repository. The default is null (do not update). The default when created is true.
65
+
/// </summary>
66
+
publicbool?HasProjects{get;set;}
67
+
68
+
/// <summary>
69
+
/// Optional. Gets or sets whether to enable the wiki for the repository. The default is null (do not update). The default when created is true.
53
70
/// </summary>
54
71
publicbool?HasWiki{get;set;}
55
72
56
73
/// <summary>
57
-
/// Optional. Gets or sets whether to enable downloads for the repository. The default is null (do not update).
74
+
/// Optional. Gets or sets whether to enable downloads for the repository. The default is null (do not update). No longer appears on the documentation but still works.
58
75
/// </summary>
59
76
publicbool?HasDownloads{get;set;}
60
77
61
78
/// <summary>
62
-
/// Optional. Gets or sets the default branch. The default is null (do not update).
79
+
/// Optional. Gets or sets whether the repository is a template. The default is null (do not update). The default when created is false.
63
80
/// </summary>
64
-
publicstringDefaultBranch{get;set;}
81
+
publicbool?IsTemplate{get;set;}
65
82
66
83
/// <summary>
67
-
/// Optional. Allows the "Rebase and Merge" method to be used.
84
+
/// Optional. Gets or sets the default branch. The default is null (do not update).
68
85
/// </summary>
69
-
publicbool?AllowRebaseMerge{get;set;}
86
+
publicstringDefaultBranch{get;set;}
70
87
71
88
/// <summary>
72
-
/// Optional. Allows the "Squash Merge" merge method to be used.
89
+
/// Optional. Allows the "Squash Merge" merge method to be used. The default is null (do not update). The default when created is true.
73
90
/// </summary>
74
91
publicbool?AllowSquashMerge{get;set;}
75
92
76
93
/// <summary>
77
-
/// Optional. Allows the "Create a merge commit" merge method to be used.
94
+
/// Optional. Allows the "Create a merge commit" merge method to be used. The default is null (do not update). The default when created is true.
78
95
/// </summary>
79
96
publicbool?AllowMergeCommit{get;set;}
80
97
81
-
98
+
/// <summary>
99
+
/// Optional. Allows the "Rebase and Merge" method to be used. The default is null (do not update). The default when created is true.
100
+
/// </summary>
101
+
publicbool?AllowRebaseMerge{get;set;}
102
+
103
+
/// <summary>
104
+
/// Optional. Allows the auto merge feature to be used. The default is null (do not update). The default when created is false.
105
+
/// </summary>
106
+
publicbool?AllowAutoMerge{get;set;}
107
+
108
+
/// <summary>
109
+
/// Optional. Automatically delete branches on PR merge. The default is null (do not update). The default when created is false.
110
+
/// </summary>
82
111
publicbool?DeleteBranchOnMerge{get;set;}
83
112
84
113
/// <summary>
85
-
/// Optional. True to archive this repository. Note: you cannot unarchive repositories through the API.
114
+
/// Optional. Automatically set the title of squashed commits to be the PR title. The default is null (do not update). The default when created is false.
86
115
/// </summary>
87
-
publicbool?Archived{get;set;}
116
+
publicbool?UseSquashPrTitleAsDefault{get;set;}
88
117
89
118
/// <summary>
90
-
/// Optional. Gets or sets whether the new repository is public, private, or internal. A value provided here overrides any value set in the existing private field.
119
+
/// Optional. True to archive this repository. Note: you cannot unarchive repositories through the API. The default is null (do not update). The default when created is false.
91
120
/// </summary>
92
-
publicRepositoryVisibility?Visibility{get;set;}
121
+
publicbool?Archived{get;set;}
93
122
94
123
/// <summary>
95
-
/// Options. Allows the "Auto Merge" method to be used.
124
+
/// Optional. Get or set whether to allow this repository to be forked or not. The default is null (do not update). The default when created is false.
0 commit comments