public class CloudStorageApi extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloudStorageApi.GetProviderOptions |
class |
CloudStorageApi.ListFoldersOptions |
class |
CloudStorageApi.ListOptions |
class |
CloudStorageApi.ListProvidersOptions |
Constructor and Description |
---|
CloudStorageApi() |
CloudStorageApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
CloudStorageProviders |
createProvider(String accountId,
String userId,
CloudStorageProviders cloudStorageProviders)
Configures the redirect URL information for one or more cloud storage providers for the specified user.
|
CloudStorageProviders |
deleteProvider(String accountId,
String userId,
String serviceId)
Deletes the user authentication information for the specified cloud storage provider.
|
CloudStorageProviders |
deleteProviders(String accountId,
String userId,
CloudStorageProviders cloudStorageProviders)
Deletes the user authentication information for one or more cloud storage providers.
|
ApiClient |
getApiClient() |
CloudStorageProviders |
getProvider(String accountId,
String userId,
String serviceId)
Gets the specified Cloud Storage Provider configuration for the User.
|
CloudStorageProviders |
getProvider(String accountId,
String userId,
String serviceId,
CloudStorageApi.GetProviderOptions options)
Gets the specified Cloud Storage Provider configuration for the User.
|
ExternalFolder |
list(String accountId,
String userId,
String serviceId,
String folderId)
Gets a list of all the items from the specified cloud storage provider.
|
ExternalFolder |
list(String accountId,
String userId,
String serviceId,
String folderId,
CloudStorageApi.ListOptions options)
Gets a list of all the items from the specified cloud storage provider.
|
ExternalFolder |
listFolders(String accountId,
String userId,
String serviceId)
Retrieves a list of all the items in a specified folder from the specified cloud storage provider.
|
ExternalFolder |
listFolders(String accountId,
String userId,
String serviceId,
CloudStorageApi.ListFoldersOptions options)
Retrieves a list of all the items in a specified folder from the specified cloud storage provider.
|
CloudStorageProviders |
listProviders(String accountId,
String userId)
Get the Cloud Storage Provider configuration for the specified user.
|
CloudStorageProviders |
listProviders(String accountId,
String userId,
CloudStorageApi.ListProvidersOptions options)
Get the Cloud Storage Provider configuration for the specified user.
|
void |
setApiClient(ApiClient apiClient) |
public CloudStorageApi()
public CloudStorageApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public CloudStorageProviders createProvider(String accountId, String userId, CloudStorageProviders cloudStorageProviders) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)cloudStorageProviders
- (optional)ApiException
- if fails to make API callpublic CloudStorageProviders deleteProvider(String accountId, String userId, String serviceId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)serviceId
- The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required)ApiException
- if fails to make API callpublic CloudStorageProviders deleteProviders(String accountId, String userId, CloudStorageProviders cloudStorageProviders) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)cloudStorageProviders
- (optional)ApiException
- if fails to make API callpublic CloudStorageProviders getProvider(String accountId, String userId, String serviceId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)serviceId
- The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required)ApiException
public CloudStorageProviders getProvider(String accountId, String userId, String serviceId, CloudStorageApi.GetProviderOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)serviceId
- The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic ExternalFolder list(String accountId, String userId, String serviceId, String folderId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)serviceId
- The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required)folderId
- The ID of the folder being accessed. (required)ApiException
public ExternalFolder list(String accountId, String userId, String serviceId, String folderId, CloudStorageApi.ListOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)serviceId
- The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required)folderId
- The ID of the folder being accessed. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic ExternalFolder listFolders(String accountId, String userId, String serviceId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)serviceId
- The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required)ApiException
public ExternalFolder listFolders(String accountId, String userId, String serviceId, CloudStorageApi.ListFoldersOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)serviceId
- The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic CloudStorageProviders listProviders(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)ApiException
public CloudStorageProviders listProviders(String accountId, String userId, CloudStorageApi.ListProvidersOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userId
- The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callCopyright © 2020. All rights reserved.