Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 897 Bytes

GitObject.md

File metadata and controls

31 lines (22 loc) · 897 Bytes

GitObject

Properties

Name Type Description Notes
sha str [optional]
type str [optional]
url str [optional]

Example

from clientapi_forgejo.models.git_object import GitObject

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

# convert the object into a dict
git_object_dict = git_object_instance.to_dict()
# create an instance of GitObject from a dict
git_object_from_dict = GitObject.from_dict(git_object_dict)

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