- 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.2 KiB
1.2 KiB
DiscountPositionGroups
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[DiscountPositionGroup] | [optional] |
Example
from easybill_generated_sync.models.discount_position_groups import DiscountPositionGroups
# TODO update the JSON string below
json = "{}"
# create an instance of DiscountPositionGroups from a JSON string
discount_position_groups_instance = DiscountPositionGroups.from_json(json)
# print the JSON string representation of the object
print(DiscountPositionGroups.to_json())
# convert the object into a dict
discount_position_groups_dict = discount_position_groups_instance.to_dict()
# create an instance of DiscountPositionGroups from a dict
discount_position_groups_from_dict = DiscountPositionGroups.from_dict(discount_position_groups_dict)