Class EditRepoOption
EditRepoOption options when editing a repository's properties
Inheritance
System.Object
EditRepoOption
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()
Assembly: Dangl.GiteaOrgManager.dll
Syntax
public class EditRepoOption
Properties
|
Improve this Doc
View Source
Allow_manual_merge
either true to allow mark pr as merged manually, or false to prevent it.
Declaration
public bool? Allow_manual_merge { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Allow_merge_commits
either true to allow merging pull requests with a merge commit, or false to prevent merging pull requests with merge commits.
Declaration
public bool? Allow_merge_commits { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Allow_rebase
either true to allow rebase-merging pull requests, or false to prevent rebase-merging.
Declaration
public bool? Allow_rebase { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Allow_rebase_explicit
either true to allow rebase with explicit merge commits (--no-ff), or false to prevent rebase with explicit merge commits.
Declaration
public bool? Allow_rebase_explicit { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Allow_rebase_update
either true to allow updating pull request branch by rebase, or false to prevent it.
Declaration
public bool? Allow_rebase_update { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Allow_squash_merge
either true to allow squash-merging pull requests, or false to prevent squash-merging.
Declaration
public bool? Allow_squash_merge { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Archived
set to true to archive this repository.
Declaration
public bool? Archived { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Autodetect_manual_merge
either true to enable AutodetectManualMerge, or false to prevent it. Note: In some special cases, misjudgments can occur.
Declaration
public bool? Autodetect_manual_merge { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Default_allow_maintainer_edit
set to true to allow edits from maintainers by default
Declaration
public bool? Default_allow_maintainer_edit { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Default_branch
sets the default branch for this repository.
Declaration
public string Default_branch { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Default_delete_branch_after_merge
set to true to delete pr branch after merge by default
Declaration
public bool? Default_delete_branch_after_merge { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Default_merge_style
set to a merge style to be used by this repository: "merge", "rebase", "rebase-merge", or "squash".
Declaration
public string Default_merge_style { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Description
a short description of the repository.
Declaration
public string Description { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Enable_prune
enable prune - remove obsolete remote-tracking references
Declaration
public bool? Enable_prune { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
External_tracker
Declaration
public ExternalTracker External_tracker { get; set; }
Property Value
|
Improve this Doc
View Source
External_wiki
Declaration
public ExternalWiki External_wiki { get; set; }
Property Value
|
Improve this Doc
View Source
Has_actions
either true to enable actions unit, or false to disable them.
Declaration
public bool? Has_actions { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Has_issues
either true to enable issues for this repository or false to disable them.
Declaration
public bool? Has_issues { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Has_packages
either true to enable packages unit, or false to disable them.
Declaration
public bool? Has_packages { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Has_projects
either true to enable project unit, or false to disable them.
Declaration
public bool? Has_projects { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Has_pull_requests
either true to allow pull requests, or false to prevent pull request.
Declaration
public bool? Has_pull_requests { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Has_releases
either true to enable releases unit, or false to disable them.
Declaration
public bool? Has_releases { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Has_wiki
either true to enable the wiki for this repository or false to disable it.
Declaration
public bool? Has_wiki { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Ignore_whitespace_conflicts
either true to ignore whitespace for conflicts, or false to not ignore whitespace.
Declaration
public bool? Ignore_whitespace_conflicts { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Internal_tracker
Declaration
public InternalTracker Internal_tracker { get; set; }
Property Value
|
Improve this Doc
View Source
Mirror_interval
set to a string like 8h30m0s to set the mirror interval time
Declaration
public string Mirror_interval { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Private
either true to make the repository private or false to make it public.
Note: you will get a 422 error if the organization restricts changing repository visibility to organization
owners and a non-owner tries to change the value of private.
Declaration
public bool? Private { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Template
either true to make this repository a template or false to make it a normal repository
Declaration
public bool? Template { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Website
a URL with more information about the repository.
Declaration
public string Website { get; set; }
Property Value
| Type |
Description |
| System.String |
|