Amenity

class Amenity

Provides information about amenities available at a given RestStop

Parameters

name

name of the amenity

type

type of the amenity. See AmenityType

brand

brand of the amenity.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val brand: String?
Link copied to clipboard
val name: String?
Link copied to clipboard
val type: String