<?php

namespace NoahVet\Reef\Jane\Model;

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

    /**
     * @var list<IdRequest>
     */
    protected $veterinaryEstablishmentServiceSubscriptions;

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

    /**
     * @return list<IdRequest>
     */
    public function getVeterinaryEstablishmentServiceSubscriptions(): array
    {
        return $this->veterinaryEstablishmentServiceSubscriptions;
    }

    /**
     * @param list<IdRequest> $veterinaryEstablishmentServiceSubscriptions
     */
    public function setVeterinaryEstablishmentServiceSubscriptions(array $veterinaryEstablishmentServiceSubscriptions): self
    {
        $this->initialized['veterinaryEstablishmentServiceSubscriptions'] = true;
        $this->veterinaryEstablishmentServiceSubscriptions = $veterinaryEstablishmentServiceSubscriptions;

        return $this;
    }
}
