SimplesimSnapshotBrickstorageheater
Python pydantic class corresponding to json type `simplesim.snapshot.brickstorageheater`
.
- class gwatn.types.SimplesimSnapshotBrickstorageheater(*, FromGNodeAlias, FromGNodeInstanceId, PowerWatts, StoreKwh, MaxStoreKwh, AboutTerminalAssetAlias, TypeName='simplesim.snapshot.brickstorageheater', Version='000')
- Parameters:
FromGNodeAlias (str) –
FromGNodeInstanceId (str) –
PowerWatts (int) –
StoreKwh (int) –
MaxStoreKwh (int) –
AboutTerminalAssetAlias (str) –
TypeName (Literal['simplesim.snapshot.brickstorageheater']) –
Version (str) –
- FromGNodeAlias:
Description:
Format: LeftRightDot
- FromGNodeInstanceId:
Description:
Format: UuidCanonicalTextual
- PowerWatts:
Description:
- StoreKwh:
Description:
- MaxStoreKwh:
Description:
- AboutTerminalAssetAlias:
Description:
Format: LeftRightDot
- class gwatn.types.simplesim_snapshot_brickstorageheater.check_is_uuid_canonical_textual(v)
UuidCanonicalTextual format: A string of hex words separated by hyphens of length 8-4-4-4-12.
- Raises:
ValueError – if not UuidCanonicalTextual format
- Parameters:
v (str) –
- class gwatn.types.simplesim_snapshot_brickstorageheater.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.SimplesimSnapshotBrickstorageheater_Maker(from_g_node_alias, from_g_node_instance_id, power_watts, store_kwh, max_store_kwh, about_terminal_asset_alias)
- Parameters:
from_g_node_alias (str) –
from_g_node_instance_id (str) –
power_watts (int) –
store_kwh (int) –
max_store_kwh (int) –
about_terminal_asset_alias (str) –
- classmethod tuple_to_type(tuple)
Given a Python class object, returns the serialized JSON type object
- Parameters:
tuple (SimplesimSnapshotBrickstorageheater) –
- Return type:
str
- classmethod type_to_tuple(t)
Given a serialized JSON type object, returns the Python class object
- Parameters:
t (str) –
- Return type: