new ShieldInformationBarrierSegmentsManager(client)
Parameters:
Name | Type | Description |
---|---|---|
client |
BoxClient | The Box API Client that is responsible for making calls to the API |
Classes
Methods
create(body, optionsopt, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegment>}
Create shield information barrier segment
Creates a shield information barrier segment.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
body |
object | ||
options |
object |
<optional> |
Options for the request |
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<schemas.ShieldInformationBarrierSegment>
create(body, optionsopt, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegment>}
Create shield information barrier segment
Creates a shield information barrier segment.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
body |
object | ||
options |
object |
<optional> |
Options for the request |
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<schemas.ShieldInformationBarrierSegment>
deleteById(options, callbackopt) → {Promise.<void>}
Delete shield information barrier segment
Deletes the shield information barrier segment
based on provided ID.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
options |
object | Options for the request
Properties
|
|||||||
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<void>
deleteById(options, callbackopt) → {Promise.<void>}
Delete shield information barrier segment
Deletes the shield information barrier segment
based on provided ID.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
options |
object | Options for the request
Properties
|
|||||||
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<void>
getAll(options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegments>}
List shield information barrier segments
Retrieves a list of shield information barrier segment objects
for the specified Information Barrier ID.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | Options for the request
Properties
|
|||||||||||||||||
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<schemas.ShieldInformationBarrierSegments>
getAll(options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegments>}
List shield information barrier segments
Retrieves a list of shield information barrier segment objects
for the specified Information Barrier ID.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | Options for the request
Properties
|
|||||||||||||||||
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<schemas.ShieldInformationBarrierSegments>
getById(options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegment>}
Get shield information barrier segment with specified ID
Retrieves shield information barrier segment based on provided ID..
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
options |
object | Options for the request
Properties
|
|||||||
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<schemas.ShieldInformationBarrierSegment>
getById(options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegment>}
Get shield information barrier segment with specified ID
Retrieves shield information barrier segment based on provided ID..
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
options |
object | Options for the request
Properties
|
|||||||
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<schemas.ShieldInformationBarrierSegment>
update(body, options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegment>}
Update shield information barrier segment with specified ID
Updates the shield information barrier segment based on provided ID..
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
body |
object | ||||||||
options |
object | Options for the request
Properties
|
|||||||
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<schemas.ShieldInformationBarrierSegment>
update(body, options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegment>}
Update shield information barrier segment with specified ID
Updates the shield information barrier segment based on provided ID..
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
body |
object | ||||||||
options |
object | Options for the request
Properties
|
|||||||
callback |
function |
<optional> |
Passed the result if successful, error otherwise |
Returns:
A promise resolving to the result or rejecting with an error
- Type
- Promise.<schemas.ShieldInformationBarrierSegment>