public class FileVersionRetentionsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileVersionRetentionsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
FileVersionRetentionsManager() |
protected |
FileVersionRetentionsManager(FileVersionRetentionsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuth() |
FileVersionRetention |
getFileVersionRetentionById(String fileVersionRetentionId)
Returns information about a file version retention.
|
FileVersionRetention |
getFileVersionRetentionById(String fileVersionRetentionId,
GetFileVersionRetentionByIdHeaders headers)
Returns information about a file version retention.
|
FileVersionRetentions |
getFileVersionRetentions()
Retrieves all file version retentions for the given enterprise.
|
FileVersionRetentions |
getFileVersionRetentions(GetFileVersionRetentionsHeaders headers)
Retrieves all file version retentions for the given enterprise.
|
FileVersionRetentions |
getFileVersionRetentions(GetFileVersionRetentionsQueryParams queryParams)
Retrieves all file version retentions for the given enterprise.
|
FileVersionRetentions |
getFileVersionRetentions(GetFileVersionRetentionsQueryParams queryParams,
GetFileVersionRetentionsHeaders headers)
Retrieves all file version retentions for the given enterprise.
|
NetworkSession |
getNetworkSession() |
public Authentication auth
public NetworkSession networkSession
public FileVersionRetentionsManager()
protected FileVersionRetentionsManager(FileVersionRetentionsManager.Builder builder)
public FileVersionRetentions getFileVersionRetentions()
**Note**: File retention API is now **deprecated**. To get information about files and file versions under retention, see [files under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
public FileVersionRetentions getFileVersionRetentions(GetFileVersionRetentionsQueryParams queryParams)
**Note**: File retention API is now **deprecated**. To get information about files and file versions under retention, see [files under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
queryParams - Query parameters of getFileVersionRetentions methodpublic FileVersionRetentions getFileVersionRetentions(GetFileVersionRetentionsHeaders headers)
**Note**: File retention API is now **deprecated**. To get information about files and file versions under retention, see [files under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
headers - Headers of getFileVersionRetentions methodpublic FileVersionRetentions getFileVersionRetentions(GetFileVersionRetentionsQueryParams queryParams, GetFileVersionRetentionsHeaders headers)
**Note**: File retention API is now **deprecated**. To get information about files and file versions under retention, see [files under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
queryParams - Query parameters of getFileVersionRetentions methodheaders - Headers of getFileVersionRetentions methodpublic FileVersionRetention getFileVersionRetentionById(String fileVersionRetentionId)
**Note**: File retention API is now **deprecated**. To get information about files and file versions under retention, see [files under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
fileVersionRetentionId - The ID of the file version retention. Example: "3424234"public FileVersionRetention getFileVersionRetentionById(String fileVersionRetentionId, GetFileVersionRetentionByIdHeaders headers)
**Note**: File retention API is now **deprecated**. To get information about files and file versions under retention, see [files under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](https://developer.box.com/reference/get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
fileVersionRetentionId - The ID of the file version retention. Example: "3424234"headers - Headers of getFileVersionRetentionById methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()