public class SkillsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SkillsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
SkillsManager() |
protected |
SkillsManager(SkillsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
SkillCardsMetadata |
createBoxSkillCardsOnFile(String fileId,
CreateBoxSkillCardsOnFileRequestBody requestBody)
Applies one or more Box Skills metadata cards to a file.
|
SkillCardsMetadata |
createBoxSkillCardsOnFile(String fileId,
CreateBoxSkillCardsOnFileRequestBody requestBody,
CreateBoxSkillCardsOnFileHeaders headers)
Applies one or more Box Skills metadata cards to a file.
|
void |
deleteBoxSkillCardsFromFile(String fileId)
Removes any Box Skills cards metadata from a file.
|
void |
deleteBoxSkillCardsFromFile(String fileId,
DeleteBoxSkillCardsFromFileHeaders headers)
Removes any Box Skills cards metadata from a file.
|
Authentication |
getAuth() |
SkillCardsMetadata |
getBoxSkillCardsOnFile(String fileId)
List the Box Skills metadata cards that are attached to a file.
|
SkillCardsMetadata |
getBoxSkillCardsOnFile(String fileId,
GetBoxSkillCardsOnFileHeaders headers)
List the Box Skills metadata cards that are attached to a file.
|
NetworkSession |
getNetworkSession() |
void |
updateAllSkillCardsOnFile(String skillId,
UpdateAllSkillCardsOnFileRequestBody requestBody)
An alternative method that can be used to overwrite and update all Box Skill metadata cards on
a file.
|
void |
updateAllSkillCardsOnFile(String skillId,
UpdateAllSkillCardsOnFileRequestBody requestBody,
UpdateAllSkillCardsOnFileHeaders headers)
An alternative method that can be used to overwrite and update all Box Skill metadata cards on
a file.
|
SkillCardsMetadata |
updateBoxSkillCardsOnFile(String fileId,
List<UpdateBoxSkillCardsOnFileRequestBody> requestBody)
Updates one or more Box Skills metadata cards to a file.
|
SkillCardsMetadata |
updateBoxSkillCardsOnFile(String fileId,
List<UpdateBoxSkillCardsOnFileRequestBody> requestBody,
UpdateBoxSkillCardsOnFileHeaders headers)
Updates one or more Box Skills metadata cards to a file.
|
public Authentication auth
public NetworkSession networkSession
public SkillsManager()
protected SkillsManager(SkillsManager.Builder builder)
public SkillCardsMetadata getBoxSkillCardsOnFile(String fileId)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
public SkillCardsMetadata getBoxSkillCardsOnFile(String fileId, GetBoxSkillCardsOnFileHeaders headers)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
headers - Headers of getBoxSkillCardsOnFile methodpublic SkillCardsMetadata createBoxSkillCardsOnFile(String fileId, CreateBoxSkillCardsOnFileRequestBody requestBody)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
requestBody - Request body of createBoxSkillCardsOnFile methodpublic SkillCardsMetadata createBoxSkillCardsOnFile(String fileId, CreateBoxSkillCardsOnFileRequestBody requestBody, CreateBoxSkillCardsOnFileHeaders headers)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
requestBody - Request body of createBoxSkillCardsOnFile methodheaders - Headers of createBoxSkillCardsOnFile methodpublic SkillCardsMetadata updateBoxSkillCardsOnFile(String fileId, List<UpdateBoxSkillCardsOnFileRequestBody> requestBody)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
requestBody - Request body of updateBoxSkillCardsOnFile methodpublic SkillCardsMetadata updateBoxSkillCardsOnFile(String fileId, List<UpdateBoxSkillCardsOnFileRequestBody> requestBody, UpdateBoxSkillCardsOnFileHeaders headers)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
requestBody - Request body of updateBoxSkillCardsOnFile methodheaders - Headers of updateBoxSkillCardsOnFile methodpublic void deleteBoxSkillCardsFromFile(String fileId)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
public void deleteBoxSkillCardsFromFile(String fileId, DeleteBoxSkillCardsFromFileHeaders headers)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
headers - Headers of deleteBoxSkillCardsFromFile methodpublic void updateAllSkillCardsOnFile(String skillId, UpdateAllSkillCardsOnFileRequestBody requestBody)
skillId - The ID of the skill to apply this metadata for. Example: "33243242"requestBody - Request body of updateAllSkillCardsOnFile methodpublic void updateAllSkillCardsOnFile(String skillId, UpdateAllSkillCardsOnFileRequestBody requestBody, UpdateAllSkillCardsOnFileHeaders headers)
skillId - The ID of the skill to apply this metadata for. Example: "33243242"requestBody - Request body of updateAllSkillCardsOnFile methodheaders - Headers of updateAllSkillCardsOnFile methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()