Passed
Branch master (ecaff5)
by Joao
02:24
created

DummyHex::getField()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace RestTemplate\Model;
4
5
use Swagger\Annotations as SWG;
6
7
/**
8
 * Model that represents the DummyHex table
9
 *
10
 * @SWG\Definition(required={"field"}, type="object", @SWG\Xml(name="DummyHex"))
11
 */
12
class DummyHex
13
{
14
    /**
15
     * The "fake" key
16
     * @SWG\Property()
17
     * @var string
18
     */
19
    protected $id;
20
21
    /**
22
     * The UUID
23
     * @SWG\Property()
24
     * @var string
25
     */
26
    protected $uuid;
27
28
    /**
29
     * Some field property
30
     * @SWG\Property()
31
     * @var string
32
     */
33
    protected $field;
34
35
    /**
36
     * @return mixed
37
     */
38
    public function getId()
39
    {
40
        return $this->id;
41
    }
42
43
    /**
44
     * @param mixed $value
45
     */
46
    public function setId($value)
47
    {
48
        $this->id = $value;
49
    }
50
51
    /**
52
     * @return string
53
     */
54
    public function getUuid()
55
    {
56
        return $this->uuid;
57
    }
58
59
    /**
60
     * @param string $uuid
61
     */
62
    public function setUuid($uuid)
63
    {
64
        $this->uuid = $uuid;
65
    }
66
67
68
    /**
69
     * @return mixed
70
     */
71
    public function getField()
72
    {
73
        return $this->field;
74
    }
75
76
    /**
77
     * @param mixed $field
78
     */
79
    public function setField($field)
80
    {
81
        $this->field = $field;
82
    }
83
}
84