<?php

declare(strict_types=1);

namespace NoahVet\Reef\Jane\Model;

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

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

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

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

    /**
     * @var \DateTime|null
     */
    protected $birthDate;

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

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

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

    /**
     * Id - Response Model.
     *
     * @var V1PetGhostProfilesPostResponse201Pet
     */
    protected $pet;

    /**
     * Nullable Id - Response Model.
     *
     * @var V1PetGhostProfilesPostResponse201PetBreed|null
     */
    protected $petBreed;

    /**
     * Nullable Id - Response Model.
     *
     * @var V1PetGhostProfilesPostResponse201ProfilePicture|null
     */
    protected $profilePicture;

    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 getBirthDate(): ?\DateTime
    {
        return $this->birthDate;
    }

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

        return $this;
    }

    public function getFreePetBreed(): ?string
    {
        return $this->freePetBreed;
    }

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

        return $this;
    }

    public function getGender(): ?string
    {
        return $this->gender;
    }

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Id - Response Model.
     */
    public function getPet(): V1PetGhostProfilesPostResponse201Pet
    {
        return $this->pet;
    }

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Nullable Id - Response Model.
     */
    public function getProfilePicture(): ?V1PetGhostProfilesPostResponse201ProfilePicture
    {
        return $this->profilePicture;
    }

    /**
     * Nullable Id - Response Model.
     */
    public function setProfilePicture(?V1PetGhostProfilesPostResponse201ProfilePicture $profilePicture): self
    {
        $this->initialized['profilePicture'] = true;
        $this->profilePicture = $profilePicture;

        return $this;
    }
}
