text: <?php
  
  declare(strict_types=1);
  
  /*
   * This file has been auto generated by Jane,
   *
   * Do no edit it directly.
   */
  
  namespace Jane\OpenApi2\JsonSchema\Model;
  
  class Oauth2AccessCodeSecurity extends \ArrayObject
  {
      /**
       * @var string|null
       */
      protected $type;
      /**
       * @var string|null
       */
      protected $flow;
      /**
       * @var string[]|null
       */
      protected $scopes;
      /**
       * @var string|null
       */
      protected $authorizationUrl;
      /**
       * @var string|null
       */
      protected $tokenUrl;
      /**
       * @var string|null
       */
      protected $description;
  
      /**
       * @return string|null
       */
      public function getType(): ?string
      {
          return $this->type;
      }
  
      /**
       * @param string|null $type
       *
       * @return self
       */
      public function setType(?string $type): self
      {
          $this->type = $type;
  
          return $this;
      }
  
      /**
       * @return string|null
       */
      public function getFlow(): ?string
      {
          return $this->flow;
      }
  
      /**
       * @param string|null $flow
       *
       * @return self
       */
      public function setFlow(?string $flow): self
      {
          $this->flow = $flow;
  
          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;
      }
  
      /**
       * @return string|null
       */
      public function getAuthorizationUrl(): ?string
      {
          return $this->authorizationUrl;
      }
  
      /**
       * @param string|null $authorizationUrl
       *
       * @return self
       */
      public function setAuthorizationUrl(?string $authorizationUrl): self
      {
          $this->authorizationUrl = $authorizationUrl;
  
          return $this;
      }
  
      /**
       * @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 getDescription(): ?string
      {
          return $this->description;
      }
  
      /**
       * @param string|null $description
       *
       * @return self
       */
      public function setDescription(?string $description): self
      {
          $this->description = $description;
  
          return $this;
      }
  }
  