EthernetConnectivityForBs extends EthernetConnectivityBase
Ethernet connectivity configuration for a base station.
Table of Contents
- SOURCE_DEFAULT = 2
- DEFAULT (Auto-Generated)
- SOURCE_OTHERS = 1
- OTHERS (From shell console and other origins)
- SOURCE_REMOTE = 0
- REMOTE (Configuration provided by Cloud)
- SOURCE_TOOLS = 3
- TOOLS (Factory, AAT or secure-control)
- STATE_ACTIVE = 0
- ACTIVE
- STATE_DELETING = 4
- DELETING
- STATE_PASSIVE = 1
- PASSIVE
- STATE_PENDING = 2
- PENDING (new configuration to synchronize with the base station)
- STATE_REJECTED = 3
- REJECTED
- SYNC_STATUS_OK = 0
- OK (the conf is synchronized)
- SYNC_STATUS_SENT = 2
- SENT (the conf is currently send to the base station)
- SYNC_STATUS_TO_BE_SENT = 1
- TO_BE_SENT (the conf has to be synchronized)
- TYPE_PARTLY_DYNAMIC = 2
- PARTLY_DYNAMIC
- TYPE_STATIC = 1
- STATIC
- $actions : array<string|int, mixed>|null
- $baseStation : MinBaseStation|null
- $dns1 : string|null
- DNS n°1 of the ethernet connectivity, required if the type is STATIC
- $dns2 : string|null
- DNS n°2 of the ethernet connectivity, only applicable if the type is STATIC. This field can be unset by setting the value as an empty string.
- $gateway : string|null
- Gateway of the ethernet connectivity, required if the type is STATIC
- $group : MinGroup|null
- $id : string|null
- The group's identifier
- $ip : string|null
- IP address of the ethernet connectivity, required if the type is STATIC
- $mask : string|null
- Subnet mask of the ethernet connectivity, required if the type is STATIC
- $mtu : int|null
- MTU of the ethernet connectivity, required if the type is PARTLY_DYNAMIC. This field can be unset by setting the value to null.
- $name : string|null
- The name of the configuration
- $resources : array<string|int, mixed>|null
- $source : int|null
- Configuration origin of the connectivity
- $state : int|null
- State of an ethernet connectivity configuration
- $syncStatus : int|null
- Synchronisation status of an ethernet connectivity configuration
- $type : int|null
- Token's type of an ethernet connectivity configuration
- from() : static
- Initializing a model from an array
- getActions() : array<string|int, string>
- Getter for actions
- getBaseStation() : MinBaseStation
- Getter for baseStation
- getDns1() : string
- Getter for dns1
- getDns2() : string
- Getter for dns2
- getGateway() : string
- Getter for gateway
- getGroup() : MinGroup
- Getter for group
- getId() : string
- Getter for id
- getIp() : string
- Getter for ip
- getMask() : string
- Getter for mask
- getMtu() : int
- Getter for mtu
- getName() : string
- Getter for name
- getResources() : array<string|int, string>
- Getter for resources
- getSource() : int
- Getter for source
- getState() : int
- Getter for state
- getSyncStatus() : int
- Getter for syncStatus
- getType() : int
- Getter for type
- jsonSerialize() : array<string|int, mixed>
- setActions() : static
- Setter for actions
- setBaseStation() : static
- Setter for baseStation
- setDns1() : static
- Setter for dns1
- setDns2() : static
- Setter for dns2
- setGateway() : static
- Setter for gateway
- setGroup() : static
- Setter for group
- setId() : static
- Setter for id
- setIp() : static
- Setter for ip
- setMask() : static
- Setter for mask
- setMtu() : static
- Setter for mtu
- setName() : static
- Setter for name
- setResources() : static
- Setter for resources
- setSource() : static
- Setter for source
- setState() : static
- Setter for state
- setSyncStatus() : static
- Setter for syncStatus
- setType() : static
- Setter for type
Constants
SOURCE_DEFAULT
DEFAULT (Auto-Generated)
public
mixed
SOURCE_DEFAULT
= 2
SOURCE_OTHERS
OTHERS (From shell console and other origins)
public
mixed
SOURCE_OTHERS
= 1
SOURCE_REMOTE
REMOTE (Configuration provided by Cloud)
public
mixed
SOURCE_REMOTE
= 0
SOURCE_TOOLS
TOOLS (Factory, AAT or secure-control)
public
mixed
SOURCE_TOOLS
= 3
STATE_ACTIVE
ACTIVE
public
mixed
STATE_ACTIVE
= 0
STATE_DELETING
DELETING
public
mixed
STATE_DELETING
= 4
STATE_PASSIVE
PASSIVE
public
mixed
STATE_PASSIVE
= 1
STATE_PENDING
PENDING (new configuration to synchronize with the base station)
public
mixed
STATE_PENDING
= 2
STATE_REJECTED
REJECTED
public
mixed
STATE_REJECTED
= 3
SYNC_STATUS_OK
OK (the conf is synchronized)
public
mixed
SYNC_STATUS_OK
= 0
SYNC_STATUS_SENT
SENT (the conf is currently send to the base station)
public
mixed
SYNC_STATUS_SENT
= 2
SYNC_STATUS_TO_BE_SENT
TO_BE_SENT (the conf has to be synchronized)
public
mixed
SYNC_STATUS_TO_BE_SENT
= 1
TYPE_PARTLY_DYNAMIC
PARTLY_DYNAMIC
public
mixed
TYPE_PARTLY_DYNAMIC
= 2
TYPE_STATIC
STATIC
public
mixed
TYPE_STATIC
= 1
Properties
$actions
protected
array<string|int, mixed>|null
$actions
= null
$baseStation
protected
MinBaseStation|null
$baseStation
= null
$dns1
DNS n°1 of the ethernet connectivity, required if the type is STATIC
protected
string|null
$dns1
= null
$dns2
DNS n°2 of the ethernet connectivity, only applicable if the type is STATIC. This field can be unset by setting the value as an empty string.
protected
string|null
$dns2
= null
$gateway
Gateway of the ethernet connectivity, required if the type is STATIC
protected
string|null
$gateway
= null
$group
protected
MinGroup|null
$group
= null
$id
The group's identifier
protected
string|null
$id
= null
$ip
IP address of the ethernet connectivity, required if the type is STATIC
protected
string|null
$ip
= null
$mask
Subnet mask of the ethernet connectivity, required if the type is STATIC
protected
string|null
$mask
= null
$mtu
MTU of the ethernet connectivity, required if the type is PARTLY_DYNAMIC. This field can be unset by setting the value to null.
protected
int|null
$mtu
= null
$name
The name of the configuration
protected
string|null
$name
= null
$resources
protected
array<string|int, mixed>|null
$resources
= null
$source
Configuration origin of the connectivity
protected
int|null
$source
= null
$state
State of an ethernet connectivity configuration
protected
int|null
$state
= null
$syncStatus
Synchronisation status of an ethernet connectivity configuration
protected
int|null
$syncStatus
= null
$type
Token's type of an ethernet connectivity configuration
protected
int|null
$type
= 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> —getBaseStation()
Getter for baseStation
public
getBaseStation() : MinBaseStation
Return values
MinBaseStation —getDns1()
Getter for dns1
public
getDns1() : string
Return values
string —DNS n°1 of the ethernet connectivity, required if the type is STATIC
getDns2()
Getter for dns2
public
getDns2() : string
Return values
string —DNS n°2 of the ethernet connectivity, only applicable if the type is STATIC. This field can be unset by setting the value as an empty string.
getGateway()
Getter for gateway
public
getGateway() : string
Return values
string —Gateway of the ethernet connectivity, required if the type is STATIC
getGroup()
Getter for group
public
getGroup() : MinGroup
Return values
MinGroup —getId()
Getter for id
public
getId() : string
Return values
string —The group's identifier
getIp()
Getter for ip
public
getIp() : string
Return values
string —IP address of the ethernet connectivity, required if the type is STATIC
getMask()
Getter for mask
public
getMask() : string
Return values
string —Subnet mask of the ethernet connectivity, required if the type is STATIC
getMtu()
Getter for mtu
public
getMtu() : int
Return values
int —MTU of the ethernet connectivity, required if the type is PARTLY_DYNAMIC. This field can be unset by setting the value to null.
getName()
Getter for name
public
getName() : string
Return values
string —The name of the configuration
getResources()
Getter for resources
public
getResources() : array<string|int, string>
Return values
array<string|int, string> —getSource()
Getter for source
public
getSource() : int
Return values
int —Configuration origin of the connectivity
getState()
Getter for state
public
getState() : int
Return values
int —State of an ethernet connectivity configuration
getSyncStatus()
Getter for syncStatus
public
getSyncStatus() : int
Return values
int —Synchronisation status of an ethernet connectivity configuration
getType()
Getter for type
public
getType() : int
Return values
int —Token's type of an ethernet connectivity configuration
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
setBaseStation()
Setter for baseStation
public
setBaseStation(MinBaseStation $baseStation) : static
Parameters
- $baseStation : MinBaseStation
Return values
static —To use in method chains
setDns1()
Setter for dns1
public
setDns1(string $dns1) : static
Parameters
- $dns1 : string
-
DNS n°1 of the ethernet connectivity, required if the type is STATIC
Return values
static —To use in method chains
setDns2()
Setter for dns2
public
setDns2(string $dns2) : static
Parameters
- $dns2 : string
-
DNS n°2 of the ethernet connectivity, only applicable if the type is STATIC. This field can be unset by setting the value as an empty string.
Return values
static —To use in method chains
setGateway()
Setter for gateway
public
setGateway(string $gateway) : static
Parameters
- $gateway : string
-
Gateway of the ethernet connectivity, required if the type is STATIC
Return values
static —To use in method chains
setGroup()
Setter for group
public
setGroup(MinGroup $group) : static
Parameters
- $group : MinGroup
Return values
static —To use in method chains
setId()
Setter for id
public
setId(string $id) : static
Parameters
- $id : string
-
The group's identifier
Return values
static —To use in method chains
setIp()
Setter for ip
public
setIp(string $ip) : static
Parameters
- $ip : string
-
IP address of the ethernet connectivity, required if the type is STATIC
Return values
static —To use in method chains
setMask()
Setter for mask
public
setMask(string $mask) : static
Parameters
- $mask : string
-
Subnet mask of the ethernet connectivity, required if the type is STATIC
Return values
static —To use in method chains
setMtu()
Setter for mtu
public
setMtu(int $mtu) : static
Parameters
- $mtu : int
-
MTU of the ethernet connectivity, required if the type is PARTLY_DYNAMIC. This field can be unset by setting the value to null.
Return values
static —To use in method chains
setName()
Setter for name
public
setName(string $name) : static
Parameters
- $name : string
-
The name of the configuration
Return values
static —To use in method chains
setResources()
Setter for resources
public
setResources(array<string|int, string> $resources) : static
Parameters
- $resources : array<string|int, string>
Return values
static —To use in method chains
setSource()
Setter for source
public
setSource(int $source) : static
Parameters
- $source : int
-
Configuration origin of the connectivity
Return values
static —To use in method chains
setState()
Setter for state
public
setState(int $state) : static
Parameters
- $state : int
-
State of an ethernet connectivity configuration
Return values
static —To use in method chains
setSyncStatus()
Setter for syncStatus
public
setSyncStatus(int $syncStatus) : static
Parameters
- $syncStatus : int
-
Synchronisation status of an ethernet connectivity configuration
Return values
static —To use in method chains
setType()
Setter for type
public
setType(int $type) : static
Parameters
- $type : int
-
Token's type of an ethernet connectivity configuration
Return values
static —To use in method chains