Search
Preparing search index...
The search index is not available
@azure/cosmos
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ItemResponse
Class ItemResponse<T>
Type parameters
T
:
ItemDefinition
Hierarchy
ResourceResponse
<
T
&
Resource
>
ItemResponse
Index
Constructors
constructor
Properties
headers
item
resource
status
Code
substatus
Accessors
activity
Id
etag
request
Charge
Constructors
constructor
new
Item
Response
(
resource
:
T
&
Resource
, headers
:
CosmosHeaders
, statusCode
:
number
, subsstatusCode
:
number
, item
:
Item
)
:
ItemResponse
Parameters
resource:
T
&
Resource
headers:
CosmosHeaders
statusCode:
number
subsstatusCode:
number
item:
Item
Returns
ItemResponse
Properties
headers
headers
:
CosmosHeaders
item
item
:
Item
Reference to the
Item
the response corresponds to.
resource
resource
:
T
&
Resource
status
Code
status
Code
:
StatusCode
Optional
substatus
substatus
:
SubStatusCode
Accessors
activity
Id
get
activityId
(
)
:
string
Returns
string
etag
get
etag
(
)
:
string
Returns
string
request
Charge
get
requestCharge
(
)
:
number
Returns
number
Globals
Item
Response
constructor
headers
item
resource
status
Code
substatus
activity
Id
etag
request
Charge
Generated using
TypeDoc
Reference to the Item the response corresponds to.