Issue represents an issue in a repository
Name | Type | Description | Notes |
---|---|---|---|
assets | List[Attachment] | [optional] | |
assignee | User | [optional] | |
assignees | List[User] | [optional] | |
body | str | [optional] | |
closed_at | datetime | [optional] | |
comments | int | [optional] | |
created_at | datetime | [optional] | |
due_date | datetime | [optional] | |
html_url | str | [optional] | |
id | int | [optional] | |
is_locked | bool | [optional] | |
labels | List[Label] | [optional] | |
milestone | Milestone | [optional] | |
number | int | [optional] | |
original_author | str | [optional] | |
original_author_id | int | [optional] | |
pin_order | int | [optional] | |
pull_request | PullRequestMeta | [optional] | |
ref | str | [optional] | |
repository | RepositoryMeta | [optional] | |
state | str | StateType issue state type | [optional] |
title | str | [optional] | |
updated_at | datetime | [optional] | |
url | str | [optional] | |
user | User | [optional] |
from clientapi_forgejo.models.issue import Issue
# TODO update the JSON string below
json = "{}"
# create an instance of Issue from a JSON string
issue_instance = Issue.from_json(json)
# print the JSON string representation of the object
print(Issue.to_json())
# convert the object into a dict
issue_dict = issue_instance.to_dict()
# create an instance of Issue from a dict
issue_from_dict = Issue.from_dict(issue_dict)