gatelogue_types.SeaCompany

class gatelogue_types.SeaCompany(*, i: ID = None, source: set[str] = <factory>, name: str, lines: list[~gatelogue_types.Sourced[ID]] = <factory>, stops: list[~gatelogue_types.Sourced[ID]] = <factory>, local: bool = False)

Bases: Node

__init__()

Methods

NS()

__init__()

Attributes

lines

List of IDs of all SeaLine s the company operates

local

Whether the company operates within the city, e.g. a local ferry line.

name

Name of the Sea company

stops

List of all SeaStop s the company's lines stop at

i

The ID of the node

source

All sources that prove the node's existence

classmethod NS()
i: ID

The ID of the node

lines: list[Sourced[ID]]

List of IDs of all SeaLine s the company operates

local: bool

Whether the company operates within the city, e.g. a local ferry line

name: str

Name of the Sea company

source: set[str]

All sources that prove the node’s existence

stops: list[Sourced[ID]]

List of all SeaStop s the company’s lines stop at