struct
Matter::InteractionModel::AttributeReportIB
- Matter::InteractionModel::AttributeReportIB
- Struct
- Value
- Object
Overview
AttributeReportIB - wrapper for either data or status
Included Modules
- TLV::Serializable
Defined in:
matter/interaction_model/tlv_messages.crConstructors
- .new(data : Slice(UInt8))
- .new(attribute_data : AttributeDataIB | Nil = nil, attribute_status : AttributeStatusIB | Nil = nil)
Instance Method Summary
-
#attribute_data : AttributeDataIB | Nil
Tag 0: AttributeDataIB (optional - present on success)
-
#attribute_data=(attribute_data : AttributeDataIB | Nil)
Tag 0: AttributeDataIB (optional - present on success)
-
#attribute_status : AttributeStatusIB | Nil
Tag 1: AttributeStatusIB (optional - present on error)
-
#attribute_status=(attribute_status : AttributeStatusIB | Nil)
Tag 1: AttributeStatusIB (optional - present on error)
Constructor Detail
def self.new(attribute_data : AttributeDataIB | Nil = nil, attribute_status : AttributeStatusIB | Nil = nil)
#
Instance Method Detail
def attribute_data=(attribute_data : AttributeDataIB | Nil)
#
Tag 0: AttributeDataIB (optional - present on success)
def attribute_status : AttributeStatusIB | Nil
#
Tag 1: AttributeStatusIB (optional - present on error)
def attribute_status=(attribute_status : AttributeStatusIB | Nil)
#
Tag 1: AttributeStatusIB (optional - present on error)