Interface Warning

interface Warning {
    affectedLines?: Line[];
    categories?: number[];
    category?: string | number;
    company?: string;
    edges?: Edge[];
    events?: Event[];
    fromStops?: readonly (Location | Station | Stop)[];
    icon?: object;
    id?: string;
    modified?: string | number;
    priority?: number;
    products?: Products;
    summary?: string;
    text?: string;
    toStops?: readonly (Location | Station | Stop)[];
    type: "status" | "warning";
    validFrom?: string | number;
    validUntil?: string | number;
}

Properties

affectedLines?: Line[]
categories?: number[]
category?: string | number
company?: string
edges?: Edge[]
events?: Event[]
fromStops?: readonly (Location | Station | Stop)[]
icon?: object
id?: string
modified?: string | number
priority?: number
products?: Products
summary?: string
text?: string
toStops?: readonly (Location | Station | Stop)[]
type: "status" | "warning"
validFrom?: string | number
validUntil?: string | number