public class TrashedItemsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TrashedItemsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
TrashedItemsManager() |
protected |
TrashedItemsManager(TrashedItemsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuth() |
NetworkSession |
getNetworkSession() |
Items |
getTrashedItems()
Retrieves the files and folders that have been moved to the trash.
|
Items |
getTrashedItems(GetTrashedItemsHeaders headers)
Retrieves the files and folders that have been moved to the trash.
|
Items |
getTrashedItems(GetTrashedItemsQueryParams queryParams)
Retrieves the files and folders that have been moved to the trash.
|
Items |
getTrashedItems(GetTrashedItemsQueryParams queryParams,
GetTrashedItemsHeaders headers)
Retrieves the files and folders that have been moved to the trash.
|
public Authentication auth
public NetworkSession networkSession
public TrashedItemsManager()
protected TrashedItemsManager(TrashedItemsManager.Builder builder)
public Items getTrashedItems()
Any attribute in the full files or folders objects can be passed in with the `fields` parameter to retrieve those specific attributes that are not returned by default.
This endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the `marker` parameter.
The number of entries returned may be less than `total_count`. For example, if a user deletes items from a shared folder and is later removed as a collaborator, those deleted items will no longer appear in this endpoint’s results, even though they are still included in `total_count`.
public Items getTrashedItems(GetTrashedItemsQueryParams queryParams)
Any attribute in the full files or folders objects can be passed in with the `fields` parameter to retrieve those specific attributes that are not returned by default.
This endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the `marker` parameter.
The number of entries returned may be less than `total_count`. For example, if a user deletes items from a shared folder and is later removed as a collaborator, those deleted items will no longer appear in this endpoint’s results, even though they are still included in `total_count`.
queryParams - Query parameters of getTrashedItems methodpublic Items getTrashedItems(GetTrashedItemsHeaders headers)
Any attribute in the full files or folders objects can be passed in with the `fields` parameter to retrieve those specific attributes that are not returned by default.
This endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the `marker` parameter.
The number of entries returned may be less than `total_count`. For example, if a user deletes items from a shared folder and is later removed as a collaborator, those deleted items will no longer appear in this endpoint’s results, even though they are still included in `total_count`.
headers - Headers of getTrashedItems methodpublic Items getTrashedItems(GetTrashedItemsQueryParams queryParams, GetTrashedItemsHeaders headers)
Any attribute in the full files or folders objects can be passed in with the `fields` parameter to retrieve those specific attributes that are not returned by default.
This endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the `marker` parameter.
The number of entries returned may be less than `total_count`. For example, if a user deletes items from a shared folder and is later removed as a collaborator, those deleted items will no longer appear in this endpoint’s results, even though they are still included in `total_count`.
queryParams - Query parameters of getTrashedItems methodheaders - Headers of getTrashedItems methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()