Partial_User
Partial_User
- Full name:
\Onslip360\API\Partial_User
- Parent class:
\Onslip360\Onslip360Object
Properties
alias
public string|null $alias
deleted
public string|null|\Onslip360\Nil $deleted
demon
public bool|null|\Onslip360\Nil $demon
email
public string|null $email
identityNumber
public string|null|\Onslip360\Nil $identityNumber
labels
public array|null|\Onslip360\Nil $labels
name
public string|null $name
password
public string|null $password
pin
public string|null $pin
roles
public array|null|\Onslip360\Nil $roles
systemRoles
public array|null|\Onslip360\Nil $systemRoles
tags
public array|null|\Onslip360\Nil $tags
Methods
__construct
public __construct(string|null $alias = null, string|null|\Onslip360\Nil $deleted = null, bool|null|\Onslip360\Nil $demon = null, string|null $email = null, string|null|\Onslip360\Nil $identityNumber = null, int[]|null|\Onslip360\Nil $labels = null, string|null $name = null, string|null $password = null, string|null $pin = null, int[]|null|\Onslip360\Nil $roles = null, \Onslip360\API\User\SystemRole[]|null|\Onslip360\Nil $systemRoles = null, string[]|null|\Onslip360\Nil $tags = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$alias | string|null | |
$deleted | string|null|\Onslip360\Nil | |
$demon | bool|null|\Onslip360\Nil | |
$email | string|null | |
$identityNumber | string|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$name | string|null | |
$password | string|null | |
$pin | string|null | |
$roles | int[]|null|\Onslip360\Nil | |
$systemRoles | \Onslip360\API\User\SystemRole[]|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil |
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