UnitTestingTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface UnitTestingTrait.Attributes : ClusterStruct

Known direct subclasses
UnitTesting

API for the UnitTesting trait.


Attributes for the UnitTesting cluster.

Summary

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

List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

UnitTestingTrait.Bitmap16MaskMap?

bitmap16 attribute.

UnitTestingTrait.Bitmap32MaskMap?

bitmap32 attribute.

UnitTestingTrait.Bitmap64MaskMap?

bitmap64 attribute.

UnitTestingTrait.Bitmap8MaskMap?

bitmap8 attribute.

Boolean?

boolean attribute.

String?

charString attribute.

Boolean?

clusterErrorBoolean attribute.

UShort

The revision of the server cluster specification supported by the cluster instance.

UShort?

enum16 attribute.

UByte?

enum8 attribute.

UnitTestingTrait.SimpleEnum?

enumAttr attribute.

UInt?

epochS attribute.

ULong?

epochUs attribute.

UInt?
UnitTestingTrait.Feature

Whether the server supports zero or more optional cluster features.

Double?

floatDouble attribute.

Float?

floatSingle attribute.

Boolean?

generalErrorBoolean attribute.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

UnitTestingTrait.TestGlobalEnum?
UnitTestingTrait.TestGlobalStruct?
Short?

int16s attribute.

UShort?

int16u attribute.

Int?

int24s attribute.

UInt?

int24u attribute.

Int?

int32s attribute.

UInt?

int32u attribute.

Long?

int40s attribute.

ULong?

int40u attribute.

Long?

int48s attribute.

ULong?

int48u attribute.

Long?

int56s attribute.

ULong?

int56u attribute.

Long?

int64s attribute.

ULong?

int64u attribute.

Byte?

int8s attribute.

UByte?

int8u attribute.

List<UnitTestingTrait.TestFabricScoped>?

listFabricScoped attribute.

List<UByte>?

listInt8u attribute.

List<ByteArray>?

listLongOctetString attribute.

List<UnitTestingTrait.NullablesAndOptionalsStruct>?

listNullablesAndOptionalsStruct attribute.

List<ByteArray>?

listOctetString attribute.

List<UnitTestingTrait.TestListStructOctet>?

listStructOctetString attribute.

String?

longCharString attribute.

ByteArray?

longOctetString attribute.

UByte?
UnitTestingTrait.Bitmap16MaskMap?

nullableBitmap16 attribute.

UnitTestingTrait.Bitmap32MaskMap?

nullableBitmap32 attribute.

UnitTestingTrait.Bitmap64MaskMap?

nullableBitmap64 attribute.

UnitTestingTrait.Bitmap8MaskMap?

nullableBitmap8 attribute.

Boolean?

nullableBoolean attribute.

String?

nullableCharString attribute.

UShort?

nullableEnum16 attribute.

UByte?

nullableEnum8 attribute.

UnitTestingTrait.SimpleEnum?

nullableEnumAttr attribute.

Double?

nullableFloatDouble attribute.

Float?

nullableFloatSingle attribute.

UnitTestingTrait.TestGlobalEnum?
UnitTestingTrait.TestGlobalStruct?
Short?

nullableInt16s attribute.

UShort?

nullableInt16u attribute.

Int?

nullableInt24s attribute.

UInt?

nullableInt24u attribute.

Int?

nullableInt32s attribute.

UInt?

nullableInt32u attribute.

Long?

nullableInt40s attribute.

ULong?

nullableInt40u attribute.

Long?

nullableInt48s attribute.

ULong?

nullableInt48u attribute.

Long?

nullableInt56s attribute.

ULong?

nullableInt56u attribute.

Long?

nullableInt64s attribute.

ULong?

nullableInt64u attribute.

Byte?

nullableInt8s attribute.

UByte?

nullableInt8u attribute.

ByteArray?

nullableOctetString attribute.

Short?

nullableRangeRestrictedInt16s attribute.

UShort?

nullableRangeRestrictedInt16u attribute.

Byte?

nullableRangeRestrictedInt8s attribute.

UByte?

nullableRangeRestrictedInt8u attribute.

UnitTestingTrait.SimpleStruct?

nullableStruct attribute.

ByteArray?

octetString attribute.

Short?

rangeRestrictedInt16s attribute.

UShort?

rangeRestrictedInt16u attribute.

Byte?

rangeRestrictedInt8s attribute.

UByte?

rangeRestrictedInt8u attribute.

UByte?
UnitTestingTrait.SimpleStruct?

structAttr attribute.

Boolean?

timedWriteBoolean attribute.

Boolean?

unsupported attribute.

Boolean?
UShort?

vendorId attribute.

UByte?

writeOnlyInt8u attribute.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

acceptedCommandList

