Class GenerateRepoOption
GenerateRepoOption options when creating repository using a template
Inheritance
System.Object
GenerateRepoOption
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dangl.GiteaOrgManager.Client
Assembly: Dangl.GiteaOrgManager.dll
Syntax
public class GenerateRepoOption
Properties
| Improve this Doc View SourceAvatar
include avatar of the template repo
Declaration
public bool? Avatar { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Default_branch
Default branch of the new repository
Declaration
public string Default_branch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Description
Description of the repository to create
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Git_content
include git content of default branch in template repo
Declaration
public bool? Git_content { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Git_hooks
include git hooks in template repo
Declaration
public bool? Git_hooks { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Labels
include labels in template repo
Declaration
public bool? Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Name
Name of the repository to create
Declaration
[Required(AllowEmptyStrings = true)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Owner
The organization or person who will own the new repository
Declaration
[Required(AllowEmptyStrings = true)]
public string Owner { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Private
Whether the repository is private
Declaration
public bool? Private { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Topics
include topics in template repo
Declaration
public bool? Topics { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Webhooks
include webhooks in template repo
Declaration
public bool? Webhooks { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |