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
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
    
        
    
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
    
    
    
$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
        $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> —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
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
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
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