<?php

namespace PPLCZ\Model\Model;

class MyApi2 extends \ArrayObject
{
    /**
     * @var array
     */
    protected $initialized = array();
    public function isInitialized($property) : bool
    {
        return array_key_exists($property, $this->initialized);
    }
    /**
     * 
     *
     * @var string|null
     */
    protected $clientId;
    /**
     * 
     *
     * @var string|null
     */
    protected $clientSecret;
    /**
     * 
     *
     * @return string|null
     */
    public function getClientId() : ?string
    {
        return $this->clientId;
    }
    /**
     * 
     *
     * @param string|null $clientId
     *
     * @return self
     */
    public function setClientId(?string $clientId) : self
    {
        $this->initialized['clientId'] = true;
        $this->clientId = $clientId;
        return $this;
    }
    /**
     * 
     *
     * @return string|null
     */
    public function getClientSecret() : ?string
    {
        return $this->clientSecret;
    }
    /**
     * 
     *
     * @param string|null $clientSecret
     *
     * @return self
     */
    public function setClientSecret(?string $clientSecret) : self
    {
        $this->initialized['clientSecret'] = true;
        $this->clientSecret = $clientSecret;
        return $this;
    }
}