Partial_Peripheral
Partial_Peripheral
- Full name:
\Onslip360\API\Partial_Peripheral
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$deleted | string|null|\Onslip360\Nil | |
$deviceId | string|null|\Onslip360\Nil | |
$function | \Onslip360\API\Peripheral\PeripheralFunction|null|\Onslip360\Nil | |
$kitchenPrinterConfig | \Onslip360\API\Partial_KitchenPrinterConfig|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$location | int|null|\Onslip360\Nil | |
$name | string|null|\Onslip360\Nil | |
$serviceId | string|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil | |
$virtualDevice | \Onslip360\API\Partial_VirtualDevice|null|\Onslip360\Nil |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05