struct Matter::InteractionModel::Status

Overview

Status response with optional cluster-specific status

Defined in:

matter/interaction_model/status_code.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(status : StatusCode, cluster_status : UInt8 | Nil = nil) #

[View source]

Instance Method Detail

def cluster_status : UInt8 | Nil #

[View source]
def cluster_status=(cluster_status : UInt8 | Nil) #

[View source]
def status : StatusCode #

[View source]
def status=(status : StatusCode) #

[View source]
def success? #

[View source]
def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]