Table of Contents

Class RouteServiceMetadata

Namespace
Honua.Sdk.Abstractions.Routing
Assembly
Honua.Sdk.Abstractions.dll

Routing service metadata discovered from a provider.

public sealed record RouteServiceMetadata : IEquatable<RouteServiceMetadata>
Inheritance
RouteServiceMetadata
Implements
Inherited Members

Properties

DefaultTravelMode

Default travel mode name, id, or JSON summary, when advertised.

public string? DefaultTravelMode { get; init; }

Property Value

string

RawResponse

Raw provider metadata response.

public JsonElement RawResponse { get; init; }

Property Value

JsonElement

RouteLayerName

Route layer used for discovery.

public required string RouteLayerName { get; init; }

Property Value

string

ServiceId

Provider service id used for discovery.

public required string ServiceId { get; init; }

Property Value

string

SupportedDirectionsLanguages

Supported directions languages, when advertised.

public IReadOnlyList<string> SupportedDirectionsLanguages { get; init; }

Property Value

IReadOnlyList<string>

TravelModes

Supported travel modes, when advertised.

public IReadOnlyList<RouteTravelMode> TravelModes { get; init; }

Property Value

IReadOnlyList<RouteTravelMode>