cberg
Version:
Node.js Client for the Codeberg API
70 lines (62 loc) • 2.59 kB
Markdown
# Issue
Issue represents an issue in a repository
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**assets** | [**Array<Attachment>**](Attachment.md) | | [optional] [default to undefined]
**assignee** | [**User**](User.md) | | [optional] [default to undefined]
**assignees** | [**Array<User>**](User.md) | | [optional] [default to undefined]
**body** | **string** | | [optional] [default to undefined]
**closed_at** | **string** | | [optional] [default to undefined]
**comments** | **number** | | [optional] [default to undefined]
**created_at** | **string** | | [optional] [default to undefined]
**due_date** | **string** | | [optional] [default to undefined]
**html_url** | **string** | | [optional] [default to undefined]
**id** | **number** | | [optional] [default to undefined]
**is_locked** | **boolean** | | [optional] [default to undefined]
**labels** | [**Array<Label>**](Label.md) | | [optional] [default to undefined]
**milestone** | [**Milestone**](Milestone.md) | | [optional] [default to undefined]
**number** | **number** | | [optional] [default to undefined]
**original_author** | **string** | | [optional] [default to undefined]
**original_author_id** | **number** | | [optional] [default to undefined]
**pin_order** | **number** | | [optional] [default to undefined]
**pull_request** | [**PullRequestMeta**](PullRequestMeta.md) | | [optional] [default to undefined]
**ref** | **string** | | [optional] [default to undefined]
**repository** | [**RepositoryMeta**](RepositoryMeta.md) | | [optional] [default to undefined]
**state** | **string** | StateType issue state type | [optional] [default to undefined]
**title** | **string** | | [optional] [default to undefined]
**updated_at** | **string** | | [optional] [default to undefined]
**url** | **string** | | [optional] [default to undefined]
**user** | [**User**](User.md) | | [optional] [default to undefined]
## Example
```typescript
import { Issue } from 'berg';
const instance: Issue = {
assets,
assignee,
assignees,
body,
closed_at,
comments,
created_at,
due_date,
html_url,
id,
is_locked,
labels,
milestone,
number,
original_author,
original_author_id,
pin_order,
pull_request,
ref,
repository,
state,
title,
updated_at,
url,
user,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)