Package com.dropbox.core.v2.users
Class DbxUserUsersRequests
- java.lang.Object
- 
- com.dropbox.core.v2.users.DbxUserUsersRequests
 
- 
 public class DbxUserUsersRequests extends java.lang.ObjectRoutes in namespace "users".
- 
- 
Constructor SummaryConstructors Constructor Description DbxUserUsersRequests(DbxRawClientV2 client)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UserFeaturesGetValuesBatchResultfeaturesGetValues(java.util.List<UserFeature> features)Get a list of feature values that may be configured for the current account.BasicAccountgetAccount(java.lang.String accountId)Get information about a user's account.java.util.List<BasicAccount>getAccountBatch(java.util.List<java.lang.String> accountIds)Get information about multiple user accounts.FullAccountgetCurrentAccount()Get information about the current user's account.SpaceUsagegetSpaceUsage()Get the space usage information for the current user's account.
 
- 
- 
- 
Constructor Detail- 
DbxUserUsersRequestspublic DbxUserUsersRequests(DbxRawClientV2 client) 
 
- 
 - 
Method Detail- 
featuresGetValuespublic UserFeaturesGetValuesBatchResult featuresGetValues(java.util.List<UserFeature> features) throws UserFeaturesGetValuesBatchErrorException, DbxException Get a list of feature values that may be configured for the current account.- Parameters:
- features- A list of features in- UserFeature. If the list is empty, this route will return- UserFeaturesGetValuesBatchError. Must not contain a- nullitem and not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
- UserFeaturesGetValuesBatchErrorException
- DbxException
 
 - 
getAccountpublic BasicAccount getAccount(java.lang.String accountId) throws GetAccountErrorException, DbxException Get information about a user's account.- Parameters:
- accountId- A user's account identifier. Must have length of at least 40, have length of at most 40, and not be- null.
- Returns:
- Basic information about any account.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
- GetAccountErrorException
- DbxException
 
 - 
getAccountBatchpublic java.util.List<BasicAccount> getAccountBatch(java.util.List<java.lang.String> accountIds) throws GetAccountBatchErrorException, DbxException Get information about multiple user accounts. At most 300 accounts may be queried per request.- Parameters:
- accountIds- List of user account identifiers. Should not contain any duplicate account IDs. Must contain at least 1 items, not contain a- nullitem, and not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
- GetAccountBatchErrorException
- DbxException
 
 - 
getCurrentAccountpublic FullAccount getCurrentAccount() throws DbxApiException, DbxException Get information about the current user's account.- Returns:
- Detailed information about the current user's account.
- Throws:
- DbxApiException
- DbxException
 
 - 
getSpaceUsagepublic SpaceUsage getSpaceUsage() throws DbxApiException, DbxException Get the space usage information for the current user's account.- Returns:
- Information about a user's space usage and quota.
- Throws:
- DbxApiException
- DbxException
 
 
- 
 
-