3 declare(strict_types=1);
17 use DateTimeImmutable;
129 if (is_null($this->version)) {
131 $data = $this->
raw(self::FIELD_VERSION);
132 if (is_null($data)) {
135 $this->version = (int) $data;
149 if (is_null($this->importContainerKey)) {
151 $data = $this->
raw(self::FIELD_IMPORT_CONTAINER_KEY);
152 if (is_null($data)) {
155 $this->importContainerKey = (string) $data;
169 if (is_null($this->resourceKey)) {
171 $data = $this->
raw(self::FIELD_RESOURCE_KEY);
172 if (is_null($data)) {
175 $this->resourceKey = (string) $data;
189 if (is_null($this->
id)) {
191 $data = $this->
raw(self::FIELD_ID);
192 if (is_null($data)) {
195 $this->
id = (string) $data;
209 if (is_null($this->state)) {
211 $data = $this->
raw(self::FIELD_STATE);
212 if (is_null($data)) {
215 $this->state = (string) $data;
229 if (is_null($this->resourceVersion)) {
231 $data = $this->
raw(self::FIELD_RESOURCE_VERSION);
232 if (is_null($data)) {
235 $this->resourceVersion = (int) $data;
249 if (is_null($this->errors)) {
251 $data = $this->
raw(self::FIELD_ERRORS);
252 if (is_null($data)) {
269 if (is_null($this->unresolvedReferences)) {
271 $data = $this->
raw(self::FIELD_UNRESOLVED_REFERENCES);
272 if (is_null($data)) {
289 if (is_null($this->createdAt)) {
291 $data = $this->
raw(self::FIELD_CREATED_AT);
292 if (is_null($data)) {
296 if (
false === $data) {
299 $this->createdAt = $data;
313 if (is_null($this->lastModifiedAt)) {
315 $data = $this->
raw(self::FIELD_LAST_MODIFIED_AT);
316 if (is_null($data)) {
320 if (
false === $data) {
323 $this->lastModifiedAt = $data;
337 if (is_null($this->expiresAt)) {
339 $data = $this->
raw(self::FIELD_EXPIRES_AT);
340 if (is_null($data)) {
344 if (
false === $data) {
347 $this->expiresAt = $data;
443 #[\ReturnTypeWillChange]
458 return (
object) $data;