- Implement tests for basic and bearer authentication headers in `test_auth.py`. - Create tests for the `EasybillWebhookParser` in `test_webhooks.py`, covering JSON and form-encoded payloads, as well as a generic parse and acknowledgement method.
1,019 B
1,019 B
WebHooks
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | The current page | |
| pages | int | Max possible pages | |
| limit | int | Items limitation. Max 1000 | |
| total | int | Total Items | |
| items | List[WebHook] | [optional] |
Example
from easybill_generated_sync.models.web_hooks import WebHooks
# TODO update the JSON string below
json = "{}"
# create an instance of WebHooks from a JSON string
web_hooks_instance = WebHooks.from_json(json)
# print the JSON string representation of the object
print(WebHooks.to_json())
# convert the object into a dict
web_hooks_dict = web_hooks_instance.to_dict()
# create an instance of WebHooks from a dict
web_hooks_from_dict = WebHooks.from_dict(web_hooks_dict)