ServiceBrands

data class ServiceBrands(val serviceBrands: List<Brand>) : GofsFeedData, List<Brand> (source)

Defines the on-demand service brands available to the riders.

One feed may contain multiple service brands with different features and amenities (e.g. A ridehail service system may offer the 'Regular Ride', 'Large Ride' and 'Shared Ride' services).

Constructors

Link copied to clipboard
constructor(serviceBrands: List<Brand>)

Properties

Link copied to clipboard
@SerialName(value = "service_brands")
val serviceBrands: List<Brand>

Array that contains one object per service brand.

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
open operator override fun contains(element: Brand): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<Brand>): Boolean
Link copied to clipboard
open operator override fun get(index: Int): Brand
Link copied to clipboard
open override fun indexOf(element: Brand): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<Brand>
Link copied to clipboard
open override fun lastIndexOf(element: Brand): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<Brand>
open override fun listIterator(index: Int): ListIterator<Brand>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<Brand>