2024-08-23 16:22:29 +02:00
# Purchase
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
2025-04-23 10:59:04 +02:00
**state** | **str** | Description of the Request& #39 ; s state |
2024-08-23 16:22:29 +02:00
**error** | **str** | If Request failed, then here is presented the error message | [optional]
**request** | [**StorageRequest** ](StorageRequest.md ) | | [optional]
2025-04-23 10:59:04 +02:00
**request_id** | **str** | 32bits identifier encoded in hex-decimal string. |
2024-08-23 16:22:29 +02:00
## Example
```python
2024-12-18 14:22:21 +01:00
from codex_api_client.models.purchase import Purchase
2024-08-23 16:22:29 +02:00
# TODO update the JSON string below
json = "{}"
# create an instance of Purchase from a JSON string
purchase_instance = Purchase.from_json(json)
# print the JSON string representation of the object
print(Purchase.to_json())
# convert the object into a dict
purchase_dict = purchase_instance.to_dict()
# create an instance of Purchase from a dict
purchase_from_dict = Purchase.from_dict(purchase_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)