code: public function getQueryData(): array
      {
          $query = parent::getQueryData();
          if (null !== $this->include) {
              $query['include'] = $this->include;
          }
          if (null !== $this->locale) {
              $query['locale'] = $this->locale;
          }
  
          return $query;
      }
docs: Returns the parameters to execute this query.
  
  @return array