-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathParameter.php
More file actions
68 lines (51 loc) · 1.17 KB
/
Parameter.php
File metadata and controls
68 lines (51 loc) · 1.17 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
declare(strict_types=1);
namespace Qameta\Allure\Model;
use JsonSerializable;
final class Parameter implements JsonSerializable
{
use JsonSerializableTrait;
public function __construct(
protected string $name,
protected ?string $value = null,
protected ?bool $excluded = null,
protected ?ParameterMode $mode = null,
) {
}
public function getName(): string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
public function setValue(?string $value): self
{
$this->value = $value;
return $this;
}
public function getExcluded(): ?bool
{
return $this->excluded;
}
public function setExcluded(?bool $excluded): self
{
$this->excluded = $excluded;
return $this;
}
public function getMode(): ?ParameterMode
{
return $this->mode;
}
public function setMode(?ParameterMode $mode): self
{
$this->mode = $mode;
return $this;
}
}