PHP Sigfox Client

CreateWifiSubscription extends CreateInternetSubscription

Information about Wi-Fi 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
$comments  : string|null
The comments about 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
$passphrase  : string|null
The passphrase on this Wi-Fi internet subscription. This field can be unset when updating.
$priority  : int|null
Internet subscription priority.
$provider  : MinProvider|null
$ssid  : string|null
The SSID of this Wi-Fi internet subscription. This field can be unset when updating.
$startTime  : int|null
The start time of this internet subscription
$type  : int|null
Internet subscription type
from()  : static
Initializing a model from an array
getComments()  : string
Getter for comments
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
getPassphrase()  : string
Getter for passphrase
getPriority()  : int
Getter for priority
getProvider()  : MinProvider
Getter for provider
getSsid()  : string
Getter for ssid
getStartTime()  : int
Getter for startTime
getType()  : int
Getter for type
jsonSerialize()  : array<string|int, mixed>
setComments()  : static
Setter for comments
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
setPassphrase()  : static
Setter for passphrase
setPriority()  : static
Setter for priority
setProvider()  : static
Setter for provider
setSsid()  : static
Setter for ssid
setStartTime()  : static
Setter for startTime
setType()  : static
Setter for type

Constants

Properties

$comments

The comments about this internet subscription. This field can be unset when updating.

protected string|null $comments = null

$endTime

The end time this internet subscription. This field can be unset when updating.

protected int|null $endTime = null

$passphrase

The passphrase on this Wi-Fi internet subscription. This field can be unset when updating.

protected string|null $passphrase = null

$ssid

The SSID of this Wi-Fi internet subscription. This field can be unset when updating.

protected string|null $ssid = 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

getComments()

Getter for comments

public getComments() : string
Return values
string

The comments about this internet subscription. This field can be unset when updating.

getEndTime()

Getter for endTime

public getEndTime() : int
Return values
int

The end time this internet subscription. This field can be unset when updating.

getId()

Getter for id

public getId() : string
Return values
string

The identifier of this internet subscription

getPassphrase()

Getter for passphrase

public getPassphrase() : string
Return values
string

The passphrase on this Wi-Fi internet subscription. This field can be unset when updating.

getSsid()

Getter for ssid

public getSsid() : string
Return values
string

The SSID of this Wi-Fi internet subscription. This field can be unset when updating.

getStartTime()

Getter for startTime

public getStartTime() : int
Return values
int

The start time of this internet subscription

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritdoc
Return values
array<string|int, mixed>

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

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

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

setPassphrase()

Setter for passphrase

public setPassphrase(string $passphrase) : static
Parameters
$passphrase : string

The passphrase on this Wi-Fi internet subscription. This field can be unset when updating.

Return values
static

To use in method chains

setSsid()

Setter for ssid

public setSsid(string $ssid) : static
Parameters
$ssid : string

The SSID of this Wi-Fi internet subscription. This field can be unset when updating.

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

Search results