val acceptedCommandList: List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

attributeList

val attributeList: List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

bitmap16

val bitmap16: UnitTestingTrait.Bitmap16MaskMap?

bitmap16 attribute.

Access type: Write

bitmap32

val bitmap32: UnitTestingTrait.Bitmap32MaskMap?

bitmap32 attribute.

Access type: Write

bitmap64

val bitmap64: UnitTestingTrait.Bitmap64MaskMap?

bitmap64 attribute.

Access type: Write

bitmap8

val bitmap8: UnitTestingTrait.Bitmap8MaskMap?

bitmap8 attribute.

Access type: Write

boolean

val boolean: Boolean?

boolean attribute.

Access type: Write

charString

val charString: String?

charString attribute.

Access type: Write

clusterErrorBoolean

val clusterErrorBoolean: Boolean?

clusterErrorBoolean attribute.

Access type: Write

clusterRevision

val clusterRevision: UShort

The revision of the server cluster specification supported by the cluster instance.

enum16

val enum16: UShort?

enum16 attribute.

Access type: Write

enum8

val enum8: UByte?

enum8 attribute.

Access type: Write

enumAttr

val enumAttr: UnitTestingTrait.SimpleEnum?

enumAttr attribute.

Access type: Write

epochS

val epochS: UInt?

epochS attribute.

Access type: Write

epochUs

val epochUs: ULong?

epochUs attribute.

Access type: Write

failureInt32U

val failureInt32U: UInt?

featureMap

val featureMap: UnitTestingTrait.Feature

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

floatDouble

val floatDouble: Double?

floatDouble attribute.

Access type: Write

floatSingle

val floatSingle: Float?

floatSingle attribute.

Access type: Write

generalErrorBoolean

val generalErrorBoolean: Boolean?

generalErrorBoolean attribute.

Access type: Write

generatedCommandList

val generatedCommandList: List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

int16s

val int16s: Short?

int16s attribute.

Access type: Write

int16u

val int16u: UShort?

int16u attribute.

Access type: Write

int24s

val int24s: Int?

int24s attribute.

Access type: Write

int24u

val int24u: UInt?

int24u attribute.

Access type: Write

int32s

val int32s: Int?

int32s attribute.

Access type: Write

int32u

val int32u: UInt?

int32u attribute.

Access type: Write

int40s

val int40s: Long?

int40s attribute.

Access type: Write

int40u

val int40u: ULong?

int40u attribute.

Access type: Write

int48s

val int48s: Long?

int48s attribute. Not the same as int48u.

Access type: Write

int48u

val int48u: ULong?

int48u attribute. Not the same as int48s.

Access type: Write

int56s

val int56s: Long?

int56s attribute.

Access type: Write

int56u

val int56u: ULong?

int56u attribute.

Access type: Write

int64s

val int64s: Long?

int64s attribute.

Access type: Write

int64u

val int64u: ULong?

int64u attribute.

Access type: Write

int8s

val int8s: Byte?

int8s attribute.

Access type: Write

int8u

val int8u: UByte?

int8u attribute. Could be used as the argument for TestAddArgumentsCommand, for example.

Access type: Write

listFabricScoped

val listFabricScoped: List<UnitTestingTrait.TestFabricScoped>?

listFabricScoped attribute.

Access type: Write

listInt8u

val listInt8u: List<UByte>?

listInt8u attribute.

Access type: Write

listLongOctetString

val listLongOctetString: List<ByteArray>?

listLongOctetString attribute.

Access type: Write

listNullablesAndOptionalsStruct

val listNullablesAndOptionalsStruct: List<UnitTestingTrait.NullablesAndOptionalsStruct>?

listNullablesAndOptionalsStruct attribute.

Access type: Write

listOctetString

val listOctetString: List<ByteArray>?

listOctetString attribute.

Access type: Write

listStructOctetString

val listStructOctetString: List<UnitTestingTrait.TestListStructOctet>?

listStructOctetString attribute.

Access type: Write

longCharString

val longCharString: String?

longCharString attribute.

Access type: Write

longOctetString

val longOctetString: ByteArray?

longOctetString attribute.

Access type: Write

meiInt8u

val meiInt8u: UByte?

nullableBitmap16

val nullableBitmap16: UnitTestingTrait.Bitmap16MaskMap?

nullableBitmap16 attribute.

Access type: Write

nullableBitmap32

val nullableBitmap32: UnitTestingTrait.Bitmap32MaskMap?

nullableBitmap32 attribute.

Access type: Write

nullableBitmap64

val nullableBitmap64: UnitTestingTrait.Bitmap64MaskMap?

nullableBitmap64 attribute.

Access type: Write

nullableBitmap8

val nullableBitmap8: UnitTestingTrait.Bitmap8MaskMap?

