PartId

@HomeExperimentalApi
class PartId


Identifier for a part.

Summary

Public companion properties

PartId

Public constructors

PartId(deviceId: Id?, type: DeviceTypeFactory<DeviceType>, tags: Set<Tag>)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Id?

the ID of the device that contains the part.

Set<Tag>

the tags of the part.

DeviceTypeFactory<DeviceType>

the type of the part.

Public companion properties

UNSPECIFIED

val UNSPECIFIEDPartId

Public constructors

PartId

PartId(deviceId: Id?, type: DeviceTypeFactory<DeviceType>, tags: Set<Tag>)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

deviceId

val deviceIdId?

the ID of the device that contains the part.

tags

val tagsSet<Tag>

the tags of the part. Part tags are used to identify a specific part within a device if there are multiple parts of the same type.

type

val typeDeviceTypeFactory<DeviceType>

the type of the part.