Skip to main content

Partial_PrivPortToken


Partial_PrivPortToken

Properties

alias

public string|null $alias

deleted

public string|null|\Onslip360\Nil $deleted

key

public string|null $key

name

public string|null $name

permissions

public array|null|\Onslip360\Nil $permissions

tags

public array|null|\Onslip360\Nil $tags

Methods

__construct

public __construct(string|null $alias = null, string|null|\Onslip360\Nil $deleted = null, string|null $key = null, string|null $name = null, \Onslip360\API\Permission[]|null|\Onslip360\Nil $permissions = null, string[]|null|\Onslip360\Nil $tags = null): mixed

Parameters:

ParameterTypeDescription
$aliasstring|null
$deletedstring|null|\Onslip360\Nil
$keystring|null
$namestring|null
$permissions\Onslip360\API\Permission[]|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil

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 2024-11-05