Skip to main content

ButtonMap


ButtonMap

Properties​

buttons​

public array $buttons

height​

public int $height

name​

public string $name

type​

public \Onslip360\API\ButtonMap\Type $type

width​

public int $width

created​

public string|null $created

deleted​

public string|null $deleted

id​

public int|null $id

labels​

public array|null $labels

tags​

public array|null $tags

theme​

public \Onslip360\API\ButtonMap\Theme|null $theme

updated​

public string|null $updated

updatedBy​

public int|null $updatedBy

updatedFrom​

public int|null $updatedFrom

Methods​

__construct​

public __construct(\Onslip360\API\ButtonMapItem[] $buttons, int $height, string $name, \Onslip360\API\ButtonMap\Type $type, int $width, string|null $created = null, string|null $deleted = null, int|null $id = null, int[]|null $labels = null, string[]|null $tags = null, \Onslip360\API\ButtonMap\Theme|null $theme = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null): mixed

Parameters:

ParameterTypeDescription
$buttons\Onslip360\API\ButtonMapItem[]
$heightint
$namestring
$type\Onslip360\API\ButtonMap\Type
$widthint
$createdstring|null
$deletedstring|null
$idint|null
$labelsint[]|null
$tagsstring[]|null
$theme\Onslip360\API\ButtonMap\Theme|null
$updatedstring|null
$updatedByint|null
$updatedFromint|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 2026-06-17