public class WorkspacesApi extends Object
Modifier and Type | Class and Description |
---|---|
class |
WorkspacesApi.GetWorkspaceFileOptions |
class |
WorkspacesApi.ListWorkspaceFilePagesOptions |
class |
WorkspacesApi.ListWorkspaceFolderItemsOptions |
Constructor and Description |
---|
WorkspacesApi() |
WorkspacesApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Workspace |
createWorkspace(String accountId,
Workspace workspace)
Create a Workspace
Creates a new workspace.
|
WorkspaceItem |
createWorkspaceFile(String accountId,
String workspaceId,
String folderId)
Creates a workspace file.
|
Workspace |
deleteWorkspace(String accountId,
String workspaceId)
Delete Workspace
Deletes an existing workspace (logically).
|
void |
deleteWorkspaceFolderItems(String accountId,
String workspaceId,
String folderId,
WorkspaceItemList workspaceItemList)
Deletes workspace one or more specific files/folders from the given folder or root.
|
ApiClient |
getApiClient() |
Workspace |
getWorkspace(String accountId,
String workspaceId)
Get Workspace
Retrives properties about a workspace given a unique workspaceId.
|
void |
getWorkspaceFile(String accountId,
String workspaceId,
String folderId,
String fileId)
Get Workspace File
Retrieves a workspace file (the binary).
|
void |
getWorkspaceFile(String accountId,
String workspaceId,
String folderId,
String fileId,
WorkspacesApi.GetWorkspaceFileOptions options)
Get Workspace File
Retrieves a workspace file (the binary).
|
PageImages |
listWorkspaceFilePages(String accountId,
String workspaceId,
String folderId,
String fileId)
List File Pages
Retrieves a workspace file as rasterized pages.
|
PageImages |
listWorkspaceFilePages(String accountId,
String workspaceId,
String folderId,
String fileId,
WorkspacesApi.ListWorkspaceFilePagesOptions options)
List File Pages
Retrieves a workspace file as rasterized pages.
|
WorkspaceFolderContents |
listWorkspaceFolderItems(String accountId,
String workspaceId,
String folderId)
List Workspace Folder Contents
Retrieves workspace folder contents, which can include sub folders and files.
|
WorkspaceFolderContents |
listWorkspaceFolderItems(String accountId,
String workspaceId,
String folderId,
WorkspacesApi.ListWorkspaceFolderItemsOptions options)
List Workspace Folder Contents
Retrieves workspace folder contents, which can include sub folders and files.
|
WorkspaceList |
listWorkspaces(String accountId)
List Workspaces
Gets information about the Workspaces that have been created.
|
void |
setApiClient(ApiClient apiClient) |
Workspace |
updateWorkspace(String accountId,
String workspaceId,
Workspace workspace)
Update Workspace
Updates information about a specific workspace.
|
WorkspaceItem |
updateWorkspaceFile(String accountId,
String workspaceId,
String folderId,
String fileId)
Update Workspace File Metadata
Updates workspace item metadata for one or more specific files/folders.
|
public WorkspacesApi()
public WorkspacesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Workspace createWorkspace(String accountId, Workspace workspace) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspace
- (optional)ApiException
- if fails to make API callpublic WorkspaceItem createWorkspaceFile(String accountId, String workspaceId, String folderId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)ApiException
- if fails to make API callpublic Workspace deleteWorkspace(String accountId, String workspaceId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)ApiException
- if fails to make API callpublic void deleteWorkspaceFolderItems(String accountId, String workspaceId, String folderId, WorkspaceItemList workspaceItemList) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)workspaceItemList
- (optional)ApiException
- if fails to make API callpublic Workspace getWorkspace(String accountId, String workspaceId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)ApiException
- if fails to make API callpublic void getWorkspaceFile(String accountId, String workspaceId, String folderId, String fileId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)fileId
- Specifies the room file ID GUID. (required)ApiException
public void getWorkspaceFile(String accountId, String workspaceId, String folderId, String fileId, WorkspacesApi.GetWorkspaceFileOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)fileId
- Specifies the room file ID GUID. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic PageImages listWorkspaceFilePages(String accountId, String workspaceId, String folderId, String fileId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)fileId
- Specifies the room file ID GUID. (required)ApiException
public PageImages listWorkspaceFilePages(String accountId, String workspaceId, String folderId, String fileId, WorkspacesApi.ListWorkspaceFilePagesOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)fileId
- Specifies the room file ID GUID. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic WorkspaceFolderContents listWorkspaceFolderItems(String accountId, String workspaceId, String folderId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)ApiException
public WorkspaceFolderContents listWorkspaceFolderItems(String accountId, String workspaceId, String folderId, WorkspacesApi.ListWorkspaceFolderItemsOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic WorkspaceList listWorkspaces(String accountId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)ApiException
- if fails to make API callpublic Workspace updateWorkspace(String accountId, String workspaceId, Workspace workspace) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)workspace
- (optional)ApiException
- if fails to make API callpublic WorkspaceItem updateWorkspaceFile(String accountId, String workspaceId, String folderId, String fileId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)workspaceId
- Specifies the workspace ID GUID. (required)folderId
- The ID of the folder being accessed. (required)fileId
- Specifies the room file ID GUID. (required)ApiException
- if fails to make API callCopyright © 2019. All rights reserved.