1 | <?php |
||
21 | class CustomStatusModel extends AbstractModel implements ResourceModelInterface |
||
22 | { |
||
23 | /** |
||
24 | * Custom status ID. |
||
25 | * |
||
26 | * Comment: Custom status ID |
||
27 | * |
||
28 | * @SA\Type("string") |
||
29 | * @SA\SerializedName("id") |
||
30 | * |
||
31 | * @var string|null |
||
32 | */ |
||
33 | protected $id; |
||
34 | |||
35 | /** |
||
36 | * Name (128 symbols max). |
||
37 | * |
||
38 | * @SA\Type("string") |
||
39 | * @SA\SerializedName("name") |
||
40 | * |
||
41 | * @var string|null |
||
42 | */ |
||
43 | protected $name; |
||
44 | |||
45 | /** |
||
46 | * Color name. |
||
47 | * Custom status color, Enum. |
||
48 | * |
||
49 | * @see \Zibios\WrikePhpLibrary\Enum\ColorEnum |
||
50 | * |
||
51 | * Comment: Optional |
||
52 | * |
||
53 | * @SA\Type("string") |
||
54 | * @SA\SerializedName("color") |
||
55 | * |
||
56 | * @var string|null |
||
57 | */ |
||
58 | protected $color; |
||
59 | |||
60 | /** |
||
61 | * Defines default custom status (ignored in requests). |
||
62 | * |
||
63 | * @SA\Type("boolean") |
||
64 | * @SA\SerializedName("standard") |
||
65 | * |
||
66 | * @var bool|null |
||
67 | */ |
||
68 | protected $standard; |
||
69 | |||
70 | /** |
||
71 | * Custom status group. |
||
72 | * |
||
73 | * Task Status, Enum: Active, Completed, Deferred, Cancelled |
||
74 | * |
||
75 | * @SA\Type("string") |
||
76 | * @SA\SerializedName("group") |
||
77 | * |
||
78 | * @var string|null |
||
79 | */ |
||
80 | protected $group; |
||
81 | |||
82 | /** |
||
83 | * Custom status is hidden. |
||
84 | * |
||
85 | * @SA\Type("boolean") |
||
86 | * @SA\SerializedName("hidden") |
||
87 | * |
||
88 | * @var bool|null |
||
89 | */ |
||
90 | protected $hidden; |
||
91 | |||
92 | /** |
||
93 | * @return null|string |
||
94 | */ |
||
95 | 1 | public function getId() |
|
99 | |||
100 | /** |
||
101 | * @param null|string $id |
||
102 | * |
||
103 | * @return $this |
||
104 | */ |
||
105 | 1 | public function setId($id) |
|
111 | |||
112 | /** |
||
113 | * @return null|string |
||
114 | */ |
||
115 | 1 | public function getName() |
|
119 | |||
120 | /** |
||
121 | * @param null|string $name |
||
122 | * |
||
123 | * @return $this |
||
124 | */ |
||
125 | 1 | public function setName($name) |
|
131 | |||
132 | /** |
||
133 | * @return null|string |
||
134 | */ |
||
135 | 1 | public function getColor() |
|
139 | |||
140 | /** |
||
141 | * @param null|string $color |
||
142 | * |
||
143 | * @return $this |
||
144 | */ |
||
145 | 1 | public function setColor($color) |
|
151 | |||
152 | /** |
||
153 | * @return bool|null |
||
154 | */ |
||
155 | 1 | public function getStandard() |
|
159 | |||
160 | /** |
||
161 | * @param bool|null $standard |
||
162 | * |
||
163 | * @return $this |
||
164 | */ |
||
165 | 1 | public function setStandard($standard) |
|
171 | |||
172 | /** |
||
173 | * @return null|string |
||
174 | */ |
||
175 | 1 | public function getGroup() |
|
179 | |||
180 | /** |
||
181 | * @param null|string $group |
||
182 | * |
||
183 | * @return $this |
||
184 | */ |
||
185 | 1 | public function setGroup($group) |
|
191 | |||
192 | /** |
||
193 | * @return bool|null |
||
194 | */ |
||
195 | 1 | public function getHidden() |
|
199 | |||
200 | /** |
||
201 | * @param bool|null $hidden |
||
202 | * |
||
203 | * @return $this |
||
204 | */ |
||
205 | 1 | public function setHidden($hidden) |
|
211 | } |
||
212 |