- 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.
45 lines
1.7 KiB
Markdown
45 lines
1.7 KiB
Markdown
# Task
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**category** | **str** | | [optional] [default to null]
|
|
**category_custom** | **str** | The name of your custom category. Can only have a value if \"category\" is \"CUSTOM\". | [optional] [default to 'null']
|
|
**created_at** | **datetime** | | [optional] [readonly]
|
|
**customer_id** | **int** | | [optional]
|
|
**description** | **str** | | [optional] [default to 'null']
|
|
**document_id** | **int** | | [optional]
|
|
**end_at** | **datetime** | The deadline | [optional]
|
|
**finish_at** | **datetime** | The time when the task was marked as done | [optional] [readonly]
|
|
**id** | **int** | | [optional] [readonly]
|
|
**login_id** | **int** | When omitted or null, the currently active login is used | [optional]
|
|
**name** | **str** | |
|
|
**position_id** | **int** | | [optional]
|
|
**priority** | **str** | | [optional] [default to 'NORMAL']
|
|
**project_id** | **int** | | [optional]
|
|
**start_at** | **datetime** | | [optional]
|
|
**status** | **str** | |
|
|
**status_percent** | **int** | | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from easybill_generated_sync.models.task import Task
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of Task from a JSON string
|
|
task_instance = Task.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(Task.to_json())
|
|
|
|
# convert the object into a dict
|
|
task_dict = task_instance.to_dict()
|
|
# create an instance of Task from a dict
|
|
task_from_dict = Task.from_dict(task_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)
|
|
|
|
|