NetworkControlTrait.EnableDisableNetworkProfileCommand.Request

class NetworkControlTrait.EnableDisableNetworkProfileCommand.Request : ClusterStruct


The request payload for the EnableDisableNetworkProfile command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(enable: Boolean, networkProfileName: String)

Creates a request payload for the EnableDisableNetworkProfile 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 profile, false disables the profile.

String

The profile name from the list of available profiles.

Public constructors

Request

Request(enable: Boolean = false, networkProfileName: String = "")

Creates a request payload for the EnableDisableNetworkProfile command.

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

enable

val enableBoolean

A value of true enables the profile, false disables the profile.

networkProfileName

val networkProfileNameString

The profile name from the list of available profiles.