<?php

declare(strict_types=1);

namespace NoahVet\Reef\Jane\Model;

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

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

    /**
     * @var \DateTime
     */
    protected $createdDate;

    /**
     * @var \DateTime
     */
    protected $updatedDate;

    /**
     * Id - Response Model.
     *
     * @var V1PetBreedLabellingsGetResponse200ItemPetBreed
     */
    protected $petBreed;

    /**
     * Id - Response Model.
     *
     * @var V1PetBreedLabellingsGetResponse200ItemTag
     */
    protected $tag;

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

    public function getId(): string
    {
        return $this->id;
    }

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

        return $this;
    }

    public function getCreatedDate(): \DateTime
    {
        return $this->createdDate;
    }

    public function setCreatedDate(\DateTime $createdDate): self
    {
        $this->initialized['createdDate'] = true;
        $this->createdDate = $createdDate;

        return $this;
    }

    public function getUpdatedDate(): \DateTime
    {
        return $this->updatedDate;
    }

    public function setUpdatedDate(\DateTime $updatedDate): self
    {
        $this->initialized['updatedDate'] = true;
        $this->updatedDate = $updatedDate;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }
}
