public class DbxUserUsersRequests
extends java.lang.Object
| Constructor and Description |
|---|
DbxUserUsersRequests(DbxRawClientV2 client) |
| Modifier and Type | Method and Description |
|---|---|
UserFeaturesGetValuesBatchResult |
featuresGetValues(java.util.List<UserFeature> features)
Get a list of feature values that may be configured for the current
account.
|
BasicAccount |
getAccount(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.
|
FullAccount |
getCurrentAccount()
Get information about the current user's account.
|
SpaceUsage |
getSpaceUsage()
Get the space usage information for the current user's account.
|
public DbxUserUsersRequests(DbxRawClientV2 client)
public UserFeaturesGetValuesBatchResult featuresGetValues(java.util.List<UserFeature> features) throws UserFeaturesGetValuesBatchErrorException, DbxException
features - A list of features in UserFeature. If the list
is empty, this route will return UserFeaturesGetValuesBatchError. Must not contain a null
item and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.UserFeaturesGetValuesBatchErrorExceptionDbxExceptionpublic BasicAccount getAccount(java.lang.String accountId) throws GetAccountErrorException, DbxException
accountId - A user's account identifier. Must have length of at
least 40, have length of at most 40, and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.GetAccountErrorExceptionDbxExceptionpublic java.util.List<BasicAccount> getAccountBatch(java.util.List<java.lang.String> accountIds) throws GetAccountBatchErrorException, DbxException
accountIds - List of user account identifiers. Should not contain
any duplicate account IDs. Must contain at least 1 items, not contain
a null item, and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.GetAccountBatchErrorExceptionDbxExceptionpublic FullAccount getCurrentAccount() throws DbxApiException, DbxException
DbxApiExceptionDbxExceptionpublic SpaceUsage getSpaceUsage() throws DbxApiException, DbxException
DbxApiExceptionDbxException