<?php

namespace NoahVet\Reef\Jane\Model;

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

    /**
     * @var list<OpeningPeriodRequest>|null
     */
    protected $monday;

    /**
     * @var list<OpeningPeriodRequest>|null
     */
    protected $tuesday;

    /**
     * @var list<OpeningPeriodRequest>|null
     */
    protected $wednesday;

    /**
     * @var list<OpeningPeriodRequest>|null
     */
    protected $thursday;

    /**
     * @var list<OpeningPeriodRequest>|null
     */
    protected $friday;

    /**
     * @var list<OpeningPeriodRequest>|null
     */
    protected $saturday;

    /**
     * @var list<OpeningPeriodRequest>|null
     */
    protected $sunday;

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

    /**
     * @return list<OpeningPeriodRequest>|null
     */
    public function getMonday(): ?array
    {
        return $this->monday;
    }

    /**
     * @param list<OpeningPeriodRequest>|null $monday
     */
    public function setMonday(?array $monday): self
    {
        $this->initialized['monday'] = true;
        $this->monday = $monday;

        return $this;
    }

    /**
     * @return list<OpeningPeriodRequest>|null
     */
    public function getTuesday(): ?array
    {
        return $this->tuesday;
    }

    /**
     * @param list<OpeningPeriodRequest>|null $tuesday
     */
    public function setTuesday(?array $tuesday): self
    {
        $this->initialized['tuesday'] = true;
        $this->tuesday = $tuesday;

        return $this;
    }

    /**
     * @return list<OpeningPeriodRequest>|null
     */
    public function getWednesday(): ?array
    {
        return $this->wednesday;
    }

    /**
     * @param list<OpeningPeriodRequest>|null $wednesday
     */
    public function setWednesday(?array $wednesday): self
    {
        $this->initialized['wednesday'] = true;
        $this->wednesday = $wednesday;

        return $this;
    }

    /**
     * @return list<OpeningPeriodRequest>|null
     */
    public function getThursday(): ?array
    {
        return $this->thursday;
    }

    /**
     * @param list<OpeningPeriodRequest>|null $thursday
     */
    public function setThursday(?array $thursday): self
    {
        $this->initialized['thursday'] = true;
        $this->thursday = $thursday;

        return $this;
    }

    /**
     * @return list<OpeningPeriodRequest>|null
     */
    public function getFriday(): ?array
    {
        return $this->friday;
    }

    /**
     * @param list<OpeningPeriodRequest>|null $friday
     */
    public function setFriday(?array $friday): self
    {
        $this->initialized['friday'] = true;
        $this->friday = $friday;

        return $this;
    }

    /**
     * @return list<OpeningPeriodRequest>|null
     */
    public function getSaturday(): ?array
    {
        return $this->saturday;
    }

    /**
     * @param list<OpeningPeriodRequest>|null $saturday
     */
    public function setSaturday(?array $saturday): self
    {
        $this->initialized['saturday'] = true;
        $this->saturday = $saturday;

        return $this;
    }

    /**
     * @return list<OpeningPeriodRequest>|null
     */
    public function getSunday(): ?array
    {
        return $this->sunday;
    }

    /**
     * @param list<OpeningPeriodRequest>|null $sunday
     */
    public function setSunday(?array $sunday): self
    {
        $this->initialized['sunday'] = true;
        $this->sunday = $sunday;

        return $this;
    }
}
