DevicesIdMessagesMetricResponse extends Model
Table of Contents
- $lastDay : int|null
- Number of device messages for the last day
- $lastMonth : int|null
- Number of device messages for the last month
- $lastWeek : int|null
- Number of device messages for the last week
- from() : static
- Initializing a model from an array
- getLastDay() : int
- Getter for lastDay
- getLastMonth() : int
- Getter for lastMonth
- getLastWeek() : int
- Getter for lastWeek
- jsonSerialize() : array<string|int, mixed>
Properties
$lastDay
Number of device messages for the last day
protected
int|null
$lastDay
= null
$lastMonth
Number of device messages for the last month
protected
int|null
$lastMonth
= null
$lastWeek
Number of device messages for the last week
protected
int|null
$lastWeek
= 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 —getLastDay()
Getter for lastDay
public
getLastDay() : int
Return values
int —Number of device messages for the last day
getLastMonth()
Getter for lastMonth
public
getLastMonth() : int
Return values
int —Number of device messages for the last month
getLastWeek()
Getter for lastWeek
public
getLastWeek() : int
Return values
int —Number of device messages for the last week
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>