<?php

declare(strict_types=1);

namespace NoahVet\Reef\Jane\Model;

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

    /**
     * @var int
     */
    protected $emailTemplateNumber;

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

    /**
     * Id - Common Request Model.
     *
     * @var IdRequest
     */
    protected $veterinaryGroupUserInvitation;

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

    public function getEmailTemplateNumber(): int
    {
        return $this->emailTemplateNumber;
    }

    public function setEmailTemplateNumber(int $emailTemplateNumber): self
    {
        $this->initialized['emailTemplateNumber'] = true;
        $this->emailTemplateNumber = $emailTemplateNumber;

        return $this;
    }

    public function getStatus(): string
    {
        return $this->status;
    }

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

        return $this;
    }

    /**
     * Id - Common Request Model.
     */
    public function getVeterinaryGroupUserInvitation(): IdRequest
    {
        return $this->veterinaryGroupUserInvitation;
    }

    /**
     * Id - Common Request Model.
     */
    public function setVeterinaryGroupUserInvitation(IdRequest $veterinaryGroupUserInvitation): self
    {
        $this->initialized['veterinaryGroupUserInvitation'] = true;
        $this->veterinaryGroupUserInvitation = $veterinaryGroupUserInvitation;

        return $this;
    }
}
