<?php

declare(strict_types=1);

namespace NoahVet\Reef\Jane\Model;

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

    /**
     * Id - Common Request Model.
     *
     * @var V1PetBreedLabellingsPostBodyPetBreed
     */
    protected $petBreed;

    /**
     * Id - Common Request Model.
     *
     * @var V1PetBreedLabellingsPostBodyTag
     */
    protected $tag;

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

    /**
     * Id - Common Request Model.
     */
    public function getPetBreed(): V1PetBreedLabellingsPostBodyPetBreed
    {
        return $this->petBreed;
    }

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

        return $this;
    }

    /**
     * Id - Common Request Model.
     */
    public function getTag(): V1PetBreedLabellingsPostBodyTag
    {
        return $this->tag;
    }

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

        return $this;
    }
}
