| 1 |  |  | <?php | 
            
                                                                                                            
                            
            
                                    
            
            
                | 2 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 3 |  |  | /* | 
            
                                                                                                            
                            
            
                                    
            
            
                | 4 |  |  |  * This file is part of the zibios/wrike-php-jmsserializer package. | 
            
                                                                                                            
                            
            
                                    
            
            
                | 5 |  |  |  * | 
            
                                                                                                            
                            
            
                                    
            
            
                | 6 |  |  |  * (c) Zbigniew Ślązak | 
            
                                                                                                            
                            
            
                                    
            
            
                | 7 |  |  |  * | 
            
                                                                                                            
                            
            
                                    
            
            
                | 8 |  |  |  * For the full copyright and license information, please view the LICENSE | 
            
                                                                                                            
                            
            
                                    
            
            
                | 9 |  |  |  * file that was distributed with this source code. | 
            
                                                                                                            
                            
            
                                    
            
            
                | 10 |  |  |  */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 11 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 12 |  |  | namespace Zibios\WrikePhpJmsserializer\Model\Attachment; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 13 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 14 |  |  | use Zibios\WrikePhpJmsserializer\Model\ResourceModelInterface; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 15 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 16 |  |  | /** | 
            
                                                                                                            
                            
            
                                    
            
            
                | 17 |  |  |  * Attachment Resource Model. | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 18 |  |  |  */ | 
            
                                                                        
                            
            
                                    
            
            
                | 19 |  |  | class AttachmentResourceModel implements ResourceModelInterface | 
            
                                                                        
                            
            
                                    
            
            
                | 20 |  |  | { | 
            
                                                                        
                            
            
                                    
            
            
                | 21 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 22 |  |  |      * Attachment ID. | 
            
                                                                        
                            
            
                                    
            
            
                | 23 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 24 |  |  |      * Attachment: Attachment ID | 
            
                                                                        
                            
            
                                    
            
            
                | 25 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 26 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 27 |  |  |      * @SA\SerializedName("id") | 
            
                                                                        
                            
            
                                    
            
            
                | 28 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 29 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 30 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 31 |  |  |     protected $id; | 
            
                                                                        
                            
            
                                    
            
            
                | 32 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 33 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 34 |  |  |      * ID of user who uploaded the attachment. | 
            
                                                                        
                            
            
                                    
            
            
                | 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 |  |  |      * Attachment filename. | 
            
                                                                        
                            
            
                                    
            
            
                | 47 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 48 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 49 |  |  |      * @SA\SerializedName("name") | 
            
                                                                        
                            
            
                                    
            
            
                | 50 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 51 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 52 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 53 |  |  |     protected $name; | 
            
                                                                        
                            
            
                                    
            
            
                | 54 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 55 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 56 |  |  |      * Upload 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 |  |  |      * Attachment version. | 
            
                                                                        
                            
            
                                    
            
            
                | 69 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 70 |  |  |      * @SA\Type("integer") | 
            
                                                                        
                            
            
                                    
            
            
                | 71 |  |  |      * @SA\SerializedName("version") | 
            
                                                                        
                            
            
                                    
            
            
                | 72 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 73 |  |  |      * @var int|null | 
            
                                                                        
                            
            
                                    
            
            
                | 74 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 75 |  |  |     protected $version; | 
            
                                                                        
                            
            
                                    
            
            
                | 76 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 77 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 78 |  |  |      * Attachment type. | 
            
                                                                        
                            
            
                                    
            
            
                | 79 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 80 |  |  |      * Attachment Type, Enum: Wrike, Google, DropBox, Box, OneDrive | 
            
                                                                        
                            
            
                                    
            
            
                | 81 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 82 |  |  |      * @see \Zibios\WrikePhpLibrary\Enum\AttachmentTypeEnum | 
            
                                                                        
                            
            
                                    
            
            
                | 83 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 84 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 85 |  |  |      * @SA\SerializedName("type") | 
            
                                                                        
                            
            
                                    
            
            
                | 86 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 87 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 88 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 89 |  |  |     protected $type; | 
            
                                                                        
                            
            
                                    
            
            
                | 90 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 91 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 92 |  |  |      * Content type. | 
            
                                                                        
                            
            
                                    
            
            
                | 93 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 94 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 95 |  |  |      * @SA\SerializedName("contentType") | 
            
                                                                        
                            
            
                                    
            
            
                | 96 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 97 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 98 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 99 |  |  |     protected $contentType; | 
            
                                                                        
                            
            
                                    
            
            
                | 100 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 101 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 102 |  |  |      * Size for Wrike Attachments. For external attachments, size is equal to -1. | 
            
                                                                        
                            
            
                                    
            
            
                | 103 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 104 |  |  |      * @SA\Type("integer") | 
            
                                                                        
                            
            
                                    
            
            
                | 105 |  |  |      * @SA\SerializedName("size") | 
            
                                                                        
                            
            
                                    
            
            
                | 106 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 107 |  |  |      * @var int|null | 
            
                                                                        
                            
            
                                    
            
            
                | 108 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 109 |  |  |     protected $size; | 
            
                                                                        
                            
            
                                    
            
            
                | 110 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 111 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 112 |  |  |      * ID of related task. Only one of taskId/folderId fields is present. | 
            
                                                                        
                            
            
                                    
            
            
                | 113 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 114 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 115 |  |  |      * @SA\SerializedName("taskId") | 
            
                                                                        
                            
            
                                    
            
            
                | 116 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 117 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 118 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 119 |  |  |     protected $taskId; | 
            
                                                                        
                            
            
                                    
            
            
                | 120 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 121 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 122 |  |  |      * ID of related folder. Only one of taskId/folderId fields is present. | 
            
                                                                        
                            
            
                                    
            
            
                | 123 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 124 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 125 |  |  |      * @SA\SerializedName("folderId") | 
            
                                                                        
                            
            
                                    
            
            
                | 126 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 127 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 128 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 129 |  |  |     protected $folderId; | 
            
                                                                        
                            
            
                                    
            
            
                | 130 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 131 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 132 |  |  |      * ID of related comment. | 
            
                                                                        
                            
            
                                    
            
            
                | 133 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 134 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 135 |  |  |      * @SA\SerializedName("commentId") | 
            
                                                                        
                            
            
                                    
            
            
                | 136 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 137 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 138 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 139 |  |  |     protected $commentId; | 
            
                                                                        
                            
            
                                    
            
            
                | 140 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 141 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 142 |  |  |      * ID of current attachment version. | 
            
                                                                        
                            
            
                                    
            
            
                | 143 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 144 |  |  |      * Comment: Attachment ID | 
            
                                                                        
                            
            
                                    
            
            
                | 145 |  |  |      * Comment: Optional | 
            
                                                                        
                            
            
                                    
            
            
                | 146 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 147 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 148 |  |  |      * @SA\SerializedName("currentAttachmentId") | 
            
                                                                        
                            
            
                                    
            
            
                | 149 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 150 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 151 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 152 |  |  |     protected $currentAttachmentId; | 
            
                                                                        
                            
            
                                    
            
            
                | 153 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 154 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 155 |  |  |      * Link to download external attachment preview (present if preview is available). | 
            
                                                                        
                            
            
                                    
            
            
                | 156 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 157 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 158 |  |  |      * @SA\SerializedName("previewUrl") | 
            
                                                                        
                            
            
                                    
            
            
                | 159 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 160 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 161 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 162 |  |  |     protected $previewUrl; | 
            
                                                                        
                            
            
                                    
            
            
                | 163 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 164 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 165 |  |  |      * Link to download attachment. | 
            
                                                                        
                            
            
                                    
            
            
                | 166 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 167 |  |  |      * Comment: Optional | 
            
                                                                        
                            
            
                                    
            
            
                | 168 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 169 |  |  |      * @SA\Type("string") | 
            
                                                                        
                            
            
                                    
            
            
                | 170 |  |  |      * @SA\SerializedName("url") | 
            
                                                                        
                            
            
                                    
            
            
                | 171 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 172 |  |  |      * @var string|null | 
            
                                                                        
                            
            
                                    
            
            
                | 173 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 174 |  |  |     protected $url; | 
            
                                                                        
                            
            
                                    
            
            
                | 175 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 176 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 177 |  |  |      * Review IDs. | 
            
                                                                        
                            
            
                                    
            
            
                | 178 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 179 |  |  |      * Comment: Optional | 
            
                                                                        
                            
            
                                    
            
            
                | 180 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 181 |  |  |      * @SA\Type("array<string>") | 
            
                                                                        
                            
            
                                    
            
            
                | 182 |  |  |      * @SA\SerializedName("reviewIds") | 
            
                                                                        
                            
            
                                    
            
            
                | 183 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 184 |  |  |      * @var array|string[]|null | 
            
                                                                        
                            
            
                                    
            
            
                | 185 |  |  |      */ | 
            
                                                                        
                            
            
                                    
            
            
                | 186 |  |  |     protected $reviewIds; | 
            
                                                                        
                            
            
                                    
            
            
                | 187 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 188 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 189 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 190 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 191 | 1 |  |     public function getId() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 192 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 193 | 1 |  |         return $this->id; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 194 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 195 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 196 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 197 |  |  |      * @param null|string $id | 
            
                                                                        
                            
            
                                    
            
            
                | 198 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 199 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 200 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 201 | 1 |  |     public function setId($id) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 202 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 203 | 1 |  |         $this->id = $id; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 204 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 205 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 206 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 207 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 208 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 209 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 210 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 211 | 1 |  |     public function getAuthorId() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 212 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 213 | 1 |  |         return $this->authorId; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 214 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 215 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 216 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 217 |  |  |      * @param null|string $authorId | 
            
                                                                        
                            
            
                                    
            
            
                | 218 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 219 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 220 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 221 | 1 |  |     public function setAuthorId($authorId) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 222 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 223 | 1 |  |         $this->authorId = $authorId; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 224 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 225 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 226 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 227 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 228 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 229 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 230 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 231 | 1 |  |     public function getName() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 232 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 233 | 1 |  |         return $this->name; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 234 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 235 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 236 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 237 |  |  |      * @param null|string $name | 
            
                                                                        
                            
            
                                    
            
            
                | 238 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 239 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 240 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 241 | 1 |  |     public function setName($name) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 242 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 243 | 1 |  |         $this->name = $name; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 244 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 245 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 246 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 247 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 248 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 249 |  |  |      * @return \DateTime|null | 
            
                                                                        
                            
            
                                    
            
            
                | 250 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 251 | 1 |  |     public function getCreatedDate() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 252 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 253 | 1 |  |         return $this->createdDate; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 254 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 255 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 256 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 257 |  |  |      * @param \DateTime|null $createdDate | 
            
                                                                        
                            
            
                                    
            
            
                | 258 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 259 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 260 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 261 | 1 |  |     public function setCreatedDate($createdDate) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 262 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 263 | 1 |  |         $this->createdDate = $createdDate; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 264 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 265 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 266 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 267 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 268 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 269 |  |  |      * @return int|null | 
            
                                                                        
                            
            
                                    
            
            
                | 270 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 271 | 1 |  |     public function getVersion() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 272 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 273 | 1 |  |         return $this->version; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 274 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 275 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 276 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 277 |  |  |      * @param int|null $version | 
            
                                                                        
                            
            
                                    
            
            
                | 278 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 279 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 280 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 281 | 1 |  |     public function setVersion($version) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 282 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 283 | 1 |  |         $this->version = $version; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 284 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 285 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 286 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 287 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 288 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 289 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 290 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 291 | 1 |  |     public function getType() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 292 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 293 | 1 |  |         return $this->type; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 294 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 295 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 296 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 297 |  |  |      * @param null|string $type | 
            
                                                                        
                            
            
                                    
            
            
                | 298 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 299 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 300 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 301 | 1 |  |     public function setType($type) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 302 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 303 | 1 |  |         $this->type = $type; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 304 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 305 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 306 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 307 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 308 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 309 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 310 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 311 | 1 |  |     public function getContentType() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 312 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 313 | 1 |  |         return $this->contentType; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 314 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 315 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 316 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 317 |  |  |      * @param null|string $contentType | 
            
                                                                        
                            
            
                                    
            
            
                | 318 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 319 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 320 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 321 | 1 |  |     public function setContentType($contentType) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 322 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 323 | 1 |  |         $this->contentType = $contentType; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 324 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 325 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 326 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 327 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 328 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 329 |  |  |      * @return int|null | 
            
                                                                        
                            
            
                                    
            
            
                | 330 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 331 | 1 |  |     public function getSize() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 332 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 333 | 1 |  |         return $this->size; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 334 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 335 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 336 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 337 |  |  |      * @param int|null $size | 
            
                                                                        
                            
            
                                    
            
            
                | 338 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 339 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 340 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 341 | 1 |  |     public function setSize($size) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 342 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 343 | 1 |  |         $this->size = $size; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 344 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 345 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 346 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 347 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 348 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 349 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 350 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 351 | 1 |  |     public function getTaskId() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 352 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 353 | 1 |  |         return $this->taskId; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 354 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 355 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 356 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 357 |  |  |      * @param null|string $taskId | 
            
                                                                        
                            
            
                                    
            
            
                | 358 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 359 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 360 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 361 | 1 |  |     public function setTaskId($taskId) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 362 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 363 | 1 |  |         $this->taskId = $taskId; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 364 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 365 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 366 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 367 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 368 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 369 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 370 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 371 | 1 |  |     public function getFolderId() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 372 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 373 | 1 |  |         return $this->folderId; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 374 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 375 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 376 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 377 |  |  |      * @param null|string $folderId | 
            
                                                                        
                            
            
                                    
            
            
                | 378 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 379 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 380 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 381 | 1 |  |     public function setFolderId($folderId) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 382 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 383 | 1 |  |         $this->folderId = $folderId; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 384 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 385 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 386 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 387 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 388 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 389 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 390 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 391 | 1 |  |     public function getCommentId() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 392 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 393 | 1 |  |         return $this->commentId; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 394 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 395 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 396 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 397 |  |  |      * @param null|string $commentId | 
            
                                                                        
                            
            
                                    
            
            
                | 398 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 399 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 400 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 401 | 1 |  |     public function setCommentId($commentId) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 402 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 403 | 1 |  |         $this->commentId = $commentId; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 404 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 405 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 406 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 407 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 408 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 409 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 410 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 411 | 1 |  |     public function getCurrentAttachmentId() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 412 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 413 | 1 |  |         return $this->currentAttachmentId; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 414 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 415 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 416 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 417 |  |  |      * @param null|string $currentAttachmentId | 
            
                                                                        
                            
            
                                    
            
            
                | 418 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 419 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 420 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 421 | 1 |  |     public function setCurrentAttachmentId($currentAttachmentId) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 422 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 423 | 1 |  |         $this->currentAttachmentId = $currentAttachmentId; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 424 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 425 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 426 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 427 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 428 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 429 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 430 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 431 | 1 |  |     public function getPreviewUrl() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 432 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 433 | 1 |  |         return $this->previewUrl; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 434 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 435 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 436 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 437 |  |  |      * @param null|string $previewUrl | 
            
                                                                        
                            
            
                                    
            
            
                | 438 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 439 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 440 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 441 | 1 |  |     public function setPreviewUrl($previewUrl) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 442 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 443 | 1 |  |         $this->previewUrl = $previewUrl; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 444 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 445 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 446 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 447 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 448 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 449 |  |  |      * @return null|string | 
            
                                                                        
                            
            
                                    
            
            
                | 450 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 451 | 1 |  |     public function getUrl() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 452 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 453 | 1 |  |         return $this->url; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 454 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 455 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 456 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 457 |  |  |      * @param null|string $url | 
            
                                                                        
                            
            
                                    
            
            
                | 458 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 459 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 460 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 461 | 1 |  |     public function setUrl($url) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 462 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 463 | 1 |  |         $this->url = $url; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 464 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 465 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 466 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 467 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 468 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 469 |  |  |      * @return array|null|\string[] | 
            
                                                                        
                            
            
                                    
            
            
                | 470 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 471 | 1 |  |     public function getReviewIds() | 
            
                                                                                                            
                            
            
                                    
            
            
                | 472 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 473 | 1 |  |         return $this->reviewIds; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 474 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 475 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 476 |  |  |     /** | 
            
                                                                        
                            
            
                                    
            
            
                | 477 |  |  |      * @param array|null|\string[] $reviewIds | 
            
                                                                        
                            
            
                                    
            
            
                | 478 |  |  |      * | 
            
                                                                        
                            
            
                                    
            
            
                | 479 |  |  |      * @return $this | 
            
                                                                        
                            
            
                                    
            
            
                | 480 |  |  |      */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 481 | 1 |  |     public function setReviewIds($reviewIds) | 
            
                                                                                                            
                            
            
                                    
            
            
                | 482 |  |  |     { | 
            
                                                                                                            
                            
            
                                    
            
            
                | 483 | 1 |  |         $this->reviewIds = $reviewIds; | 
            
                                                                                                            
                            
            
                                    
            
            
                | 484 |  |  |  | 
            
                                                                                                            
                            
            
                                    
            
            
                | 485 | 1 |  |         return $this; | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 486 |  |  |     } | 
            
                                                        
            
                                    
            
            
                | 487 |  |  | } | 
            
                                                        
            
                                    
            
            
                | 488 |  |  |  |