1 | <?php |
||
19 | class CommentResourceModel implements ResourceModelInterface |
||
20 | { |
||
21 | /** |
||
22 | * Comment ID. |
||
23 | * |
||
24 | * Comment: Comment ID |
||
25 | * |
||
26 | * @SA\Type("string") |
||
27 | * @SA\SerializedName("id") |
||
28 | * |
||
29 | * @var string|null |
||
30 | */ |
||
31 | protected $id; |
||
32 | |||
33 | /** |
||
34 | * Author ID. |
||
35 | * |
||
36 | * Comment: Contact ID |
||
37 | * |
||
38 | * @SA\Type("string") |
||
39 | * @SA\SerializedName("authorId") |
||
40 | * |
||
41 | * @var string|null |
||
42 | */ |
||
43 | protected $authorId; |
||
44 | |||
45 | /** |
||
46 | * Comment text. |
||
47 | * |
||
48 | * @SA\Type("string") |
||
49 | * @SA\SerializedName("text") |
||
50 | * |
||
51 | * @var string|null |
||
52 | */ |
||
53 | protected $text; |
||
54 | |||
55 | /** |
||
56 | * Created date. |
||
57 | * |
||
58 | * Format: yyyy-MM-dd'T'HH:mm:ss'Z' |
||
59 | * |
||
60 | * @SA\Type("DateTime<'Y-m-d\TH:i:s\Z'>") |
||
61 | * @SA\SerializedName("createdDate") |
||
62 | * |
||
63 | * @var \DateTime|null |
||
64 | */ |
||
65 | protected $createdDate; |
||
66 | |||
67 | /** |
||
68 | * ID of related task. Only one of taskId/folderId fields is present. |
||
69 | * |
||
70 | * @SA\Type("string") |
||
71 | * @SA\SerializedName("taskId") |
||
72 | * |
||
73 | * @var string|null |
||
74 | */ |
||
75 | protected $taskId; |
||
76 | |||
77 | /** |
||
78 | * ID of related folder. Only one of taskId/folderId fields is present. |
||
79 | * |
||
80 | * @SA\Type("string") |
||
81 | * @SA\SerializedName("folderId") |
||
82 | * |
||
83 | * @var string|null |
||
84 | */ |
||
85 | protected $folderId; |
||
86 | |||
87 | /** |
||
88 | * @return null|string |
||
89 | */ |
||
90 | 1 | public function getId() |
|
94 | |||
95 | /** |
||
96 | * @param null|string $id |
||
97 | * |
||
98 | * @return $this |
||
99 | */ |
||
100 | 1 | public function setId($id) |
|
106 | |||
107 | /** |
||
108 | * @return null|string |
||
109 | */ |
||
110 | 1 | public function getAuthorId() |
|
114 | |||
115 | /** |
||
116 | * @param null|string $authorId |
||
117 | * |
||
118 | * @return $this |
||
119 | */ |
||
120 | 1 | public function setAuthorId($authorId) |
|
126 | |||
127 | /** |
||
128 | * @return null|string |
||
129 | */ |
||
130 | 1 | public function getText() |
|
134 | |||
135 | /** |
||
136 | * @param null|string $text |
||
137 | * |
||
138 | * @return $this |
||
139 | */ |
||
140 | 1 | public function setText($text) |
|
146 | |||
147 | /** |
||
148 | * @return \DateTime|null |
||
149 | */ |
||
150 | 1 | public function getCreatedDate() |
|
154 | |||
155 | /** |
||
156 | * @param \DateTime|null $createdDate |
||
157 | * |
||
158 | * @return $this |
||
159 | */ |
||
160 | 1 | public function setCreatedDate($createdDate) |
|
166 | |||
167 | /** |
||
168 | * @return null|string |
||
169 | */ |
||
170 | 1 | public function getTaskId() |
|
174 | |||
175 | /** |
||
176 | * @param null|string $taskId |
||
177 | * |
||
178 | * @return $this |
||
179 | */ |
||
180 | 1 | public function setTaskId($taskId) |
|
186 | |||
187 | /** |
||
188 | * @return null|string |
||
189 | */ |
||
190 | 1 | public function getFolderId() |
|
194 | |||
195 | /** |
||
196 | * @param null|string $folderId |
||
197 | * |
||
198 | * @return $this |
||
199 | */ |
||
200 | 1 | public function setFolderId($folderId) |
|
206 | } |
||
207 |