nullableBitmap8 attribute.

Access type: Write

nullableBoolean

val nullableBoolean: Boolean?

nullableBoolean attribute.

Access type: Write

nullableCharString

val nullableCharString: String?

nullableCharString attribute.

Access type: Write

nullableEnum16

val nullableEnum16: UShort?

nullableEnum16 attribute.

Access type: Write

nullableEnum8

val nullableEnum8: UByte?

nullableEnum8 attribute.

Access type: Write

nullableEnumAttr

val nullableEnumAttr: UnitTestingTrait.SimpleEnum?

nullableEnumAttr attribute.

Access type: Write

nullableFloatDouble

val nullableFloatDouble: Double?

nullableFloatDouble attribute.

Access type: Write

nullableFloatSingle

val nullableFloatSingle: Float?

nullableFloatSingle attribute.

Access type: Write

nullableInt16s

val nullableInt16s: Short?

nullableInt16s attribute.

Access type: Write

nullableInt16u

val nullableInt16u: UShort?

nullableInt16u attribute.

Access type: Write

nullableInt24s

val nullableInt24s: Int?

nullableInt24s attribute.

Access type: Write

nullableInt24u

val nullableInt24u: UInt?

nullableInt24u attribute.

Access type: Write

nullableInt32s

val nullableInt32s: Int?

nullableInt32s attribute.

Access type: Write

nullableInt32u

val nullableInt32u: UInt?

nullableInt32u attribute.

Access type: Write

nullableInt40s

val nullableInt40s: Long?

nullableInt40s attribute.

Access type: Write

nullableInt40u

val nullableInt40u: ULong?

nullableInt40u attribute.

Access type: Write

nullableInt48s

val nullableInt48s: Long?

nullableInt48s attribute.

Access type: Write

nullableInt48u

val nullableInt48u: ULong?

nullableInt48u attribute.

Access type: Write

nullableInt56s

val nullableInt56s: Long?

nullableInt56s attribute.

Access type: Write

nullableInt56u

val nullableInt56u: ULong?

nullableInt56u attribute.

Access type: Write

nullableInt64s

val nullableInt64s: Long?

nullableInt64s attribute.

Access type: Write

nullableInt64u

val nullableInt64u: ULong?

nullableInt64u attribute.

Access type: Write

nullableInt8s

val nullableInt8s: Byte?

nullableInt8s attribute.

Access type: Write

nullableInt8u

val nullableInt8u: UByte?

nullableInt8u attribute.

Access type: Write

nullableOctetString

val nullableOctetString: ByteArray?

nullableOctetString attribute.

Access type: Write

nullableRangeRestrictedInt16s

val nullableRangeRestrictedInt16s: Short?

nullableRangeRestrictedInt16s attribute.

Access type: Write

nullableRangeRestrictedInt16u

val nullableRangeRestrictedInt16u: UShort?

nullableRangeRestrictedInt16u attribute.

Access type: Write

nullableRangeRestrictedInt8s

val nullableRangeRestrictedInt8s: Byte?

nullableRangeRestrictedInt8s attribute.

Access type: Write

nullableRangeRestrictedInt8u

val nullableRangeRestrictedInt8u: UByte?

nullableRangeRestrictedInt8u attribute.

Access type: Write

nullableStruct

val nullableStruct: UnitTestingTrait.SimpleStruct?

nullableStruct attribute.

Access type: Write

octetString

val octetString: ByteArray?

octetString attribute.

Access type: Write

rangeRestrictedInt16s

val rangeRestrictedInt16s: Short?

rangeRestrictedInt16s attribute.

Access type: Write

rangeRestrictedInt16u

val rangeRestrictedInt16u: UShort?

rangeRestrictedInt16u attribute.

Access type: Write

rangeRestrictedInt8s

val rangeRestrictedInt8s: Byte?

rangeRestrictedInt8s attribute.

Access type: Write

rangeRestrictedInt8u

val rangeRestrictedInt8u: UByte?

rangeRestrictedInt8u attribute.

Access type: Write

readFailureCode

val readFailureCode: UByte?

structAttr

val structAttr: UnitTestingTrait.SimpleStruct?

structAttr attribute.

Access type: Write

timedWriteBoolean

val timedWriteBoolean: Boolean?

timedWriteBoolean attribute.

Access type: Write

unsupported

val unsupported: Boolean?

unsupported attribute.

Access type: Write

unsupportedAttributeRequiringAdminPrivilege

val unsupportedAttributeRequiringAdminPrivilege: Boolean?

vendorId

val vendorId: UShort?

vendorId attribute.

Access type: Write

writeOnlyInt8u

val writeOnlyInt8u: UByte?

writeOnlyInt8u attribute.

Access type: Write