<?php

namespace NoahVet\Reef\Jane\Model;

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

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

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

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

    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 getVeterinaryEstablishmentUserInvitation(): IdRequest
    {
        return $this->veterinaryEstablishmentUserInvitation;
    }

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

        return $this;
    }
}
