gatelogue_types.SeaLineNS

class gatelogue_types.SeaLineNS(*, i: ID = None, source: set[str] = <factory>, code: str, name: str | None = None, colour: str | None = None, mode: SeaMode | None = None, company: ID = None, stops: list[ID] = <factory>)

Bases: SeaLine, NodeNS

__init__()

Methods

NS()

__init__()

Attributes

code

Unique code identifying the Sea line

colour

Colour of the line (on a map)

company

ID of the SeaCompany that operates the line

i

The ID of the node

mode

Type of boat used on the line

name

Name of the line

source

All sources that prove the node's existence

stops

List of all SeaStop s the line stops at

classmethod NS()
code: str

Unique code identifying the Sea line

colour: str | None

Colour of the line (on a map)

company: ID

ID of the SeaCompany that operates the line

i: ID

The ID of the node

mode: SeaMode | None

Type of boat used on the line

name: str | None

Name of the line

source: set[str]

All sources that prove the node’s existence

stops: list[ID]

List of all SeaStop s the line stops at