PHP Sigfox Client

Certificate extends Model

Defines a product or modem certificate type entity

Table of Contents

$id  : string|null
The product certificate's identifier
$key  : string|null
The product certificate's name
from()  : static
Initializing a model from an array
getId()  : string
Getter for id
getKey()  : string
Getter for key
jsonSerialize()  : array<string|int, mixed>
setId()  : static
Setter for id
setKey()  : static
Setter for key

Properties

$id

The product certificate's identifier

protected string|null $id = null

$key

The product certificate's name

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

getId()

Getter for id

public getId() : string
Return values
string

The product certificate's identifier

getKey()

Getter for key

public getKey() : string
Return values
string

The product certificate's name

jsonSerialize()

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

setId()

Setter for id

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

The product certificate's identifier

Return values
static

To use in method chains

setKey()

Setter for key

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

The product certificate's name

Return values
static

To use in method chains

Search results