Skip to main content

Partial_ButtonMap


Partial_ButtonMap

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:

ParameterTypeDescription
$buttons\Onslip360\API\Partial_ButtonMapItem[]|null
$deletedstring|null|\Onslip360\Nil
$heightint|null
$labelsint[]|null|\Onslip360\Nil
$namestring|null
$tagsstring[]|null|\Onslip360\Nil
$theme\Onslip360\API\ButtonMap\Theme|null|\Onslip360\Nil
$type\Onslip360\API\ButtonMap\Type|null
$widthint|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