PHP Sigfox Client

ProductCertificate extends RadioCertificate

Defines the common properties of a certificate

Table of Contents

MODES_UPLINK_AND_DOWNLINK  = 1
Uplink and downlink
MODES_UPLINK_ONLY  = '0'
Uplink only
STATUS_FINALIZED  = 1
finalized
STATUS_ONGOING  = 0
ongoing
$description  : string|null
The certificate description
$devKit  : bool|null
The product certificate has repeater function or not
$id  : string|null
The certificate's identifier
$inputSensitivity  : int|null
The certificate's input sensitivity
$key  : string|null
The certificate's key
$manufacturer  : MinGroup|null
$modes  : array<string|int, mixed>|null
The certificate's mode code
$name  : string|null
The certificate's name
$radioConfigurations  : array<string|int, mixed>|null
Radio configurations available for this certificate
$status  : int|null
The certificate's status code
$version  : string|null
The certificate's version
from()  : static
Initializing a model from an array
getDescription()  : string
Getter for description
getDevKit()  : bool
Getter for devKit
getId()  : string
Getter for id
getInputSensitivity()  : int
Getter for inputSensitivity
getKey()  : string
Getter for key
getManufacturer()  : MinGroup
Getter for manufacturer
getModes()  : array<string|int, int>
Getter for modes
getName()  : string
Getter for name
getRadioConfigurations()  : array<string|int, ProductCertificateRadioConfiguration>
Getter for radioConfigurations
getStatus()  : int
Getter for status
getVersion()  : string
Getter for version
jsonSerialize()  : array<string|int, mixed>
setDescription()  : static
Setter for description
setDevKit()  : static
Setter for devKit
setId()  : static
Setter for id
setInputSensitivity()  : static
Setter for inputSensitivity
setKey()  : static
Setter for key
setManufacturer()  : static
Setter for manufacturer
setModes()  : static
Setter for modes
setName()  : static
Setter for name
setRadioConfigurations()  : static
Setter for radioConfigurations
setStatus()  : static
Setter for status
setVersion()  : static
Setter for version

Constants

Uplink and downlink

public mixed MODES_UPLINK_AND_DOWNLINK = 1

Properties

$description

The certificate description

protected string|null $description = null

$devKit

The product certificate has repeater function or not

protected bool|null $devKit = null

$inputSensitivity

The certificate's input sensitivity

protected int|null $inputSensitivity = null

$radioConfigurations

Radio configurations available for this certificate

protected array<string|int, mixed>|null $radioConfigurations = 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

getDescription()

Getter for description

public getDescription() : string
Return values
string

The certificate description

getDevKit()

Getter for devKit

public getDevKit() : bool
Return values
bool

The product certificate has repeater function or not

getId()

Getter for id

public getId() : string
Return values
string

The certificate's identifier

getInputSensitivity()

Getter for inputSensitivity

public getInputSensitivity() : int
Return values
int

The certificate's input sensitivity

getKey()

Getter for key

public getKey() : string
Return values
string

The certificate's key

getName()

Getter for name

public getName() : string
Return values
string

The certificate's name

getVersion()

Getter for version

public getVersion() : string
Return values
string

The certificate's version

jsonSerialize()

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

setDescription()

Setter for description

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

The certificate description

Return values
static

To use in method chains

setDevKit()

Setter for devKit

public setDevKit(bool $devKit) : static
Parameters
$devKit : bool

The product certificate has repeater function or not

Return values
static

To use in method chains

setId()

Setter for id

public setId(string $id) : static
Parameters
$id : string

The certificate's identifier

Return values
static

To use in method chains

setInputSensitivity()

Setter for inputSensitivity

public setInputSensitivity(int $inputSensitivity) : static
Parameters
$inputSensitivity : int

The certificate's input sensitivity

Return values
static

To use in method chains

setKey()

Setter for key

public setKey(string $key) : static
Parameters
$key : string

The certificate's key

Return values
static

To use in method chains

setManufacturer()

Setter for manufacturer

public setManufacturer(MinGroup $manufacturer) : static
Parameters
$manufacturer : MinGroup
Return values
static

To use in method chains

setName()

Setter for name

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

The certificate's name

Return values
static

To use in method chains

setVersion()

Setter for version

public setVersion(string $version) : static
Parameters
$version : string

The certificate's version

Return values
static

To use in method chains

Search results