SimplesimDriverReport

Python pydantic class corresponding to json type `simplesim.driver.report`.

class gwatn.types.SimplesimDriverReport(*, FromGNodeAlias, FromGNodeInstanceId, DriverDataTypeName, DriverData, TypeName='simplesim.driver.report', Version='000')
Parameters:
  • FromGNodeAlias (str) –

  • FromGNodeInstanceId (str) –

  • DriverDataTypeName (str) –

  • DriverData (SimplesimDriverData) –

  • TypeName (Literal['simplesim.driver.report']) –

  • Version (str) –

FromGNodeAlias:
  • Description:

  • Format: LeftRightDot

FromGNodeInstanceId:
  • Description:

  • Format: UuidCanonicalTextual

DriverDataTypeName:
  • Description:

  • Format: LeftRightDot

DriverData:
  • Description:

class gwatn.types.simplesim_driver_report.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_driver_report.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.SimplesimDriverReport_Maker(from_g_node_alias, from_g_node_instance_id, driver_data_type_name, driver_data)
Parameters:
  • from_g_node_alias (str) –

  • from_g_node_instance_id (str) –

  • driver_data_type_name (str) –

  • driver_data (SimplesimDriverData) –

classmethod tuple_to_type(tuple)

Given a Python class object, returns the serialized JSON type object

Parameters:

tuple (SimplesimDriverReport) –

Return type:

str

classmethod type_to_tuple(t)

Given a serialized JSON type object, returns the Python class object

Parameters:

t (str) –

Return type:

SimplesimDriverReport