Returns the set of accounts.
@param partnerId The id of the partner for the accounts
@return The set of accounts
346100
public Collection<PartnerAccount> list(long partnerId)
    {
        return HTTP.GET(String.format("/v2/partners/%d/accounts", partnerId), PARTNER_ACCOUNTS).get();
    }
501171
public function getLists($accountId, array $parameters = [], array $headers = [])
    {
        $data  = $this->getApi()->getLists($accountId, $parameters, $headers);

        return $this->getFactory()->createResultCollection($data, 'createListItem');
    }
1309811
def get_account(self, account_id, **params):
        """"""
        response = self._get('v2', 'accounts', account_id, params=params)
        return self._make_api_object(response, Account)
162342
public Collection<C> getAll(Collection<String> ids){
		Set<C> list = new LinkedHashSet<C>();

		for(String id : ids){
			C container = get(id);

			if(container != null){
				list.add(container);
			}
		}

		return list;
	}
1285059
public Optional<PartnerAccount> show(long partnerId, long accountId)
    {
        return HTTP.GET(String.format("/v2/partners/%d/accounts/%d", partnerId, accountId), PARTNER_ACCOUNT);
    }
515862
public List<ORecordOperation> getRecordEntriesByClusterIds(final int[] iIds) {
    final List<ORecordOperation> result = new ArrayList<ORecordOperation>();

    if (iIds == null)
      // RETURN ALL THE RECORDS
      for (ORecordOperation entry : recordEntries.values()) {
        result.add(entry);
      }
    else
      // FILTER RECORDS BY ID
      for (ORecordOperation entry : recordEntries.values()) {
        for (int id : iIds) {
          if (entry.getRecord() != null && entry.getRecord().getIdentity().getClusterId() == id) {
            result.add(entry);
            break;
          }
        }
      }

    return result;
  }
992351
function getAccountStoreModel(accountStore) {
  var provider = accountStore.provider;

  return {
    href: accountStore.href,
    name: accountStore.name,
    provider: {
      href: provider.href,
      providerId: provider.providerId,
      callbackUri: provider.callbackUri,
      clientId: provider.clientId
    }
  };
}
174154
public UUID getAccountId(final UUID objectId, final ObjectType objectType, final TenantContext context) {
        final Long accountRecordId = getAccountRecordIdSafe(objectId, objectType, context);
        if (accountRecordId != null) {
            return nonEntityDao.retrieveIdFromObject(accountRecordId, ObjectType.ACCOUNT, objectIdCacheController);
        } else {
            return null;
        }
    }
1293815
public function bankAccountsByPartnerId($partner_id_customer)
    {
        return $this->performRequest(
            self::METHOD_POST,
            sprintf('/api/reseller/v%d/bankaccounts', self::API_VERSION),
            ["partner_id_customer" => $partner_id_customer]
        );
    }
656757
public Optional<PartnerSubscription> show(long partnerId, long accountId, long subscriptionId)
    {
        return HTTP.GET(String.format("/v2/partners/%d/accounts/%d/subscriptions/%d", partnerId, accountId, subscriptionId), PARTNER_SUBSCRIPTION);
    }
19647
def accounts(self):
        """"""
        return account.HPEAccountCollection(
            self._conn, utils.get_subresource_path_by(self, 'Accounts'),
            redfish_version=self.redfish_version)
171792
public Accounts getChildAccounts(final String accountCode) {
        return doGET(Account.ACCOUNT_RESOURCE + "/" + accountCode + "/child_accounts", Accounts.class, new QueryParams());
    }
648091
def get_accounts_for_service(cls, service_type):
        
        return [
            a for a in cls.get_accounts().values()
            if a.service_type == service_type
        ]
974631
public Set<BeanId> getIds() {
        Set<BeanId> ids = new HashSet<>();
        ids.addAll(beansQuery);
        ids.addAll(beans.keySet());
        return ids;
    }
252245
public AbucoinsAccount[] getAbucoinsAccounts() throws IOException {
    AbucoinsAccounts accounts =
        abucoinsAuthenticated.getAccounts(
            exchange.getExchangeSpecification().getApiKey(),
            signatureCreator,
            exchange.getExchangeSpecification().getPassword(),
            timestamp());

    if (accounts.getAccounts().length == 1 && accounts.getAccounts()[0].getMessage() != null)
      throw new ExchangeException(accounts.getAccounts()[0].getMessage());
    return accounts.getAccounts();
  }
1279145
@GET
    @Path("/guid/{guid}")
    @Consumes(Servlets.JSON_MEDIA_TYPE)
    @Produces(Servlets.JSON_MEDIA_TYPE)
    public AtlasRelationship getById(@PathParam("guid") String guid) throws AtlasBaseException {
        AtlasPerfTracer perf = null;

        try {
            if (AtlasPerfTracer.isPerfTraceEnabled(PERF_LOG)) {
                perf = AtlasPerfTracer.getPerfTracer(PERF_LOG, "RelationshipREST.getById(" + guid + ")");
            }

            return relationshipStore.getById(guid);

        } finally {
            AtlasPerfTracer.log(perf);
        }
    }
1093602
public Set<String> getRepositoriesForGroupMembership(String repositoryId) throws WIMException {
        RepositoryWrapper repositoryHolder = repositories.get(repositoryId);
        if (repositoryHolder != null) {
            return repositoryHolder.getRepositoryGroups();
        }
        return null;
    }