NetworkControlTrait.EnableDisableGuestNetworkCommand.Request

class NetworkControlTrait.EnableDisableGuestNetworkCommand.Request : ClusterStruct


The request payload for the EnableDisableGuestNetwork command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(enable: Boolean)

Creates a request payload for the EnableDisableGuestNetwork command.

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

Boolean

A value of true enables the guest network, false disables the guest network.

Public constructors

Request

Request(enable: Boolean = false)

Creates a request payload for the EnableDisableGuestNetwork command.

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

enable

val enableBoolean

A value of true enables the guest network, false disables the guest network.