code: public function getList(): array
      {
          $objects = $this->execute('GET', static::RESOURCE_LIST);
          $list = [];
  
          foreach ($objects as $name => $object) {
              $model = static::toModel($object);
              $list[] = $model;
          }
  
          return $list;
      }
docs: Get role list
  
  @return array