- 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.
38 lines
1.8 KiB
Markdown
38 lines
1.8 KiB
Markdown
# PostBoxRequest
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**to** | **str** | | [optional]
|
|
**cc** | **str** | | [optional]
|
|
**var_from** | **str** | | [optional]
|
|
**subject** | **str** | | [optional]
|
|
**message** | **str** | | [optional]
|
|
**var_date** | **date** | | [optional]
|
|
**send_by_self** | **bool** | | [optional]
|
|
**send_with_attachment** | **bool** | | [optional] [default to True]
|
|
**document_file_type** | **str** | When set to null, the setting on the customer is used | [optional]
|
|
**post_send_type** | **str** | This value indicates what method is used when the document is send via mail. The different types are offered by the german post as additional services. The registered mail options will include a tracking number which will be added to the postbox when known. If the value is omitted or empty when a postbox is created with the type \"POST\" post_send_type_standard will be used. For postbox with a different type than \"POST\" this field will hold a empty string. | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from easybill_generated_sync.models.post_box_request import PostBoxRequest
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of PostBoxRequest from a JSON string
|
|
post_box_request_instance = PostBoxRequest.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(PostBoxRequest.to_json())
|
|
|
|
# convert the object into a dict
|
|
post_box_request_dict = post_box_request_instance.to_dict()
|
|
# create an instance of PostBoxRequest from a dict
|
|
post_box_request_from_dict = PostBoxRequest.from_dict(post_box_request_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|