Skip to main content

Stored_Peripheral


Stored_Peripheral

Properties

created

public string $created

id

public int $id

updated

public string $updated

deleted

public string|null $deleted

deviceId

public string|null $deviceId

function

public \Onslip360\API\Peripheral\PeripheralFunction|null $function

kitchenPrinterConfig

public \Onslip360\API\KitchenPrinterConfig|null $kitchenPrinterConfig

labels

public array|null $labels

location

public int|null $location

name

public string|null $name

serviceId

public string|null $serviceId

tags

public array|null $tags

updatedBy

public int|null $updatedBy

updatedFrom

public int|null $updatedFrom

virtualDevice

public \Onslip360\API\VirtualDevice|null $virtualDevice

Methods

__construct

public __construct(string $created, int $id, string $updated, string|null $deleted = null, string|null $deviceId = null, \Onslip360\API\Peripheral\PeripheralFunction|null $function = null, \Onslip360\API\KitchenPrinterConfig|null $kitchenPrinterConfig = null, int[]|null $labels = null, int|null $location = null, string|null $name = null, string|null $serviceId = null, string[]|null $tags = null, int|null $updatedBy = null, int|null $updatedFrom = null, \Onslip360\API\VirtualDevice|null $virtualDevice = null): mixed

Parameters:

ParameterTypeDescription
$createdstring
$idint
$updatedstring
$deletedstring|null
$deviceIdstring|null
$function\Onslip360\API\Peripheral\PeripheralFunction|null
$kitchenPrinterConfig\Onslip360\API\KitchenPrinterConfig|null
$labelsint[]|null
$locationint|null
$namestring|null
$serviceIdstring|null
$tagsstring[]|null
$updatedByint|null
$updatedFromint|null
$virtualDevice\Onslip360\API\VirtualDevice|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