public class HubsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HubsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
HubsManager() |
protected |
HubsManager(HubsManager.Builder builder) |
public Authentication auth
public NetworkSession networkSession
public HubsManager()
protected HubsManager(HubsManager.Builder builder)
public HubsV2025R0 getHubsV2025R0()
public HubsV2025R0 getHubsV2025R0(GetHubsV2025R0QueryParams queryParams)
queryParams - Query parameters of getHubsV2025R0 methodpublic HubsV2025R0 getHubsV2025R0(GetHubsV2025R0Headers headers)
headers - Headers of getHubsV2025R0 methodpublic HubsV2025R0 getHubsV2025R0(GetHubsV2025R0QueryParams queryParams, GetHubsV2025R0Headers headers)
queryParams - Query parameters of getHubsV2025R0 methodheaders - Headers of getHubsV2025R0 methodpublic HubV2025R0 createHubV2025R0(HubCreateRequestV2025R0 requestBody)
requestBody - Request body of createHubV2025R0 methodpublic HubV2025R0 createHubV2025R0(HubCreateRequestV2025R0 requestBody, CreateHubV2025R0Headers headers)
requestBody - Request body of createHubV2025R0 methodheaders - Headers of createHubV2025R0 methodpublic HubsV2025R0 getEnterpriseHubsV2025R0()
Admins or Hub Co-admins of an enterprise with GCM scope can make this call.
public HubsV2025R0 getEnterpriseHubsV2025R0(GetEnterpriseHubsV2025R0QueryParams queryParams)
Admins or Hub Co-admins of an enterprise with GCM scope can make this call.
queryParams - Query parameters of getEnterpriseHubsV2025R0 methodpublic HubsV2025R0 getEnterpriseHubsV2025R0(GetEnterpriseHubsV2025R0Headers headers)
Admins or Hub Co-admins of an enterprise with GCM scope can make this call.
headers - Headers of getEnterpriseHubsV2025R0 methodpublic HubsV2025R0 getEnterpriseHubsV2025R0(GetEnterpriseHubsV2025R0QueryParams queryParams, GetEnterpriseHubsV2025R0Headers headers)
Admins or Hub Co-admins of an enterprise with GCM scope can make this call.
queryParams - Query parameters of getEnterpriseHubsV2025R0 methodheaders - Headers of getEnterpriseHubsV2025R0 methodpublic HubV2025R0 getHubByIdV2025R0(String hubId)
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"
public HubV2025R0 getHubByIdV2025R0(String hubId, GetHubByIdV2025R0Headers 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"
headers - Headers of getHubByIdV2025R0 methodpublic HubV2025R0 updateHubByIdV2025R0(String hubId, HubUpdateRequestV2025R0 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 updateHubByIdV2025R0 methodpublic HubV2025R0 updateHubByIdV2025R0(String hubId, HubUpdateRequestV2025R0 requestBody, UpdateHubByIdV2025R0Headers 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 updateHubByIdV2025R0 methodheaders - Headers of updateHubByIdV2025R0 methodpublic void deleteHubByIdV2025R0(String hubId)
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"
public void deleteHubByIdV2025R0(String hubId, DeleteHubByIdV2025R0Headers 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"
headers - Headers of deleteHubByIdV2025R0 methodpublic HubV2025R0 copyHubV2025R0(String hubId, HubCopyRequestV2025R0 requestBody)
The original Box Hub will not be modified.
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 copyHubV2025R0 methodpublic HubV2025R0 copyHubV2025R0(String hubId, HubCopyRequestV2025R0 requestBody, CopyHubV2025R0Headers headers)
The original Box Hub will not be modified.
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 copyHubV2025R0 methodheaders - Headers of copyHubV2025R0 methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()