-
Notifications
You must be signed in to change notification settings - Fork 8
/
onshore_inventory.py
31 lines (22 loc) · 997 Bytes
/
onshore_inventory.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from pydantic import BaseModel
from typing import Optional
from vortexasdk.api.asset_tank import AssetTank
from vortexasdk.api.shared_types import ISODate
from vortexasdk.api.id import ID
class OnshoreInventory(BaseModel):
"""
Land Storage measurements are the base data set the Vortexa API is centred around.
Each measurement represents the total capacity and current amount being stored at each location.
[Land Storage Further Documentation](https://docs.vortexa.com/reference/intro-land-storage)
"""
measurement_id: Optional[ID] = None
tank_id: Optional[ID] = None
tank_details: Optional[AssetTank] = None
measurement_timestamp: Optional[ISODate] = None
publish_timestamp: Optional[ISODate] = None
report_timestamp: Optional[ISODate] = None
carry_forward: Optional[bool] = None
fill_bbl: Optional[int] = None
fill_tons: Optional[float] = None
fill_cbm: Optional[float] = None
reference_data_version: Optional[str] = None