<?php

declare(strict_types=1);

namespace NoahVet\Reef\Jane\Model;

class SchemasRequiredMandateResponseFilledMandate extends \ArrayObject
{
    /**
     * @var array
     */
    protected $initialized = [];

    /**
     * @var string
     */
    protected $rum;

    /**
     * @var \DateTime|null
     */
    protected $validatedDate;

    public function isInitialized($property): bool
    {
        return \array_key_exists($property, $this->initialized);
    }

    public function getRum(): string
    {
        return $this->rum;
    }

    public function setRum(string $rum): self
    {
        $this->initialized['rum'] = true;
        $this->rum = $rum;

        return $this;
    }

    public function getValidatedDate(): ?\DateTime
    {
        return $this->validatedDate;
    }

    public function setValidatedDate(?\DateTime $validatedDate): self
    {
        $this->initialized['validatedDate'] = true;
        $this->validatedDate = $validatedDate;

        return $this;
    }
}
