PHP Sigfox Client

ContractId extends Model

Contract's id

Table of Contents

$id  : string|null
The contract's id
from()  : static
Initializing a model from an array
getId()  : string
Getter for id
jsonSerialize()  : array<string|int, mixed>
setId()  : static
Setter for id

Properties

$id

The contract's id

protected string|null $id = 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 contract's id

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 contract's id

Return values
static

To use in method chains

Search results