<?php

namespace NoahVet\Reef\Jane\Model;

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

    /**
     * @var list<V1PetBreedsPostBodyTranslationsEnGBAliasesItem>
     */
    protected $aliases;

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

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

    /**
     * @return list<V1PetBreedsPostBodyTranslationsEnGBAliasesItem>
     */
    public function getAliases(): array
    {
        return $this->aliases;
    }

    /**
     * @param list<V1PetBreedsPostBodyTranslationsEnGBAliasesItem> $aliases
     */
    public function setAliases(array $aliases): self
    {
        $this->initialized['aliases'] = true;
        $this->aliases = $aliases;

        return $this;
    }

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

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

        return $this;
    }
}
