public class HubItemsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HubItemsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
HubItemsManager() |
protected |
HubItemsManager(HubItemsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuth() |
HubItemsV2025R0 |
getHubItemsV2025R0(GetHubItemsV2025R0QueryParams queryParams)
Retrieves all items associated with a Box Hub.
|
HubItemsV2025R0 |
getHubItemsV2025R0(GetHubItemsV2025R0QueryParams queryParams,
GetHubItemsV2025R0Headers headers)
Retrieves all items associated with a Box Hub.
|
NetworkSession |
getNetworkSession() |
HubItemsManageResponseV2025R0 |
manageHubItemsV2025R0(String hubId,
HubItemsManageRequestV2025R0 requestBody)
Adds and/or removes Box Hub items from a Box Hub.
|
HubItemsManageResponseV2025R0 |
manageHubItemsV2025R0(String hubId,
HubItemsManageRequestV2025R0 requestBody,
ManageHubItemsV2025R0Headers headers)
Adds and/or removes Box Hub items from a Box Hub.
|
public Authentication auth
public NetworkSession networkSession
public HubItemsManager()
protected HubItemsManager(HubItemsManager.Builder builder)
public HubItemsV2025R0 getHubItemsV2025R0(GetHubItemsV2025R0QueryParams queryParams)
queryParams - Query parameters of getHubItemsV2025R0 methodpublic HubItemsV2025R0 getHubItemsV2025R0(GetHubItemsV2025R0QueryParams queryParams, GetHubItemsV2025R0Headers headers)
queryParams - Query parameters of getHubItemsV2025R0 methodheaders - Headers of getHubItemsV2025R0 methodpublic HubItemsManageResponseV2025R0 manageHubItemsV2025R0(String hubId, HubItemsManageRequestV2025R0 requestBody)
hubId - The unique identifier that represent a hub.
The ID for any hub can be determined by visiting this hub in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/hubs/123` the `hub_id` is `123`. Example: "12345"
requestBody - Request body of manageHubItemsV2025R0 methodpublic HubItemsManageResponseV2025R0 manageHubItemsV2025R0(String hubId, HubItemsManageRequestV2025R0 requestBody, ManageHubItemsV2025R0Headers headers)
hubId - The unique identifier that represent a hub.
The ID for any hub can be determined by visiting this hub in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/hubs/123` the `hub_id` is `123`. Example: "12345"
requestBody - Request body of manageHubItemsV2025R0 methodheaders - Headers of manageHubItemsV2025R0 methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()