Stored_ButtonMap
Stored_ButtonMap
- Full name:
\Onslip360\API\Stored_ButtonMap
- Parent class:
\Onslip360\Onslip360Object
Properties
buttons
public array $buttons
created
public string $created
height
public int $height
id
public int $id
name
public string $name
type
public \Onslip360\API\ButtonMap\Type $type
updated
public string $updated
width
public int $width
deleted
public string|null $deleted
labels
public array|null $labels
tags
public array|null $tags
theme
public \Onslip360\API\ButtonMap\Theme|null $theme
updatedBy
public int|null $updatedBy
updatedFrom
public int|null $updatedFrom
Methods
__construct
public __construct(\Onslip360\API\ButtonMapItem[] $buttons, string $created, int $height, int $id, string $name, \Onslip360\API\ButtonMap\Type $type, string $updated, int $width, string|null $deleted = null, int[]|null $labels = null, string[]|null $tags = null, \Onslip360\API\ButtonMap\Theme|null $theme = null, int|null $updatedBy = null, int|null $updatedFrom = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$buttons | \Onslip360\API\ButtonMapItem[] | |
$created | string | |
$height | int | |
$id | int | |
$name | string | |
$type | \Onslip360\API\ButtonMap\Type | |
$updated | string | |
$width | int | |
$deleted | string|null | |
$labels | int[]|null | |
$tags | string[]|null | |
$theme | \Onslip360\API\ButtonMap\Theme|null | |
$updatedBy | int|null | |
$updatedFrom | int|null |
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