Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.97 KB

File metadata and controls

38 lines (29 loc) · 1.97 KB

MailV1WebhooksWebhookSecretResource

Properties

Name Type Description Notes
id str Unique webhook identifier [optional]
mailbox MailV1WebhooksWebhookMailboxResource [optional]
name str Human-readable name for this webhook [optional]
description str Optional description of the webhook's purpose [optional]
events List[str] Events that trigger this webhook [optional]
status str Current status of the webhook [optional]
url str URL that receives webhook POST requests [optional]
secret str New webhook secret, sent as `Authorization: Bearer <secret>` with every delivery. The previous secret is immediately invalidated and the new one is not returned again. [optional]
created_at datetime [optional]
updated_at datetime [optional]

Example

from hostinger_api.models.mail_v1_webhooks_webhook_secret_resource import MailV1WebhooksWebhookSecretResource

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

# convert the object into a dict
mail_v1_webhooks_webhook_secret_resource_dict = mail_v1_webhooks_webhook_secret_resource_instance.to_dict()
# create an instance of MailV1WebhooksWebhookSecretResource from a dict
mail_v1_webhooks_webhook_secret_resource_from_dict = MailV1WebhooksWebhookSecretResource.from_dict(mail_v1_webhooks_webhook_secret_resource_dict)

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