MinBaseStationWithType extends Model
Minimal information about a BaseStation
Table of Contents
- RESOURCE_TYPE_NAP = 1
- NAP
- RESOURCE_TYPE_SBS = 0
- SBS
- $actions : array<string|int, mixed>|null
- $id : string|null
- The base station identifier in hexadecimal
- $name : string|null
- The base station name
- $resourceType : int|null
- Resource type.
- from() : static
- Initializing a model from an array
- getActions() : array<string|int, string>
- Getter for actions
- getId() : string
- Getter for id
- getName() : string
- Getter for name
- getResourceType() : int
- Getter for resourceType
- jsonSerialize() : array<string|int, mixed>
- setActions() : static
- Setter for actions
- setId() : static
- Setter for id
- setName() : static
- Setter for name
- setResourceType() : static
- Setter for resourceType
Constants
RESOURCE_TYPE_NAP
NAP
public
mixed
RESOURCE_TYPE_NAP
= 1
RESOURCE_TYPE_SBS
SBS
public
mixed
RESOURCE_TYPE_SBS
= 0
Properties
$actions
protected
array<string|int, mixed>|null
$actions
= null
$id
The base station identifier in hexadecimal
protected
string|null
$id
= null
$name
The base station name
protected
string|null
$name
= null
$resourceType
Resource type.
protected
int|null
$resourceType
= 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> —getId()
Getter for id
public
getId() : string
Return values
string —The base station identifier in hexadecimal
getName()
Getter for name
public
getName() : string
Return values
string —The base station name
getResourceType()
Getter for resourceType
public
getResourceType() : int
Return values
int —Resource type.
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setActions()
Setter for actions
public
setActions(array<string|int, string> $actions) : static
Parameters
- $actions : array<string|int, string>
Return values
static —To use in method chains
setId()
Setter for id
public
setId(string $id) : static
Parameters
- $id : string
-
The base station identifier in hexadecimal
Return values
static —To use in method chains
setName()
Setter for name
public
setName(string $name) : static
Parameters
- $name : string
-
The base station name
Return values
static —To use in method chains
setResourceType()
Setter for resourceType
public
setResourceType(int $resourceType) : static
Parameters
- $resourceType : int
-
Resource type.
Return values
static —To use in method chains