Class: ShieldInformationBarrierSegmentRestrictionsManager

ShieldInformationBarrierSegmentRestrictionsManager(client)

new ShieldInformationBarrierSegmentRestrictionsManager(client)

Parameters:
Name Type Description
client BoxClient The Box API Client that is responsible for making calls to the API
Source:

Classes

ShieldInformationBarrierSegmentRestrictionsManager

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
Source:
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
Source:
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
Name Type Description
shield_information_barrier_segment_restriction_id string The ID of the shield information barrier segment Restriction.
callback function <optional>
Passed the result if successful, error otherwise
Source:
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
Name Type Description
shield_information_barrier_segment_restriction_id string The ID of the shield information barrier segment Restriction.
callback function <optional>
Passed the result if successful, error otherwise
Source:
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
Name Type Attributes Description
shield_information_barrier_segment_id string The ID of the shield information barrier segment.
marker string <optional>
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
limit number <optional>
The maximum number of items to return per page.
callback function <optional>
Passed the result if successful, error otherwise
Source:
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
Name Type Attributes Description
shield_information_barrier_segment_id string The ID of the shield information barrier segment.
marker string <optional>
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
limit number <optional>
The maximum number of items to return per page.
callback function <optional>
Passed the result if successful, error otherwise
Source:
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
Name Type Description
shield_information_barrier_segment_restriction_id string The ID of the shield information barrier segment Restriction.
callback function <optional>
Passed the result if successful, error otherwise
Source:
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
Name Type Description
shield_information_barrier_segment_restriction_id string The ID of the shield information barrier segment Restriction.
callback function <optional>
Passed the result if successful, error otherwise
Source:
Returns:
A promise resolving to the result or rejecting with an error
Type
Promise.<schemas.ShieldInformationBarrierSegmentRestriction>