CreateLanSubscription extends CreateInternetSubscription
Information about LAN internet subscription
Table of Contents
- ETH_CONNECTION_TYPE_DHCP = 0
- DHCP
- ETH_CONNECTION_TYPE_STATIC = 1
- STATIC
- NETWORK_TYPE_COMPANY = 0
- COMPANY
- NETWORK_TYPE_OTHER = 1
- OTHER
- NETWORK_TYPE_RESIDENT = 2
- RESIDENT
- PRIORITY_PRIMARY = 0
- PRIMARY
- PRIORITY_SECONDARY = 1
- SECONDARY
- PRIORITY_TERMINATED = 2
- TERMINATED
- TYPE_ADSL = 1
- ADSL
- TYPE_GSM = 0
- GSM
- TYPE_LAN = 3
- LAN
- TYPE_SATELLITE = 2
- SATELLITE
- TYPE_WIFI = 4
- WIFI
- $addressing : string|null
- The addressing of this internet subscription. This field can be unset when updating.
- $comments : string|null
- The comments about this internet subscription. This field can be unset when updating.
- $connectionComments : float|null
- Comments about the connection of this internet subscription. This field can be unset when updating.
- $contacts : array<string|int, mixed>|null
- $endTime : int|null
- The end time this internet subscription. This field can be unset when updating.
- $ethConnectionType : int|null
- Subscription connection type
- $id : string|null
- The identifier of this internet subscription
- $networkType : int|null
- Subscription network type
- $priority : int|null
- Internet subscription priority.
- $provider : MinProvider|null
- $startTime : int|null
- The start time of this internet subscription
- $type : int|null
- Internet subscription type
- from() : static
- Initializing a model from an array
- getAddressing() : string
- Getter for addressing
- getComments() : string
- Getter for comments
- getConnectionComments() : float
- Getter for connectionComments
- getContacts() : array<string|int, MinContact>
- Getter for contacts
- getEndTime() : int
- Getter for endTime
- getEthConnectionType() : int
- Getter for ethConnectionType
- getId() : string
- Getter for id
- getNetworkType() : int
- Getter for networkType
- getPriority() : int
- Getter for priority
- getProvider() : MinProvider
- Getter for provider
- getStartTime() : int
- Getter for startTime
- getType() : int
- Getter for type
- jsonSerialize() : array<string|int, mixed>
- setAddressing() : static
- Setter for addressing
- setComments() : static
- Setter for comments
- setConnectionComments() : static
- Setter for connectionComments
- setContacts() : static
- Setter for contacts
- setEndTime() : static
- Setter for endTime
- setEthConnectionType() : static
- Setter for ethConnectionType
- setId() : static
- Setter for id
- setNetworkType() : static
- Setter for networkType
- setPriority() : static
- Setter for priority
- setProvider() : static
- Setter for provider
- setStartTime() : static
- Setter for startTime
- setType() : static
- Setter for type
Constants
ETH_CONNECTION_TYPE_DHCP
DHCP
public
mixed
ETH_CONNECTION_TYPE_DHCP
= 0
ETH_CONNECTION_TYPE_STATIC
STATIC
public
mixed
ETH_CONNECTION_TYPE_STATIC
= 1
NETWORK_TYPE_COMPANY
COMPANY
public
mixed
NETWORK_TYPE_COMPANY
= 0
NETWORK_TYPE_OTHER
OTHER
public
mixed
NETWORK_TYPE_OTHER
= 1
NETWORK_TYPE_RESIDENT
RESIDENT
public
mixed
NETWORK_TYPE_RESIDENT
= 2
PRIORITY_PRIMARY
PRIMARY
public
mixed
PRIORITY_PRIMARY
= 0
PRIORITY_SECONDARY
SECONDARY
public
mixed
PRIORITY_SECONDARY
= 1
PRIORITY_TERMINATED
TERMINATED
public
mixed
PRIORITY_TERMINATED
= 2
TYPE_ADSL
ADSL
public
mixed
TYPE_ADSL
= 1
TYPE_GSM
GSM
public
mixed
TYPE_GSM
= 0
TYPE_LAN
LAN
public
mixed
TYPE_LAN
= 3
TYPE_SATELLITE
SATELLITE
public
mixed
TYPE_SATELLITE
= 2
TYPE_WIFI
WIFI
public
mixed
TYPE_WIFI
= 4
Properties
$addressing
The addressing of this internet subscription. This field can be unset when updating.
protected
string|null
$addressing
= null
$comments
The comments about this internet subscription. This field can be unset when updating.
protected
string|null
$comments
= null
$connectionComments
Comments about the connection of this internet subscription. This field can be unset when updating.
protected
float|null
$connectionComments
= null
$contacts
protected
array<string|int, mixed>|null
$contacts
= null
$endTime
The end time this internet subscription. This field can be unset when updating.
protected
int|null
$endTime
= null
$ethConnectionType
Subscription connection type
protected
int|null
$ethConnectionType
= null
$id
The identifier of this internet subscription
protected
string|null
$id
= null
$networkType
Subscription network type
protected
int|null
$networkType
= null
$priority
Internet subscription priority.
protected
int|null
$priority
= null
$provider
protected
MinProvider|null
$provider
= null
$startTime
The start time of this internet subscription
protected
int|null
$startTime
= null
$type
Internet subscription type
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 —getAddressing()
Getter for addressing
public
getAddressing() : string
Return values
string —The addressing of this internet subscription. This field can be unset when updating.
getComments()
Getter for comments
public
getComments() : string
Return values
string —The comments about this internet subscription. This field can be unset when updating.
getConnectionComments()
Getter for connectionComments
public
getConnectionComments() : float
Return values
float —Comments about the connection of this internet subscription. This field can be unset when updating.
getContacts()
Getter for contacts
public
getContacts() : array<string|int, MinContact>
Return values
array<string|int, MinContact> —getEndTime()
Getter for endTime
public
getEndTime() : int
Return values
int —The end time this internet subscription. This field can be unset when updating.
getEthConnectionType()
Getter for ethConnectionType
public
getEthConnectionType() : int
Return values
int —Subscription connection type
getId()
Getter for id
public
getId() : string
Return values
string —The identifier of this internet subscription
getNetworkType()
Getter for networkType
public
getNetworkType() : int
Return values
int —Subscription network type
getPriority()
Getter for priority
public
getPriority() : int
Return values
int —Internet subscription priority.
getProvider()
Getter for provider
public
getProvider() : MinProvider
Return values
MinProvider —getStartTime()
Getter for startTime
public
getStartTime() : int
Return values
int —The start time of this internet subscription
getType()
Getter for type
public
getType() : int
Return values
int —Internet subscription type
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setAddressing()
Setter for addressing
public
setAddressing(string $addressing) : static
Parameters
- $addressing : string
-
The addressing of this internet subscription. This field can be unset when updating.
Return values
static —To use in method chains
setComments()
Setter for comments
public
setComments(string $comments) : static
Parameters
- $comments : string
-
The comments about this internet subscription. This field can be unset when updating.
Return values
static —To use in method chains
setConnectionComments()
Setter for connectionComments
public
setConnectionComments(float $connectionComments) : static
Parameters
- $connectionComments : float
-
Comments about the connection of this internet subscription. This field can be unset when updating.
Return values
static —To use in method chains
setContacts()
Setter for contacts
public
setContacts(array<string|int, MinContact> $contacts) : static
Parameters
- $contacts : array<string|int, MinContact>
Return values
static —To use in method chains
setEndTime()
Setter for endTime
public
setEndTime(int $endTime) : static
Parameters
- $endTime : int
-
The end time this internet subscription. This field can be unset when updating.
Return values
static —To use in method chains
setEthConnectionType()
Setter for ethConnectionType
public
setEthConnectionType(int $ethConnectionType) : static
Parameters
- $ethConnectionType : int
-
Subscription connection type
Return values
static —To use in method chains
setId()
Setter for id
public
setId(string $id) : static
Parameters
- $id : string
-
The identifier of this internet subscription
Return values
static —To use in method chains
setNetworkType()
Setter for networkType
public
setNetworkType(int $networkType) : static
Parameters
- $networkType : int
-
Subscription network type
Return values
static —To use in method chains
setPriority()
Setter for priority
public
setPriority(int $priority) : static
Parameters
- $priority : int
-
Internet subscription priority.
Return values
static —To use in method chains
setProvider()
Setter for provider
public
setProvider(MinProvider $provider) : static
Parameters
- $provider : MinProvider
Return values
static —To use in method chains
setStartTime()
Setter for startTime
public
setStartTime(int $startTime) : static
Parameters
- $startTime : int
-
The start time of this internet subscription
Return values
static —To use in method chains
setType()
Setter for type
public
setType(int $type) : static
Parameters
- $type : int
-
Internet subscription type
Return values
static —To use in method chains