new ShieldInformationBarrierSegmentRestrictionsManager(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.ShieldInformationBarrierSegmentRestriction>}
Create shield information barrier segment restriction
Creates a shield information barrier
segment restriction object.
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.ShieldInformationBarrierSegmentRestriction>
create(body, optionsopt, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegmentRestriction>}
Create shield information barrier segment restriction
Creates a shield information barrier
segment restriction object.
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.ShieldInformationBarrierSegmentRestriction>
deleteById(options, callbackopt) → {Promise.<void>}
Delete shield information barrier segment restriction by ID
Delete shield information barrier segment restriction
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 restriction by ID
Delete shield information barrier segment restriction
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.ShieldInformationBarrierSegmentRestrictions>}
List shield information barrier segment restrictions
Lists shield information barrier segment restrictions
based on provided segment 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.ShieldInformationBarrierSegmentRestrictions>
getAll(options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegmentRestrictions>}
List shield information barrier segment restrictions
Lists shield information barrier segment restrictions
based on provided segment 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.ShieldInformationBarrierSegmentRestrictions>
getById(options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegmentRestriction>}
Get shield information barrier segment restriction by ID
Retrieves a shield information barrier segment
restriction 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.ShieldInformationBarrierSegmentRestriction>
getById(options, callbackopt) → {Promise.<schemas.ShieldInformationBarrierSegmentRestriction>}
Get shield information barrier segment restriction by ID
Retrieves a shield information barrier segment
restriction 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.ShieldInformationBarrierSegmentRestriction>