ActivatedCarbonFilterMonitoringTrait.ReplacementProductStruct

class ActivatedCarbonFilterMonitoringTrait.ReplacementProductStruct : ClusterStruct


The details of a replacement activated carbon filter.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

ReplacementProductStruct(
    productIdentifierType: ActivatedCarbonFilterMonitoringTrait.ProductIdentifierTypeEnum,
    productIdentifierValue: String
)

Creates the ReplacementProductStruct class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

ActivatedCarbonFilterMonitoringTrait.ProductIdentifierTypeEnum

The type of product identification.

String

A unique identifier used to identify a replacement product.

Public constructors

ReplacementProductStruct

ReplacementProductStruct(
    productIdentifierType: ActivatedCarbonFilterMonitoringTrait.ProductIdentifierTypeEnum = ProductIdentifierTypeEnum.UPC,
    productIdentifierValue: String = ""
)

Creates the ReplacementProductStruct class.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

productIdentifierType

val productIdentifierTypeActivatedCarbonFilterMonitoringTrait.ProductIdentifierTypeEnum

The type of product identification. Valid values are defined in ProductIdentifierTypeEnum.

productIdentifierValue

val productIdentifierValueString

A unique identifier used to identify a replacement product.