ItemResponse class

Extends

Constructors

ItemResponse<T>(T & Resource, CosmosHeaders, number, number, Item, CosmosDiagnostics)

Properties

activityId
etag
item

Reference to the Item the response corresponds to.

requestCharge

Inherited Properties

diagnostics
headers
resource
statusCode
substatus

Constructor Details

ItemResponse<T>(T & Resource, CosmosHeaders, number, number, Item, CosmosDiagnostics)

new ItemResponse(resource: T & Resource, headers: CosmosHeaders, statusCode: number, subsstatusCode: number, item: Item, diagnostics: CosmosDiagnostics)

Parameters

resource

T & Resource

headers
CosmosHeaders
statusCode

number

subsstatusCode

number

item
Item
diagnostics
CosmosDiagnostics

Property Details

activityId

string activityId

Property Value

string

etag

string etag

Property Value

string

item

Reference to the Item the response corresponds to.

item: Item

Property Value

requestCharge

number requestCharge

Property Value

number

Inherited Property Details

diagnostics

diagnostics: CosmosDiagnostics

Property Value

Inherited From ResourceResponse.diagnostics

headers

headers: CosmosHeaders_2

Property Value

CosmosHeaders_2

Inherited From ResourceResponse.headers

resource

resource: undefined | (T & Resource)

Property Value

undefined | (T & Resource)

Inherited From ResourceResponse.resource

statusCode

statusCode: number

Property Value

number

Inherited From ResourceResponse.statusCode

substatus

substatus?: number

Property Value

number

Inherited From ResourceResponse.substatus