<?php

namespace NoahVet\Reef\Jane\Model;

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

    /**
     * @var float
     */
    protected $lat;

    /**
     * @var float
     */
    protected $lng;

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

    public function getLat(): float
    {
        return $this->lat;
    }

    public function setLat(float $lat): self
    {
        $this->initialized['lat'] = true;
        $this->lat = $lat;

        return $this;
    }

    public function getLng(): float
    {
        return $this->lng;
    }

    public function setLng(float $lng): self
    {
        $this->initialized['lng'] = true;
        $this->lng = $lng;

        return $this;
    }
}
