Skip to content

Latest commit

History

History
30 lines (21 loc) · 1.03 KB

File metadata and controls

30 lines (21 loc) · 1.03 KB

AddWebhookRequest

Properties

NameTypeDescriptionNotes
hook_urlstrThe endpoint the POST request will be sent to
triggerstrThe trigger which will cause the webhook to be sent

Example

fromklimapi_python.models.add_webhook_requestimportAddWebhookRequest# TODO update the JSON string belowjson="{}"# create an instance of AddWebhookRequest from a JSON stringadd_webhook_request_instance=AddWebhookRequest.from_json(json)
# print the JSON string representation of the objectprint(AddWebhookRequest.to_json())
# convert the object into a dictadd_webhook_request_dict=add_webhook_request_instance.to_dict()
# create an instance of AddWebhookRequest from a dictadd_webhook_request_from_dict=AddWebhookRequest.from_dict(add_webhook_request_dict)

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