cberg
Version:
Node.js Client for the Codeberg API
38 lines (30 loc) • 1.3 kB
Markdown
# Branch
Branch represents a repository branch
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**commit** | [**PayloadCommit**](PayloadCommit.md) | | [optional] [default to undefined]
**effective_branch_protection_name** | **string** | | [optional] [default to undefined]
**enable_status_check** | **boolean** | | [optional] [default to undefined]
**name** | **string** | | [optional] [default to undefined]
**_protected** | **boolean** | | [optional] [default to undefined]
**required_approvals** | **number** | | [optional] [default to undefined]
**status_check_contexts** | **Array<string>** | | [optional] [default to undefined]
**user_can_merge** | **boolean** | | [optional] [default to undefined]
**user_can_push** | **boolean** | | [optional] [default to undefined]
## Example
```typescript
import { Branch } from 'berg';
const instance: Branch = {
commit,
effective_branch_protection_name,
enable_status_check,
name,
_protected,
required_approvals,
status_check_contexts,
user_can_merge,
user_can_push,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)