Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.26 KB

CreateHookRequest.md

File metadata and controls

35 lines (26 loc) · 1.26 KB

CreateHookRequest

Properties

Name Type Description Notes
tenant_id str [optional]
name str The name of the hook. [optional]
event str Use `events` instead. [optional]
events List[str] An array of hook events. [optional]
config CreateHookRequestConfig
enabled bool [optional]
created_at float [optional]

Example

from py_logto.models.create_hook_request import CreateHookRequest

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

# convert the object into a dict
create_hook_request_dict = create_hook_request_instance.to_dict()
# create an instance of CreateHookRequest from a dict
create_hook_request_from_dict = CreateHookRequest.from_dict(create_hook_request_dict)

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