Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 923 Bytes

File metadata and controls

32 lines (23 loc) · 923 Bytes

GitHook

GitHook represents a Git repository hook

Properties

Name Type Description Notes
content str [optional]
is_active bool [optional]
name str [optional]

Example

from clientapi_forgejo.models.git_hook import GitHook

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

# convert the object into a dict
git_hook_dict = git_hook_instance.to_dict()
# create an instance of GitHook from a dict
git_hook_from_dict = GitHook.from_dict(git_hook_dict)

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