PHP Sigfox Client

EthernetConnectivityForGroup extends EthernetConnectivityBase

Ethernet connectivity configuration for a group.

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)
TYPE_PARTLY_DYNAMIC  = 2
PARTLY_DYNAMIC
TYPE_STATIC  = 1
STATIC
$actions  : array<string|int, mixed>|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
$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
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
getType()  : int
Getter for type
jsonSerialize()  : array<string|int, mixed>
setActions()  : static
Setter for actions
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
setType()  : static
Setter for type

Constants

Properties

$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

$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

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
throws
DeserializeException

If provided an invalid type to a property

Return values
static

getActions()

Getter for actions

public getActions() : array<string|int, string>
Return values
array<string|int, string>

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

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>

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritdoc
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

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

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

Search results