copy

fun copy(names: Set<String> = this.names, phones: Set<String> = this.phones, emails: Set<String> = this.emails, brands: Set<Brand> = this.brands, urls: Set<String> = this.urls, categoryIds: Set<CategoryId> = this.categoryIds, openingHours: OpeningHours? = this.openingHours, timeZone: TimeZone? = this.timeZone, chargingPark: ChargingPark? = this.chargingPark, accessibleVehicleTypes: Set<VehicleType> = this.accessibleVehicleTypes, fuelTypes: Set<FuelType> = this.fuelTypes): Poi

Deprecated

This API is deprecated and will be removed with the next major release.

Creates a copy of this Poi object.

Return

The copied Poi object.

Parameters

names

The new names, defaults to the current value.

phones

The new phone numbers, defaults to the current value.

emails

The new email addresses, defaults to the current value.

brands

The new brands, defaults to the current value.

urls

The new URL addresses, defaults to the current value.

categoryIds

The new category IDs, defaults to the current value.

openingHours

The new opening hours, defaults to the current value.

timeZone

The new time zone, defaults to the current value.

chargingPark

The new charging park, defaults to the current value.