|null Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ private ?array $additionalData = null; /** * @var string|null The instructions property */ private ?string $instructions = null; /** * Instantiates a new IncoStorageCondition and sets the default values. */ public function __construct() { $this->setAdditionalData([]); } /** * Creates a new instance of the appropriate class based on discriminator value * * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object */ public static function createFromDiscriminatorValue(ParseNode $parseNode): IncoStorageCondition { return new IncoStorageCondition(); } /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * * @return array|null */ public function getAdditionalData(): ?array { return $this->additionalData; } /** * The deserialization information for the current model * * @return array */ public function getFieldDeserializers(): array { $o = $this; return [ 'instructions' => fn (ParseNode $n) => $o->setInstructions($n->getStringValue()), ]; } /** * Gets the instructions property value. The instructions property */ public function getInstructions(): ?string { return $this->instructions; } /** * Serializes information the current object * * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('instructions', $this->getInstructions()); $writer->writeAdditionalData($this->getAdditionalData()); } /** * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * * @param array $value Value to set for the AdditionalData property. */ public function setAdditionalData(?array $value): void { $this->additionalData = $value; } /** * Sets the instructions property value. The instructions property * * @param string|null $value Value to set for the instructions property. */ public function setInstructions(?string $value): void { $this->instructions = $value; } }