sporestack-python/src/sporestack/models.py

23 lines
275 B
Python
Raw Normal View History

2022-02-10 21:47:57 +00:00
"""
SporeStack API supplemental models
"""
from typing import Optional
from pydantic import BaseModel
class NetworkInterface(BaseModel):
ipv4: str
ipv6: str
class Payment(BaseModel):
txid: Optional[str]
uri: Optional[str]
usd: str
paid: bool