DeviceTypesListResponse extends Model implements PaginatedResponse
Tags
Interfaces, Classes and Traits
- PaginatedResponse
Table of Contents
- $actions : array<string|int, mixed>|null
- $data : array<string|int, mixed>|null
- $paging : Paging|null
- from() : static
- Initializing a model from an array
- getActions() : array<string|int, string>
- Getter for actions
- getData() : array<string|int, DeviceType>
- Getter for data
- getPaging() : Paging
- Getter for paging
- jsonSerialize() : array<string|int, mixed>
Properties
$actions
protected
array<string|int, mixed>|null
$actions
= null
$data
protected
array<string|int, mixed>|null
$data
= null
$paging
protected
Paging|null
$paging
= 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 —getActions()
Getter for actions
public
getActions() : array<string|int, string>
Return values
array<string|int, string> —getData()
Getter for data
public
getData() : array<string|int, DeviceType>
Return values
array<string|int, DeviceType> —getPaging()
Getter for paging
public
getPaging() : Paging
Return values
Paging —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>