Skip to main content

ReportModel


ReportModel

Properties

action

public \Onslip360\API\ReportAction $action

apiUri

public string $apiUri

hawkId

public string $hawkId

hawkKey

public string $hawkKey

name

public string $name

realm

public string $realm

description

public string|null $description

Methods

__construct

public __construct(\Onslip360\API\ReportAction $action, string $apiUri, string $hawkId, string $hawkKey, string $name, string $realm, string|null $description = null): mixed

Parameters:

ParameterTypeDescription
$action\Onslip360\API\ReportAction
$apiUristring
$hawkIdstring
$hawkKeystring
$namestring
$realmstring
$descriptionstring|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05