*/ public function getFieldDeserializers(): array { if ($this->getIncoWeightMember1() !== null) { return $this->getIncoWeightMember1()->getFieldDeserializers(); } else if ($this->getIncoWeight() !== null) { return $this->getIncoWeight()->getFieldDeserializers(); } return []; } /** * Gets the IncoWeight property value. Composed type representation for type IncoWeight * @return IncoWeight|null */ public function getIncoWeight(): ?IncoWeight { return $this->incoWeight; } /** * Gets the Inco_weightMember1 property value. Composed type representation for type Inco_weightMember1 * @return Inco_weightMember1|null */ public function getIncoWeightMember1(): ?Inco_weightMember1 { return $this->inco_weightMember1; } /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { if ($this->getIncoWeightMember1() !== null) { $writer->writeObjectValue(null, $this->getIncoWeightMember1()); } else if ($this->getIncoWeight() !== null) { $writer->writeObjectValue(null, $this->getIncoWeight()); } } /** * Sets the IncoWeight property value. Composed type representation for type IncoWeight * @param IncoWeight|null $value Value to set for the IncoWeight property. */ public function setIncoWeight(?IncoWeight $value): void { $this->incoWeight = $value; } /** * Sets the Inco_weightMember1 property value. Composed type representation for type Inco_weightMember1 * @param Inco_weightMember1|null $value Value to set for the Inco_weightMember1 property. */ public function setIncoWeightMember1(?Inco_weightMember1 $value): void { $this->inco_weightMember1 = $value; } }