SlaEnter

Python pydantic class corresponding to json type `sla.enter`.

class gwatn.types.SlaEnter(*, TerminalAssetAlias, TypeName='sla.enter', Version='000')
Parameters:
  • TerminalAssetAlias (str) –

  • TypeName (Literal['sla.enter']) –

  • Version (str) –

TerminalAssetAlias:
  • Description:

  • Format: LeftRightDot

class gwatn.types.sla_enter.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.SlaEnter_Maker(terminal_asset_alias)
Parameters:

terminal_asset_alias (str) –

classmethod tuple_to_type(tuple)

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

Parameters:

tuple (SlaEnter) –

Return type:

str

classmethod type_to_tuple(t)

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

Parameters:

t (str) –

Return type:

SlaEnter