Skip to main content

Partial_Peripheral


Partial_Peripheral

Properties

deleted

public string|null|\Onslip360\Nil $deleted

deviceId

public string|null|\Onslip360\Nil $deviceId

function

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

kitchenPrinterConfig

public \Onslip360\API\Partial_KitchenPrinterConfig|null|\Onslip360\Nil $kitchenPrinterConfig

labels

public array|null|\Onslip360\Nil $labels

location

public int|null|\Onslip360\Nil $location

name

public string|null|\Onslip360\Nil $name

serviceId

public string|null|\Onslip360\Nil $serviceId

tags

public array|null|\Onslip360\Nil $tags

virtualDevice

public \Onslip360\API\Partial_VirtualDevice|null|\Onslip360\Nil $virtualDevice

Methods

__construct

public __construct(string|null|\Onslip360\Nil $deleted = null, string|null|\Onslip360\Nil $deviceId = null, \Onslip360\API\Peripheral\PeripheralFunction|null|\Onslip360\Nil $function = null, \Onslip360\API\Partial_KitchenPrinterConfig|null|\Onslip360\Nil $kitchenPrinterConfig = null, int[]|null|\Onslip360\Nil $labels = null, int|null|\Onslip360\Nil $location = null, string|null|\Onslip360\Nil $name = null, string|null|\Onslip360\Nil $serviceId = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\Partial_VirtualDevice|null|\Onslip360\Nil $virtualDevice = null): mixed

Parameters:

ParameterTypeDescription
$deletedstring|null|\Onslip360\Nil
$deviceIdstring|null|\Onslip360\Nil
$function\Onslip360\API\Peripheral\PeripheralFunction|null|\Onslip360\Nil
$kitchenPrinterConfig\Onslip360\API\Partial_KitchenPrinterConfig|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$locationint|null|\Onslip360\Nil
$namestring|null|\Onslip360\Nil
$serviceIdstring|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil
$virtualDevice\Onslip360\API\Partial_VirtualDevice|null|\Onslip360\Nil

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