DeviceTypesCreate extends Request
Create a new device type
Table of Contents
- $deviceType : DeviceTypeCreate|null
- The device type to create
- from() : static
- Initializing a model from an array
- jsonSerialize() : array<string|int, mixed>
- setDeviceType() : static
- Setter for deviceType
Properties
$deviceType
The device type to create
protected
DeviceTypeCreate|null
$deviceType
= 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> —setDeviceType()
Setter for deviceType
public
setDeviceType(DeviceTypeCreate $deviceType) : static
Parameters
- $deviceType : DeviceTypeCreate
-
The device type to create
Return values
static —To use in method chains