cberg
Version:
Node.js Client for the Codeberg API
44 lines (36 loc) • 1.89 kB
Markdown
# GenerateRepoOption
GenerateRepoOption options when creating repository using a template
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**avatar** | **boolean** | include avatar of the template repo | [optional] [default to undefined]
**default_branch** | **string** | Default branch of the new repository | [optional] [default to undefined]
**description** | **string** | Description of the repository to create | [optional] [default to undefined]
**git_content** | **boolean** | include git content of default branch in template repo | [optional] [default to undefined]
**git_hooks** | **boolean** | include git hooks in template repo | [optional] [default to undefined]
**labels** | **boolean** | include labels in template repo | [optional] [default to undefined]
**name** | **string** | Name of the repository to create | [default to undefined]
**owner** | **string** | The organization or person who will own the new repository | [default to undefined]
**_private** | **boolean** | Whether the repository is private | [optional] [default to undefined]
**protected_branch** | **boolean** | include protected branches in template repo | [optional] [default to undefined]
**topics** | **boolean** | include topics in template repo | [optional] [default to undefined]
**webhooks** | **boolean** | include webhooks in template repo | [optional] [default to undefined]
## Example
```typescript
import { GenerateRepoOption } from 'berg';
const instance: GenerateRepoOption = {
avatar,
default_branch,
description,
git_content,
git_hooks,
labels,
name,
owner,
_private,
protected_branch,
topics,
webhooks,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)