code: def iterate(self, name=None):
          
          if not self._iter_local:
              params = dict()
              if name is not None:
                  params['name'] = name
  
              url = self.resource()
              resp = self._client.get(url, params=params)
  
              Roles.parse(self._client, resp, obj=self)
  
          for role in self.roles:
              yield role
docs: :return: