<?php

declare(strict_types=1);

namespace NoahVet\Reef\Jane\Model;

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

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

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

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

    /**
     * @var V1PetBreedExternalRefsGetResponse200ItemCoveredLocales
     */
    protected $coveredLocales;

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

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

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

    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;
    }

    public function getCoveredLocales(): V1PetBreedExternalRefsGetResponse200ItemCoveredLocales
    {
        return $this->coveredLocales;
    }

    public function setCoveredLocales(V1PetBreedExternalRefsGetResponse200ItemCoveredLocales $coveredLocales): self
    {
        $this->initialized['coveredLocales'] = true;
        $this->coveredLocales = $coveredLocales;

        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 getResearchWeight(): int
    {
        return $this->researchWeight;
    }

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

        return $this;
    }

    public function getType(): string
    {
        return $this->type;
    }

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

        return $this;
    }
}
