Skip to main content

Partial_User


Partial_User

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:

ParameterTypeDescription
$aliasstring|null
$deletedstring|null|\Onslip360\Nil
$demonbool|null|\Onslip360\Nil
$emailstring|null
$identityNumberstring|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$namestring|null
$passwordstring|null
$pinstring|null
$rolesint[]|null|\Onslip360\Nil
$systemRoles\Onslip360\API\User\SystemRole[]|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