<?php

namespace PPLCZVendor\Jane\Component\OpenApi3\JsonSchema\Model;

class ClientCredentialsFlow extends \ArrayObject
{
    /**
     * 
     *
     * @var string|null
     */
    protected $tokenUrl;
    /**
     * 
     *
     * @var string|null
     */
    protected $refreshUrl;
    /**
     * 
     *
     * @var string[]|null
     */
    protected $scopes;
    /**
     * 
     *
     * @return string|null
     */
    public function getTokenUrl() : ?string
    {
        return $this->tokenUrl;
    }
    /**
     * 
     *
     * @param string|null $tokenUrl
     *
     * @return self
     */
    public function setTokenUrl(?string $tokenUrl) : self
    {
        $this->tokenUrl = $tokenUrl;
        return $this;
    }
    /**
     * 
     *
     * @return string|null
     */
    public function getRefreshUrl() : ?string
    {
        return $this->refreshUrl;
    }
    /**
     * 
     *
     * @param string|null $refreshUrl
     *
     * @return self
     */
    public function setRefreshUrl(?string $refreshUrl) : self
    {
        $this->refreshUrl = $refreshUrl;
        return $this;
    }
    /**
     * 
     *
     * @return string[]|null
     */
    public function getScopes() : ?iterable
    {
        return $this->scopes;
    }
    /**
     * 
     *
     * @param string[]|null $scopes
     *
     * @return self
     */
    public function setScopes(?iterable $scopes) : self
    {
        $this->scopes = $scopes;
        return $this;
    }
}
