# EditRepoOption

EditRepoOption options when editing a repository\'s properties

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**allow_fast_forward_only_merge** | **boolean** | either &#x60;true&#x60; to allow fast-forward-only merging pull requests, or &#x60;false&#x60; to prevent fast-forward-only merging. | [optional] [default to undefined]
**allow_manual_merge** | **boolean** | either &#x60;true&#x60; to allow mark pr as merged manually, or &#x60;false&#x60; to prevent it. | [optional] [default to undefined]
**allow_merge_commits** | **boolean** | either &#x60;true&#x60; to allow merging pull requests with a merge commit, or &#x60;false&#x60; to prevent merging pull requests with merge commits. | [optional] [default to undefined]
**allow_rebase** | **boolean** | either &#x60;true&#x60; to allow rebase-merging pull requests, or &#x60;false&#x60; to prevent rebase-merging. | [optional] [default to undefined]
**allow_rebase_explicit** | **boolean** | either &#x60;true&#x60; to allow rebase with explicit merge commits (--no-ff), or &#x60;false&#x60; to prevent rebase with explicit merge commits. | [optional] [default to undefined]
**allow_rebase_update** | **boolean** | either &#x60;true&#x60; to allow updating pull request branch by rebase, or &#x60;false&#x60; to prevent it. | [optional] [default to undefined]
**allow_squash_merge** | **boolean** | either &#x60;true&#x60; to allow squash-merging pull requests, or &#x60;false&#x60; to prevent squash-merging. | [optional] [default to undefined]
**archived** | **boolean** | set to &#x60;true&#x60; to archive this repository. | [optional] [default to undefined]
**autodetect_manual_merge** | **boolean** | either &#x60;true&#x60; to enable AutodetectManualMerge, or &#x60;false&#x60; to prevent it. Note: In some special cases, misjudgments can occur. | [optional] [default to undefined]
**default_allow_maintainer_edit** | **boolean** | set to &#x60;true&#x60; to allow edits from maintainers by default | [optional] [default to undefined]
**default_branch** | **string** | sets the default branch for this repository. | [optional] [default to undefined]
**default_delete_branch_after_merge** | **boolean** | set to &#x60;true&#x60; to delete pr branch after merge by default | [optional] [default to undefined]
**default_merge_style** | **string** | set to a merge style to be used by this repository: \&quot;merge\&quot;, \&quot;rebase\&quot;, \&quot;rebase-merge\&quot;, \&quot;squash\&quot;, \&quot;fast-forward-only\&quot;, \&quot;manually-merged\&quot;, or \&quot;rebase-update-only\&quot;. | [optional] [default to undefined]
**default_update_style** | **string** | set to a update style to be used by this repository: \&quot;rebase\&quot; or \&quot;merge\&quot; | [optional] [default to undefined]
**description** | **string** | a short description of the repository. | [optional] [default to undefined]
**enable_prune** | **boolean** | enable prune - remove obsolete remote-tracking references when mirroring | [optional] [default to undefined]
**external_tracker** | [**ExternalTracker**](ExternalTracker.md) |  | [optional] [default to undefined]
**external_wiki** | [**ExternalWiki**](ExternalWiki.md) |  | [optional] [default to undefined]
**globally_editable_wiki** | **boolean** | set the globally editable state of the wiki | [optional] [default to undefined]
**has_actions** | **boolean** | either &#x60;true&#x60; to enable actions unit, or &#x60;false&#x60; to disable them. | [optional] [default to undefined]
**has_issues** | **boolean** | either &#x60;true&#x60; to enable issues for this repository or &#x60;false&#x60; to disable them. | [optional] [default to undefined]
**has_packages** | **boolean** | either &#x60;true&#x60; to enable packages unit, or &#x60;false&#x60; to disable them. | [optional] [default to undefined]
**has_projects** | **boolean** | either &#x60;true&#x60; to enable project unit, or &#x60;false&#x60; to disable them. | [optional] [default to undefined]
**has_pull_requests** | **boolean** | either &#x60;true&#x60; to allow pull requests, or &#x60;false&#x60; to prevent pull request. | [optional] [default to undefined]
**has_releases** | **boolean** | either &#x60;true&#x60; to enable releases unit, or &#x60;false&#x60; to disable them. | [optional] [default to undefined]
**has_wiki** | **boolean** | either &#x60;true&#x60; to enable the wiki for this repository or &#x60;false&#x60; to disable it. | [optional] [default to undefined]
**ignore_whitespace_conflicts** | **boolean** | either &#x60;true&#x60; to ignore whitespace for conflicts, or &#x60;false&#x60; to not ignore whitespace. | [optional] [default to undefined]
**internal_tracker** | [**InternalTracker**](InternalTracker.md) |  | [optional] [default to undefined]
**mirror_interval** | **string** | set to a string like &#x60;8h30m0s&#x60; to set the mirror interval time | [optional] [default to undefined]
**name** | **string** | name of the repository | [optional] [default to undefined]
**_private** | **boolean** | either &#x60;true&#x60; to make the repository private or &#x60;false&#x60; 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. | [optional] [default to undefined]
**template** | **boolean** | either &#x60;true&#x60; to make this repository a template or &#x60;false&#x60; to make it a normal repository | [optional] [default to undefined]
**website** | **string** | a URL with more information about the repository. | [optional] [default to undefined]
**wiki_branch** | **string** | sets the branch used for this repository\&#39;s wiki. | [optional] [default to undefined]

## Example

```typescript
import { EditRepoOption } from 'berg';

const instance: EditRepoOption = {
    allow_fast_forward_only_merge,
    allow_manual_merge,
    allow_merge_commits,
    allow_rebase,
    allow_rebase_explicit,
    allow_rebase_update,
    allow_squash_merge,
    archived,
    autodetect_manual_merge,
    default_allow_maintainer_edit,
    default_branch,
    default_delete_branch_after_merge,
    default_merge_style,
    default_update_style,
    description,
    enable_prune,
    external_tracker,
    external_wiki,
    globally_editable_wiki,
    has_actions,
    has_issues,
    has_packages,
    has_projects,
    has_pull_requests,
    has_releases,
    has_wiki,
    ignore_whitespace_conflicts,
    internal_tracker,
    mirror_interval,
    name,
    _private,
    template,
    website,
    wiki_branch,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
