HapiHimSearchRequest

class HapiHimSearchRequest : HapiRequest<HapiHimMessages>

Types

Companion
Link copied to clipboard
object Companion
WeekMask
Link copied to clipboard
value class WeekMask(underlying: Int)

Functions

clear
Link copied to clipboard
open override fun clear()
containsKey
Link copied to clipboard
open override fun containsKey(key: String): Boolean
containsValue
Link copied to clipboard
open override fun containsValue(value: String): Boolean
get
Link copied to clipboard
open operator override fun get(key: String): String?
isEmpty
Link copied to clipboard
open override fun isEmpty(): Boolean
put
Link copied to clipboard
open override fun put(key: String, value: String): String?
putAll
Link copied to clipboard
open override fun putAll(from: Map<out String, String>)
remove
Link copied to clipboard
open override fun remove(key: String): String?

Properties

accessId
Link copied to clipboard
var accessId: String?

Access ID for identifying the requesting client

affectedJourneyMode
Link copied to clipboard
var affectedJourneyMode: String?

Define how to return affected journeys

affectedJourneyStopMode
Link copied to clipboard
var affectedJourneyStopMode: String?

Define how to return stops of affected journeys

bothways
Link copied to clipboard
var bothways: Boolean?

If enabled, messages in both directions - from 'himfromstation' to 'himtostation' as well as from 'himtostation' to 'himfromstation' are returned

categories
Link copied to clipboard
var categories: List<String>?

List of train categories seperated by comma

channels
Link copied to clipboard
var channels: List<String>?

List of channels seperated by comma

companies
Link copied to clipboard
var companies: List<String>?

List of companies seperated by comma

dateB
Link copied to clipboard
var dateB: LocalDate?

Sets the event period start date

dateE
Link copied to clipboard
var dateE: LocalDate?

Sets the event period end date

entries
Link copied to clipboard
open override val entries: MutableSet<MutableMap.MutableEntry<String, String>>
fromstation
Link copied to clipboard
var fromstation: String?

Filter messages by line segment starting at this station given as (external) station id

hierarchicalView
Link copied to clipboard
var hierarchicalView: Boolean?

Return parent messages with childs

himcategory
Link copied to clipboard
var himcategory: String?

HIM category, e.g. Works and/or Disturbance. Value depends on your HAFAS server data

himIds
Link copied to clipboard
var himIds: List<String>?

List of HIM message IDs seperated by comma

himtags
Link copied to clipboard
var himtags: List<String>?

HIM Tags. Value depends on your HAFAS server data

himtext
Link copied to clipboard
var himtext: String?

Filter for Him messages containing the given free text message seperated by comma

keys
Link copied to clipboard
open override val keys: MutableSet<String>
lang
Link copied to clipboard
var lang: String?

The language of the journey planer

lineids
Link copied to clipboard
var lineids: List<String>?

Only HIM messages for the given line (identified by its line ID) are part of the result. To filter multiple lines, separate the line IDs by comma

lines
Link copied to clipboard
var lines: List<String>?

Only HIM messages for the given line are part of the result. To filter multiple lines, separate the codes by comma

maxprio
Link copied to clipboard
var maxprio: Int?

Filter for HIM messages having this priority as maximum

metas
Link copied to clipboard
var metas: List<String>?

List of predefined filters seperated by comma

minprio
Link copied to clipboard
var minprio: Int?

Filter for HIM messages having at least this priority

operators
Link copied to clipboard
var operators: List<String>?

List of operators seperated by comma

orderBy
Link copied to clipboard
var orderBy: List<HafasHimSortOrder>?

Define the Order the returned messages by fields and directions. Multiple, comma separated entries are supported

poly
Link copied to clipboard
var poly: Boolean?

Enables/disables returning of geo information for affected edges and regions if available and enabled in the backend

polyEnc
Link copied to clipboard
var polyEnc: HafasPolylineEncoding?

Polyline encoding format

requestId
Link copied to clipboard
var requestId: String?

Request ID for identifying the request

searchmode
Link copied to clipboard
var searchmode: String?

HIM search mode

size
Link copied to clipboard
open override val size: Int
stations
Link copied to clipboard
var stations: List<String>?

List of (external) station ids to be filtered for seperated by comma

timeB
Link copied to clipboard
var timeB: LocalTime?

Sets the event period start time

timeE
Link copied to clipboard
var timeE: LocalTime?

Sets the event period end time

tostation
Link copied to clipboard
var tostation: String?

Filter messages by line segment travelling in direction of this station given as (external) station id

trainnames
Link copied to clipboard
var trainnames: List<String>?

List of train name to be filtered for seperated by comma

values
Link copied to clipboard
open override val values: MutableCollection<String>
weekdays
Link copied to clipboard
var weekdays: HapiHimSearchRequest.WeekMask?

Bitmask for validity of HIM messages based on weekdays. Each character represents a weekday starting on monday