PHP Sigfox Client

SOUpdate extends CommonGroupUpdate

Defines the SO group's update properties

Table of Contents

TYPE_CHANNEL  = 9
Channel
TYPE_DIST  = 8
DIST
TYPE_NIP  = 7
NIP
TYPE_OTHER  = 2
Other
TYPE_PARTNER  = 11
Partner
TYPE_PARTNERS  = 6
Partners
TYPE_SO  = 0
SO
TYPE_STARTER  = 10
Starter
TYPE_SVNO  = 5
SVNO
$countryISOAlpha3  : string|null
This is the country ISO code (3 letters from the ISO 3166-1 alpha-3 country code) where the operator manages its network. Only available for SO and NIP.
$description  : string|null
The group's description
$name  : string|null
The group's name
$timezone  : string|null
The timezone (in Java TimeZone ID format, e.g."America/Costa_Rica").
$type  : int|null
- Group's type
from()  : static
Initializing a model from an array
getCountryISOAlpha3()  : string
Getter for countryISOAlpha3
getDescription()  : string
Getter for description
getName()  : string
Getter for name
getTimezone()  : string
Getter for timezone
getType()  : int
Getter for type
jsonSerialize()  : array<string|int, mixed>
setCountryISOAlpha3()  : static
Setter for countryISOAlpha3
setDescription()  : static
Setter for description
setName()  : static
Setter for name
setTimezone()  : static
Setter for timezone
setType()  : static
Setter for type

Constants

Properties

$countryISOAlpha3

This is the country ISO code (3 letters from the ISO 3166-1 alpha-3 country code) where the operator manages its network. Only available for SO and NIP.

protected string|null $countryISOAlpha3 = null

$description

The group's description

protected string|null $description = null

$timezone

The timezone (in Java TimeZone ID format, e.g."America/Costa_Rica").

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

getCountryISOAlpha3()

Getter for countryISOAlpha3

public getCountryISOAlpha3() : string
Return values
string

This is the country ISO code (3 letters from the ISO 3166-1 alpha-3 country code) where the operator manages its network. Only available for SO and NIP.

getDescription()

Getter for description

public getDescription() : string
Return values
string

The group's description

getName()

Getter for name

public getName() : string
Return values
string

The group's name

getTimezone()

Getter for timezone

public getTimezone() : string
Return values
string

The timezone (in Java TimeZone ID format, e.g."America/Costa_Rica").

jsonSerialize()

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

setCountryISOAlpha3()

Setter for countryISOAlpha3

public setCountryISOAlpha3(string $countryISOAlpha3) : static
Parameters
$countryISOAlpha3 : string

This is the country ISO code (3 letters from the ISO 3166-1 alpha-3 country code) where the operator manages its network. Only available for SO and NIP.

Return values
static

To use in method chains

setDescription()

Setter for description

public setDescription(string $description) : static
Parameters
$description : string

The group's description

Return values
static

To use in method chains

setName()

Setter for name

public setName(string $name) : static
Parameters
$name : string

The group's name

Return values
static

To use in method chains

setTimezone()

Setter for timezone

public setTimezone(string $timezone) : static
Parameters
$timezone : string

The timezone (in Java TimeZone ID format, e.g."America/Costa_Rica").

Return values
static

To use in method chains

Search results