<?php

namespace NoahVet\Reef\Jane\Model;

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

    /**
     * @var bool
     */
    protected $isAnonymous;

    /**
     * @var string|null
     */
    protected $name;

    /**
     * @var string|null
     */
    protected $passportNumber;

    /**
     * @var V1PetsPostBodyTattoo|null
     */
    protected $tattoo;

    /**
     * Id - Common Request Model.
     *
     * @var V1PetsPostBodySpecie
     */
    protected $specie;

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

    public function getIsAnonymous(): bool
    {
        return $this->isAnonymous;
    }

    public function setIsAnonymous(bool $isAnonymous): self
    {
        $this->initialized['isAnonymous'] = true;
        $this->isAnonymous = $isAnonymous;

        return $this;
    }

    public function getName(): ?string
    {
        return $this->name;
    }

    public function setName(?string $name): self
    {
        $this->initialized['name'] = true;
        $this->name = $name;

        return $this;
    }

    public function getPassportNumber(): ?string
    {
        return $this->passportNumber;
    }

    public function setPassportNumber(?string $passportNumber): self
    {
        $this->initialized['passportNumber'] = true;
        $this->passportNumber = $passportNumber;

        return $this;
    }

    public function getTattoo(): ?V1PetsPostBodyTattoo
    {
        return $this->tattoo;
    }

    public function setTattoo(?V1PetsPostBodyTattoo $tattoo): self
    {
        $this->initialized['tattoo'] = true;
        $this->tattoo = $tattoo;

        return $this;
    }

    /**
     * Id - Common Request Model.
     */
    public function getSpecie(): V1PetsPostBodySpecie
    {
        return $this->specie;
    }

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

        return $this;
    }
}
