class HealthReport extends Model

HealthReport

Properties

string $description
string $iconClassName
URI $iconUrl
integer $score

Methods

static Model
getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

from Model
__construct()

__construct

string
getDescription()

getDescription

string
getIconClassName()

getIconClassName

URI
getIconUrl()

getIconUrl

integer
getScore()

getScore

setDescription(string $description)

setDescription

setIconClassName(string $iconClassName)

setIconClassName

setIconUrl(URI $iconUrl)

setIconUrl

setScore(integer $score)

setScore

static HealthReport
getInstanceFromArray(Array $array)

getInstanceFromArray

Details

in Model at line 45
static Model getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

Parameters

string $json Json Zeichenkette

Return Value

Model Datenobjekt

Exceptions

TypeException Wenn die JSON-Zeichenkette kein Array abbildet oder Fehlerhaft ist

at line 61
__construct()

__construct

at line 72
string getDescription()

getDescription

Return Value

string

at line 81
string getIconClassName()

getIconClassName

Return Value

string

at line 90
URI getIconUrl()

getIconUrl

Return Value

URI

at line 99
integer getScore()

getScore

Return Value

integer

at line 110
HealthReport setDescription(string $description)

setDescription

Parameters

string $description

Return Value

HealthReport

at line 122
HealthReport setIconClassName(string $iconClassName)

setIconClassName

Parameters

string $iconClassName

Return Value

HealthReport

at line 134
HealthReport setIconUrl(URI $iconUrl)

setIconUrl

Parameters

URI $iconUrl

Return Value

HealthReport

at line 146
HealthReport setScore(integer $score)

setScore

Parameters

integer $score Score

Return Value

HealthReport

at line 158
static HealthReport getInstanceFromArray(Array $array)

getInstanceFromArray

Parameters

Array $array Daten

Return Value

HealthReport