- 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.
52 lines
2.1 KiB
Markdown
52 lines
2.1 KiB
Markdown
# Contact
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**city** | **str** | |
|
|
**state** | **str** | | [optional]
|
|
**company_name** | **str** | | [optional]
|
|
**country** | **str** | Two-letter country code | [optional]
|
|
**department** | **str** | | [optional] [default to 'null']
|
|
**emails** | **List[str]** | | [optional]
|
|
**fax** | **str** | | [optional] [default to 'null']
|
|
**first_name** | **str** | | [optional] [default to 'null']
|
|
**id** | **int** | | [optional] [readonly]
|
|
**last_name** | **str** | | [optional] [default to 'null']
|
|
**login_id** | **int** | | [optional] [readonly]
|
|
**mobile** | **str** | | [optional] [default to 'null']
|
|
**note** | **str** | | [optional] [default to 'null']
|
|
**personal** | **bool** | | [optional] [default to False]
|
|
**phone_1** | **str** | | [optional] [default to 'null']
|
|
**phone_2** | **str** | | [optional] [default to 'null']
|
|
**salutation** | **int** | 0: empty<br/> 1: Herrn<br/> 2: Frau<br/> 3: Firma<br/> 4: Herrn und Frau<br/> 5: Eheleute<br/> 6: Familie | [optional]
|
|
**street** | **str** | |
|
|
**suffix_1** | **str** | | [optional] [default to 'null']
|
|
**suffix_2** | **str** | | [optional] [default to 'null']
|
|
**title** | **str** | | [optional] [default to 'null']
|
|
**zip_code** | **str** | | [optional] [default to 'null']
|
|
**created_at** | **str** | | [optional] [readonly]
|
|
**updated_at** | **str** | | [optional] [readonly]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from easybill_generated_sync.models.contact import Contact
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of Contact from a JSON string
|
|
contact_instance = Contact.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(Contact.to_json())
|
|
|
|
# convert the object into a dict
|
|
contact_dict = contact_instance.to_dict()
|
|
# create an instance of Contact from a dict
|
|
contact_from_dict = Contact.from_dict(contact_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)
|
|
|
|
|