3 declare(strict_types=1);
24 use DateTimeImmutable;
54 private $lastModifiedAt;
60 private $lastModifiedBy;
72 private $sequenceNumber;
84 private $resourceVersion;
90 private $resourceUserProvidedIdentifiers;
96 private $inventoryEntry;
117 return $this->version;
128 return $this->createdAt;
139 return $this->lastModifiedAt;
173 return $this->sequenceNumber;
195 return $this->resourceVersion;
206 return $this->resourceUserProvidedIdentifiers instanceof
UserProvidedIdentifiersBuilder ? $this->resourceUserProvidedIdentifiers->
build() : $this->resourceUserProvidedIdentifiers;
237 $this->version = $version;
248 $this->createdAt = $createdAt;
259 $this->lastModifiedAt = $lastModifiedAt;
270 $this->lastModifiedBy = $lastModifiedBy;
281 $this->createdBy = $createdBy;
292 $this->sequenceNumber = $sequenceNumber;
303 $this->resource = $resource;
314 $this->resourceVersion = $resourceVersion;
325 $this->resourceUserProvidedIdentifiers = $resourceUserProvidedIdentifiers;
336 $this->inventoryEntry = $inventoryEntry;
347 $this->lastModifiedBy = $lastModifiedBy;
358 $this->createdBy = $createdBy;
369 $this->resource = $resource;
380 $this->resourceUserProvidedIdentifiers = $resourceUserProvidedIdentifiers;
391 $this->inventoryEntry = $inventoryEntry;
402 $this->lastModifiedAt,
405 $this->sequenceNumber,
407 $this->resourceVersion,
408 $this->resourceUserProvidedIdentifiers instanceof
UserProvidedIdentifiersBuilder ? $this->resourceUserProvidedIdentifiers->
build() : $this->resourceUserProvidedIdentifiers,
withCreatedAt(?DateTimeImmutable $createdAt)
withInventoryEntryBuilder(?InventoryEntryBuilder $inventoryEntry)
withInventoryEntry(?InventoryEntry $inventoryEntry)
getResourceUserProvidedIdentifiers()
withLastModifiedByBuilder(?LastModifiedByBuilder $lastModifiedBy)
withSequenceNumber(?int $sequenceNumber)
withLastModifiedBy(?LastModifiedBy $lastModifiedBy)
withResource(?Reference $resource)
withCreatedBy(?CreatedBy $createdBy)
withResourceUserProvidedIdentifiersBuilder(?UserProvidedIdentifiersBuilder $resourceUserProvidedIdentifiers)
withResourceVersion(?int $resourceVersion)
withResourceUserProvidedIdentifiers(?UserProvidedIdentifiers $resourceUserProvidedIdentifiers)
withVersion(?int $version)
withLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
withCreatedByBuilder(?CreatedByBuilder $createdBy)
withResourceBuilder(?ReferenceBuilder $resource)