Partial_AccessToken
Partial_AccessToken
- Full name:
\Onslip360\API\Partial_AccessToken
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$alias | string|null | |
$client | int|null|\Onslip360\Nil | |
$deleted | string|null|\Onslip360\Nil | |
$external | bool|null|\Onslip360\Nil | |
$key | string|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$location | int|null|\Onslip360\Nil | |
$name | string|null | |
$permissions | \Onslip360\API\Permission[]|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil | |
$type | \Onslip360\API\AccessToken\Type|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