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