CommitStatus holds a single status of a single Commit
Name | Type | Description | Notes |
---|---|---|---|
context | str | [optional] | |
created_at | datetime | [optional] | |
creator | User | [optional] | |
description | str | [optional] | |
id | int | [optional] | |
status | str | CommitStatusState holds the state of a CommitStatus It can be "pending", "success", "error" and "failure" | [optional] |
target_url | str | [optional] | |
updated_at | datetime | [optional] | |
url | str | [optional] |
from clientapi_forgejo.models.commit_status import CommitStatus
# TODO update the JSON string below
json = "{}"
# create an instance of CommitStatus from a JSON string
commit_status_instance = CommitStatus.from_json(json)
# print the JSON string representation of the object
print(CommitStatus.to_json())
# convert the object into a dict
commit_status_dict = commit_status_instance.to_dict()
# create an instance of CommitStatus from a dict
commit_status_from_dict = CommitStatus.from_dict(commit_status_dict)