3 declare(strict_types=1);
111 ?
string $type =
null,
146 if (is_null($this->version)) {
148 $data = $this->
raw(self::FIELD_VERSION);
149 if (is_null($data)) {
152 $this->version = (int) $data;
166 if (is_null($this->previousVersion)) {
168 $data = $this->
raw(self::FIELD_PREVIOUS_VERSION);
169 if (is_null($data)) {
172 $this->previousVersion = (int) $data;
187 if (is_null($this->type)) {
189 $data = $this->
raw(self::FIELD_TYPE);
190 if (is_null($data)) {
193 $this->type = (string) $data;
207 if (is_null($this->modifiedBy)) {
209 $data = $this->
raw(self::FIELD_MODIFIED_BY);
210 if (is_null($data)) {
228 if (is_null($this->modifiedAt)) {
230 $data = $this->
raw(self::FIELD_MODIFIED_AT);
231 if (is_null($data)) {
234 $this->modifiedAt = (string) $data;
248 if (is_null($this->label)) {
250 $data = $this->
raw(self::FIELD_LABEL);
251 if (is_null($data)) {
255 $this->label = $className::of($data);
269 if (is_null($this->previousLabel)) {
271 $data = $this->
raw(self::FIELD_PREVIOUS_LABEL);
272 if (is_null($data)) {
276 $this->previousLabel = $className::of($data);
291 if (is_null($this->changes)) {
293 $data = $this->
raw(self::FIELD_CHANGES);
294 if (is_null($data)) {
311 if (is_null($this->resource)) {
313 $data = $this->
raw(self::FIELD_RESOURCE);
314 if (is_null($data)) {
332 if (is_null($this->stores)) {
334 $data = $this->
raw(self::FIELD_STORES);
335 if (is_null($data)) {
352 if (is_null($this->businessUnit)) {
354 $data = $this->
raw(self::FIELD_BUSINESS_UNIT);
355 if (is_null($data)) {
374 if (is_null($this->withoutChanges)) {
376 $data = $this->
raw(self::FIELD_WITHOUT_CHANGES);
377 if (is_null($data)) {
380 $this->withoutChanges = (bool) $data;
setChanges(?ChangeCollection $changes)
setModifiedBy(?ModifiedBy $modifiedBy)
__construct(?int $version=null, ?int $previousVersion=null, ?string $type=null, ?ModifiedBy $modifiedBy=null, ?string $modifiedAt=null, ?Label $label=null, ?Label $previousLabel=null, ?ChangeCollection $changes=null, ?ResourceIdentifier $resource=null, ?KeyReferenceCollection $stores=null, ?KeyReference $businessUnit=null, ?bool $withoutChanges=null)
setPreviousVersion(?int $previousVersion)
setWithoutChanges(?bool $withoutChanges)
setResource(?ResourceIdentifier $resource)
setStores(?KeyReferenceCollection $stores)
setVersion(?int $version)
setBusinessUnit(?KeyReference $businessUnit)
setModifiedAt(?string $modifiedAt)
setPreviousLabel(?Label $previousLabel)
static resolveDiscriminatorClass($value)