forked from fschmtt/keycloak-rest-api-client-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRole.php
45 lines (41 loc) · 1.16 KB
/
Role.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
<?php
declare(strict_types=1);
namespace Fschmtt\Keycloak\Representation;
use Fschmtt\Keycloak\Type\Map;
/**
* @method Map|null getAttributes()
* @method self withAttributes(?Map $value)
*
* @method bool|null getClientRole()
* @method self withClientRole(?bool $value)
*
* @method bool|null getComposite()
* @method self withComposite(?bool $value)
*
* @method RoleComposites|null getComposites()
* @method self withComposites(?RoleComposites $value)
*
* @method string|null getContainerId()
* @method self withContainerId(?string $value)
*
* @method string|null getDescription()
* @method self withDescription(?string $value)
*
* @method string|null getName()
* @method self withName(?string $value)
*
* @codeCoverageIgnore
*/
class Role extends Representation
{
public function __construct(
protected ?Map $attributes = null,
protected ?bool $clientRole = null,
protected ?bool $composite = null,
protected ?RoleComposites $composites = null,
protected ?string $containerId = null,
protected ?string $description = null,
protected ?string $id = null,
protected ?string $name = null,
) {}
}