setInco(new Inco()); $result->setIncoShort(new IncoShort()); return $result; } /** * The deserialization information for the current model * @return array */ public function getFieldDeserializers(): array { if ($this->getInco() !== null || $this->getIncoShort() !== null) { return ParseNodeHelper::mergeDeserializersForIntersectionWrapper($this->getInco(), $this->getIncoShort()); } return []; } /** * Gets the Inco property value. Composed type representation for type Inco * @return Inco|null */ public function getInco(): ?Inco { return $this->inco; } /** * Gets the IncoShort property value. Composed type representation for type IncoShort * @return IncoShort|null */ public function getIncoShort(): ?IncoShort { return $this->incoShort; } /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue(null, $this->getInco(), $this->getIncoShort()); } /** * Sets the Inco property value. Composed type representation for type Inco * @param Inco|null $value Value to set for the Inco property. */ public function setInco(?Inco $value): void { $this->inco = $value; } /** * Sets the IncoShort property value. Composed type representation for type IncoShort * @param IncoShort|null $value Value to set for the IncoShort property. */ public function setIncoShort(?IncoShort $value): void { $this->incoShort = $value; } }