Admin

@Serializable
data class Admin(val countryCode: String? = null, val countryCodeAlpha3: String? = null)

An objects describing the administrative boundaries the route leg travels through.

Constructors

Link copied to clipboard
constructor(countryCode: String? = null, countryCodeAlpha3: String? = null)

Types

Link copied to clipboard
class Builder

Builder class for creating Admin instances.

Properties

Link copied to clipboard
@SerialName(value = "iso_3166_1")
val countryCode: String? = null

Contains the 2 character ISO 3166-1 alpha-2 code that applies to a country boundary. Example: "US".

Link copied to clipboard
@SerialName(value = "iso_3166_1_alpha3")
val countryCodeAlpha3: String? = null

Contains the 3 character ISO 3166-1 alpha-3 code that applies to a country boundary. Example: "USA".

Functions

Link copied to clipboard

Creates a builder initialized with the current values of the Admin instance.