Get all the accounts that belongs to the api key's owner.

 @return [Array<QuestionproRails::Account>] Accounts.
498940
def get_all_accounts
      url = ApiRequest.base_path("questionpro.survey.getAllAccounts")
      result = self.class.get(url, body: self.options)

      self.full_response = result
      self.status = result['status']
      
      accounts = []
      result_accounts = result['response']['accounts']
      result_accounts.each do |account|
        accounts.push(Account.new(account))
      end
      
      return accounts
    end
294533
def get_addresses(self, account_id, **params):
        """"""
        response = self._get('v2', 'accounts', account_id, 'addresses', params=params)
        return self._make_api_object(response, Address)
346100
public Collection<PartnerAccount> list(long partnerId)
    {
        return HTTP.GET(String.format("/v2/partners/%d/accounts", partnerId), PARTNER_ACCOUNTS).get();
    }
1125186
def find_all_by_type(account_type)
        raise AccountsListNotLoadedError unless loaded?
        @accounts.inject([]) do | list, account |
          list << account if account.type == account_type
          list
        end
      end
757071
def get_keys(self):
        
        return github.PaginatedList.PaginatedList(
            github.UserKey.UserKey,
            self._requester,
            self.url + "/keys",
            None
        )
112657
def get_owned_by(cls, username, api=None):
        
        api = api if api else cls._API

        return super(Dataset, cls)._query(
            url=cls._URL['owned_by'].format(username=username),
            fields='_all',
            api=api
        )
791075
@RequestMapping(value = "actions", method = RequestMethod.GET)
    public Resources<Action> getAccountMgtActions() {
        return Resources.of(
                extensionManager.getExtensions(AccountMgtActionExtension.class).stream()
                        .map(this::resolveExtensionAction)
                        .filter(action -> action != null),
                uri(on(AccountController.class).getAccountMgtActions())
        );
    }
291378
public List<CmsAccountInfo> getAccountInfos() {

        if (m_accountInfos == null) {
            return Collections.unmodifiableList(Arrays.asList(DEFAULT_ACCOUNT_INFOS));
        } else {
            return Collections.unmodifiableList(m_accountInfos);
        }
    }
418168
def accounts(self, id=None):
        
        return Account.load(self, id) if id else Account.all(self)
410623
def get_by_owner(cls, owner):
        
        return cls.query(cls.owner==cls._get_key(owner))
1053981
public function getAccounts()
    {
        $dialog = $this->getDialog();
        $result = $dialog->syncDialog();
        $this->bankName = $dialog->getBankName();
        $accounts = new GetAccounts($result);

        return $accounts->getAccountsArray();
    }
766972
def list_accounts(self):
        """"""

        account = self.client['Account']
        mask = 'cdnAccounts[%s]' % ', '.join(['id',
                                              'createDate',
                                              'cdnAccountName',
                                              'cdnSolutionName',
                                              'cdnAccountNote',
                                              'status'])
        return account.getObject(mask=mask).get('cdnAccounts', [])
140271
public function getAccounts()
    {
        $accounts = [];
        $groups   = $this->rpc->query("listAccounts", [0]);
        foreach($groups as $account => $balance) {
            $accounts[] = $account;
        }
        
        return $accounts;
    }
468566
public function getAccounts()
    {
        $resource = 'accounts';

        $response = $this->sendGetRequest($resource);
        $accountsResponse = new Models\GetAccountsResponse($response);
        return $accountsResponse->getAccounts();
    }
327532
def get_all_project_owners(project_ids=None, **kwargs):
    


    projowner_qry = db.DBSession.query(ProjectOwner)

    if project_ids is not None:
       projowner_qry = projowner_qry.filter(ProjectOwner.project_id.in_(project_ids))

    project_owners_i = projowner_qry.all()

    return [JSONObject(project_owner_i) for project_owner_i in project_owners_i]
273902
def get_all_accounts(self):
        """"""
        for address_hash, rlpdata in self.secure_trie.trie.iter_branch():
            if rlpdata != trie.BLANK_NODE:
                yield rlp.decode(rlpdata, Account, db=self.db, addr=address_hash)
550058
private Collection getOwnerObjects()
    {
        Collection owners = new Vector();
        while (hasNext())
        {
            owners.add(next());
        }
        return owners;
    }