Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 979 Bytes

File metadata and controls

32 lines (23 loc) · 979 Bytes

CommitStats

CommitStats is statistics for a RepoCommit

Properties

Name Type Description Notes
additions int [optional]
deletions int [optional]
total int [optional]

Example

from clientapi_forgejo.models.commit_stats import CommitStats

# TODO update the JSON string below
json = "{}"
# create an instance of CommitStats from a JSON string
commit_stats_instance = CommitStats.from_json(json)
# print the JSON string representation of the object
print(CommitStats.to_json())

# convert the object into a dict
commit_stats_dict = commit_stats_instance.to_dict()
# create an instance of CommitStats from a dict
commit_stats_from_dict = CommitStats.from_dict(commit_stats_dict)

[Back to Model list] [Back to API list] [Back to README]