DeviceTypesIdCallbacksCallbackIdEnable extends Request
Enable or disable a callback for a given device type.
Table of Contents
- $enabled : bool|null
- True to enable the callback, false to disable it
- from() : static
- Initializing a model from an array
- jsonSerialize() : array<string|int, mixed>
- setEnabled() : static
- Setter for enabled
Properties
$enabled
True to enable the callback, false to disable it
protected
bool|null
$enabled
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setEnabled()
Setter for enabled
public
setEnabled(bool $enabled) : static
Parameters
- $enabled : bool
-
True to enable the callback, false to disable it
Return values
static —To use in method chains