Instrument

class Instrument(var type: InstrumentType, var serialNumber: String, var model: String)

An instrument.

Constructors

Link copied to clipboard
constructor(type: InstrumentType, serialNumber: String, model: String)

Properties

Link copied to clipboard

The instrument model.

Link copied to clipboard

The serial number.

Link copied to clipboard

The instrument type.

Functions

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

Returns true if this instance is equal to other.

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

Returns a hash code value for this instance.

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

Returns a string representation of this instance.