Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.25 KB

File metadata and controls

38 lines (29 loc) · 1.25 KB

Commit

Properties

Name Type Description Notes
author User [optional]
commit RepoCommit [optional]
committer User [optional]
created datetime [optional]
files List[CommitAffectedFiles] [optional]
html_url str [optional]
parents List[CommitMeta] [optional]
sha str [optional]
stats CommitStats [optional]
url str [optional]

Example

from openapi_client.models.commit import Commit

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

# convert the object into a dict
commit_dict = commit_instance.to_dict()
# create an instance of Commit from a dict
commit_from_dict = Commit.from_dict(commit_dict)

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