Brand

class Brand(val name: String)

Class representing a brand of a Point Of Interest.

Constructors

Link copied to clipboard
constructor(name: String)

create a new Brand object.

Properties

Link copied to clipboard

The name of the brand.

Functions

Link copied to clipboard
operator fun component1(): String

Returns the name of the brand.

Link copied to clipboard
fun copy(name: String = this.name): Brand

Creates a copy of this Brand object.

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

Checks if this Brand object is equal to another object.

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

Generates a hash code for this Brand object.

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

Returns a string representation of this Brand object.