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