CreateHookOption options when create a hook
Name | Type | Description | Notes |
---|---|---|---|
active | bool | [optional] [default to False] | |
authorization_header | str | [optional] | |
branch_filter | str | [optional] | |
config | Dict[str, str] | CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required | |
events | List[str] | [optional] | |
type | str |
from clientapi_forgejo.models.create_hook_option import CreateHookOption
# TODO update the JSON string below
json = "{}"
# create an instance of CreateHookOption from a JSON string
create_hook_option_instance = CreateHookOption.from_json(json)
# print the JSON string representation of the object
print(CreateHookOption.to_json())
# convert the object into a dict
create_hook_option_dict = create_hook_option_instance.to_dict()
# create an instance of CreateHookOption from a dict
create_hook_option_from_dict = CreateHookOption.from_dict(create_hook_option_dict)