1 | <?php |
||
22 | class GroupResourceModel extends AbstractModel implements ResourceModelInterface |
||
23 | { |
||
24 | /** |
||
25 | * Contact ID. |
||
26 | * |
||
27 | * Comment: Contact ID |
||
28 | * |
||
29 | * @SA\Type("string") |
||
30 | * @SA\SerializedName("id") |
||
31 | * |
||
32 | * @var string|null |
||
33 | */ |
||
34 | protected $id; |
||
35 | |||
36 | /** |
||
37 | * Account ID. |
||
38 | * |
||
39 | * Comment: Account ID |
||
40 | * |
||
41 | * @SA\Type("string") |
||
42 | * @SA\SerializedName("accountId") |
||
43 | * |
||
44 | * @var string|null |
||
45 | */ |
||
46 | protected $accountId; |
||
47 | |||
48 | /** |
||
49 | * Group Title. |
||
50 | * |
||
51 | * @SA\Type("string") |
||
52 | * @SA\SerializedName("title") |
||
53 | * |
||
54 | * @var string|null |
||
55 | */ |
||
56 | protected $title; |
||
57 | |||
58 | /** |
||
59 | * List of group members user IDs. |
||
60 | * |
||
61 | * Comment: Contact ID list |
||
62 | * |
||
63 | * @SA\Type("array<string>") |
||
64 | * @SA\SerializedName("memberIds") |
||
65 | * |
||
66 | * @var array|string[]|null |
||
67 | */ |
||
68 | protected $memberIds; |
||
69 | |||
70 | /** |
||
71 | * List of child group IDs. |
||
72 | * |
||
73 | * Comment: Contact ID list |
||
74 | * |
||
75 | * @SA\Type("array<string>") |
||
76 | * @SA\SerializedName("childIds") |
||
77 | * |
||
78 | * @var array|string[]|null |
||
79 | */ |
||
80 | protected $childIds; |
||
81 | |||
82 | /** |
||
83 | * List of parent group IDs. |
||
84 | * |
||
85 | * Comment: Contact ID list |
||
86 | * |
||
87 | * @SA\Type("array<string>") |
||
88 | * @SA\SerializedName("parentIds") |
||
89 | * |
||
90 | * @var array|string[]|null |
||
91 | */ |
||
92 | protected $parentIds; |
||
93 | |||
94 | /** |
||
95 | * Avatar URL. |
||
96 | * |
||
97 | * @SA\Type("string") |
||
98 | * @SA\SerializedName("avatarUrl") |
||
99 | * |
||
100 | * @var string|null |
||
101 | */ |
||
102 | protected $avatarUrl; |
||
103 | |||
104 | /** |
||
105 | * Field is present and set to true for My Team (default) group |
||
106 | * Optional. |
||
107 | * |
||
108 | * Comment: Optional |
||
109 | * |
||
110 | * @SA\Type("boolean") |
||
111 | * @SA\SerializedName("myTeam") |
||
112 | * |
||
113 | * @var bool|null |
||
114 | */ |
||
115 | protected $myTeam; |
||
116 | |||
117 | /** |
||
118 | * List of group metadata entries |
||
119 | * Metadata entry key-value pair |
||
120 | * Metadata entries are isolated on per-client (application) basis |
||
121 | * Optional. |
||
122 | * |
||
123 | * Comment: Optional |
||
124 | * |
||
125 | * @SA\Type("array<Zibios\WrikePhpJmsserializer\Model\Common\MetadataModel>") |
||
126 | * @SA\SerializedName("metadata") |
||
127 | * |
||
128 | * @var array|MetadataModel[]|null |
||
129 | */ |
||
130 | protected $metadata; |
||
131 | |||
132 | /** |
||
133 | * @return null|string |
||
134 | */ |
||
135 | 1 | public function getId() |
|
139 | |||
140 | /** |
||
141 | * @param null|string $id |
||
142 | * |
||
143 | * @return $this |
||
144 | */ |
||
145 | 1 | public function setId($id) |
|
151 | |||
152 | /** |
||
153 | * @return null|string |
||
154 | */ |
||
155 | 1 | public function getAccountId() |
|
159 | |||
160 | /** |
||
161 | * @param null|string $accountId |
||
162 | * |
||
163 | * @return $this |
||
164 | */ |
||
165 | 1 | public function setAccountId($accountId) |
|
171 | |||
172 | /** |
||
173 | * @return null|string |
||
174 | */ |
||
175 | 1 | public function getTitle() |
|
179 | |||
180 | /** |
||
181 | * @param null|string $title |
||
182 | * |
||
183 | * @return $this |
||
184 | */ |
||
185 | 1 | public function setTitle($title) |
|
191 | |||
192 | /** |
||
193 | * @return array|null|\string[] |
||
194 | */ |
||
195 | 1 | public function getMemberIds() |
|
199 | |||
200 | /** |
||
201 | * @param array|null|\string[] $memberIds |
||
202 | * |
||
203 | * @return $this |
||
204 | */ |
||
205 | 1 | public function setMemberIds($memberIds) |
|
211 | |||
212 | /** |
||
213 | * @return array|null|\string[] |
||
214 | */ |
||
215 | 1 | public function getChildIds() |
|
219 | |||
220 | /** |
||
221 | * @param array|null|\string[] $childIds |
||
222 | * |
||
223 | * @return $this |
||
224 | */ |
||
225 | 1 | public function setChildIds($childIds) |
|
231 | |||
232 | /** |
||
233 | * @return array|null|\string[] |
||
234 | */ |
||
235 | 1 | public function getParentIds() |
|
239 | |||
240 | /** |
||
241 | * @param array|null|\string[] $parentIds |
||
242 | * |
||
243 | * @return $this |
||
244 | */ |
||
245 | 1 | public function setParentIds($parentIds) |
|
251 | |||
252 | /** |
||
253 | * @return null|string |
||
254 | */ |
||
255 | 1 | public function getAvatarUrl() |
|
259 | |||
260 | /** |
||
261 | * @param null|string $avatarUrl |
||
262 | * |
||
263 | * @return $this |
||
264 | */ |
||
265 | 1 | public function setAvatarUrl($avatarUrl) |
|
271 | |||
272 | /** |
||
273 | * @return bool|null |
||
274 | */ |
||
275 | 1 | public function getMyTeam() |
|
279 | |||
280 | /** |
||
281 | * @param bool|null $myTeam |
||
282 | * |
||
283 | * @return $this |
||
284 | */ |
||
285 | 1 | public function setMyTeam($myTeam) |
|
291 | |||
292 | /** |
||
293 | * @return array|null|MetadataModel[] |
||
294 | */ |
||
295 | 1 | public function getMetadata() |
|
299 | |||
300 | /** |
||
301 | * @param array|null|MetadataModel[] $metadata |
||
302 | * |
||
303 | * @return $this |
||
304 | */ |
||
305 | 1 | public function setMetadata($metadata) |
|
311 | } |
||
312 |