-
Notifications
You must be signed in to change notification settings - Fork 18
/
Group.php
52 lines (48 loc) · 1.61 KB
/
Group.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
declare(strict_types=1);
namespace Fschmtt\Keycloak\Representation;
use Fschmtt\Keycloak\Attribute\Since;
use Fschmtt\Keycloak\Collection\GroupCollection;
use Fschmtt\Keycloak\Type\Map;
/**
* @method Map|null getAccess()
* @method Map|null getAttributes()
* @method Map|null getClientRoles()
* @method string|null getId()
* @method string|null getName()
* @method string|null getParentId()
* @method string|null getPath()
* @method string[]|null getRealmRoles()
* @method int|null getSubGroupCount()
* @method Group[]|null getSubGroups()
* @method self withAccess(?Map $access)
* @method self withAttributes(?Map $attributes)
* @method self withClientRoles(?Map $clientRoles)
* @method self withId(?string $id)
* @method self withName(?string $name)
* @method self withParentId(?string $parentId)
* @method self withPath(?string $path)
* @method self withRealmRoles(?array $realmRoles)
* @method self withSubGroupCount(?int $subGroupCount)
* @method self withSubGroups(?array $subGroups)
*
* @codeCoverageIgnore
*/
class Group extends Representation
{
public function __construct(
protected ?Map $access = null,
protected ?Map $attributes = null,
protected ?Map $clientRoles = null,
protected ?string $id = null,
protected ?string $name = null,
#[Since('23.0.0')]
protected ?string $parentId = null,
protected ?string $path = null,
/** @var string[]|null */
protected ?array $realmRoles = null,
#[Since('23.0.0')]
protected ?int $subGroupCount = null,
protected ?GroupCollection $subGroups = null,
) {}
}