mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-02 13:33:11 +00:00
1.6 KiB
1.6 KiB
SalesAvailabilityREAD
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | 32bits identifier encoded in hex-decimal string. | [optional] |
| total_size | int | Total size of availability's storage in bytes | [optional] |
| duration | int | The duration of the request in seconds | [optional] |
| min_price_per_byte_per_second | str | Minimal price per byte per second paid (in amount of tokens) for the hosted request's slot for the request's duration as decimal string | [optional] |
| total_collateral | str | Total collateral (in amount of tokens) that can be used for matching requests | [optional] |
| free_size | int | Unused size of availability's storage in bytes | [optional] |
Example
from codex_api_client.models.sales_availability_read import SalesAvailabilityREAD
# TODO update the JSON string below
json = "{}"
# create an instance of SalesAvailabilityREAD from a JSON string
sales_availability_read_instance = SalesAvailabilityREAD.from_json(json)
# print the JSON string representation of the object
print(SalesAvailabilityREAD.to_json())
# convert the object into a dict
sales_availability_read_dict = sales_availability_read_instance.to_dict()
# create an instance of SalesAvailabilityREAD from a dict
sales_availability_read_from_dict = SalesAvailabilityREAD.from_dict(sales_availability_read_dict)