Skip to main content

Partial_AccessToken


Partial_AccessToken

Properties

alias

public string|null $alias

client

public int|null|\Onslip360\Nil $client

deleted

public string|null|\Onslip360\Nil $deleted

external

public bool|null|\Onslip360\Nil $external

key

public string|null|\Onslip360\Nil $key

labels

public array|null|\Onslip360\Nil $labels

location

public int|null|\Onslip360\Nil $location

name

public string|null $name

permissions

public array|null|\Onslip360\Nil $permissions

tags

public array|null|\Onslip360\Nil $tags

type

public \Onslip360\API\AccessToken\Type|null $type

Methods

__construct

public __construct(string|null $alias = null, int|null|\Onslip360\Nil $client = null, string|null|\Onslip360\Nil $deleted = null, bool|null|\Onslip360\Nil $external = null, string|null|\Onslip360\Nil $key = null, int[]|null|\Onslip360\Nil $labels = null, int|null|\Onslip360\Nil $location = null, string|null $name = null, \Onslip360\API\Permission[]|null|\Onslip360\Nil $permissions = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\AccessToken\Type|null $type = null): mixed

Parameters:

ParameterTypeDescription
$aliasstring|null
$clientint|null|\Onslip360\Nil
$deletedstring|null|\Onslip360\Nil
$externalbool|null|\Onslip360\Nil
$keystring|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$locationint|null|\Onslip360\Nil
$namestring|null
$permissions\Onslip360\API\Permission[]|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil
$type\Onslip360\API\AccessToken\Type|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 2024-11-05