TadeedSpecsHack
Python pydantic class corresponding to json type `tadeed.specs.hack`
.
- class gwatn.types.TadeedSpecsHack(*, TerminalAssetAlias, MicroLat, MicroLon, DaemonPort, TypeName='tadeed.specs.hack', Version='000')
- Parameters:
TerminalAssetAlias (str) –
MicroLat (int) –
MicroLon (int) –
DaemonPort (int) –
TypeName (Literal['tadeed.specs.hack']) –
Version (str) –
- TerminalAssetAlias:
Description:
Format: LeftRightDot
- MicroLat:
Description:
- MicroLon:
Description:
- DaemonPort:
Description:
- class gwatn.types.tadeed_specs_hack.check_is_left_right_dot(v)
LeftRightDot format: Lowercase alphanumeric words separated by periods, most significant word (on the left) starting with an alphabet character.
- Raises:
ValueError – if not LeftRightDot format
- Parameters:
v (str) –
- class gwatn.types.TadeedSpecsHack_Maker(terminal_asset_alias, micro_lat, micro_lon, daemon_port)
- Parameters:
terminal_asset_alias (str) –
micro_lat (int) –
micro_lon (int) –
daemon_port (int) –
- classmethod tuple_to_type(tuple)
Given a Python class object, returns the serialized JSON type object
- Parameters:
tuple (TadeedSpecsHack) –
- Return type:
str
- classmethod type_to_tuple(t)
Given a serialized JSON type object, returns the Python class object
- Parameters:
t (str) –
- Return type: