1 | <?php |
||
19 | class CustomStatusModel implements ResourceModelInterface |
||
20 | { |
||
21 | /** |
||
22 | * Custom status ID. |
||
23 | * |
||
24 | * Comment: Custom status ID |
||
25 | * |
||
26 | * @SA\Type("string") |
||
27 | * @SA\SerializedName("id") |
||
28 | * |
||
29 | * @var string|null |
||
30 | */ |
||
31 | protected $id; |
||
32 | |||
33 | /** |
||
34 | * Name (128 symbols max). |
||
35 | * |
||
36 | * @SA\Type("string") |
||
37 | * @SA\SerializedName("name") |
||
38 | * |
||
39 | * @var string|null |
||
40 | */ |
||
41 | protected $name; |
||
42 | |||
43 | /** |
||
44 | * Color name. |
||
45 | * Custom status color, Enum. |
||
46 | * |
||
47 | * @see \Zibios\WrikePhpLibrary\Enum\ColorEnum |
||
48 | * |
||
49 | * Comment: Optional |
||
50 | * |
||
51 | * @SA\Type("string") |
||
52 | * @SA\SerializedName("color") |
||
53 | * |
||
54 | * @var string|null |
||
55 | */ |
||
56 | protected $color; |
||
57 | |||
58 | /** |
||
59 | * Defines default custom status (ignored in requests). |
||
60 | * |
||
61 | * @SA\Type("boolean") |
||
62 | * @SA\SerializedName("standard") |
||
63 | * |
||
64 | * @var bool|null |
||
65 | */ |
||
66 | protected $standard; |
||
67 | |||
68 | /** |
||
69 | * Custom status group. |
||
70 | * |
||
71 | * Task Status, Enum: Active, Completed, Deferred, Cancelled |
||
72 | * |
||
73 | * @SA\Type("string") |
||
74 | * @SA\SerializedName("group") |
||
75 | * |
||
76 | * @var string|null |
||
77 | */ |
||
78 | protected $group; |
||
79 | |||
80 | /** |
||
81 | * Custom status is hidden. |
||
82 | * |
||
83 | * @SA\Type("boolean") |
||
84 | * @SA\SerializedName("hidden") |
||
85 | * |
||
86 | * @var bool|null |
||
87 | */ |
||
88 | protected $hidden; |
||
89 | |||
90 | /** |
||
91 | * @return null|string |
||
92 | */ |
||
93 | 1 | public function getId() |
|
97 | |||
98 | /** |
||
99 | * @param null|string $id |
||
100 | * |
||
101 | * @return $this |
||
102 | */ |
||
103 | 1 | public function setId($id) |
|
109 | |||
110 | /** |
||
111 | * @return null|string |
||
112 | */ |
||
113 | 1 | public function getName() |
|
117 | |||
118 | /** |
||
119 | * @param null|string $name |
||
120 | * |
||
121 | * @return $this |
||
122 | */ |
||
123 | 1 | public function setName($name) |
|
129 | |||
130 | /** |
||
131 | * @return null|string |
||
132 | */ |
||
133 | 1 | public function getColor() |
|
137 | |||
138 | /** |
||
139 | * @param null|string $color |
||
140 | * |
||
141 | * @return $this |
||
142 | */ |
||
143 | 1 | public function setColor($color) |
|
149 | |||
150 | /** |
||
151 | * @return bool|null |
||
152 | */ |
||
153 | 1 | public function getStandard() |
|
157 | |||
158 | /** |
||
159 | * @param bool|null $standard |
||
160 | * |
||
161 | * @return $this |
||
162 | */ |
||
163 | 1 | public function setStandard($standard) |
|
169 | |||
170 | /** |
||
171 | * @return null|string |
||
172 | */ |
||
173 | 1 | public function getGroup() |
|
177 | |||
178 | /** |
||
179 | * @param null|string $group |
||
180 | * |
||
181 | * @return $this |
||
182 | */ |
||
183 | 1 | public function setGroup($group) |
|
189 | |||
190 | /** |
||
191 | * @return bool|null |
||
192 | */ |
||
193 | 1 | public function getHidden() |
|
197 | |||
198 | /** |
||
199 | * @param bool|null $hidden |
||
200 | * |
||
201 | * @return $this |
||
202 | */ |
||
203 | 1 | public function setHidden($hidden) |
|
209 | } |
||
210 |